Available question text
Compute the probability that soup A is emptied before B (counting ties as half) under a random process of four equal-probability pours that reduce A and B by {100,0}, {75,25}, {50,50}, {25,75} mL until one or both hit zero. Solve it as a recursive/DP probability on the remaining volumes (commonly discretized in 25 mL units) with memoization and base cases for A<=0 or B<=0 (with an optimization that for large n the answer approaches 1).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 808. Soup Servings
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source