Not sure what to study next?

Get a personalised quant interview roadmap built around your upcoming interviews, strengths and weaknesses.

Takes a few minutes. Start with your target role and firms.

Interview Question

Expected Balls

Work through the prompt below, check your answer, and reveal the full solution when you're ready.

Interview Question
Difficulty: Hard
← Back
Question

Expected Balls

You have two bags, each containing an arbitrary number of black and white balls. At each step, you randomly select a white ball from either bag (if available) and remove it. This process continues until all white balls have been removed from both bags. What is the expected number of black balls remaining at the end of this process? How would your answer change based on the initial composition of the bags?

Join our Newsletter and Receive the Latest Updates!

Main Links

Trade Courses Assessments Interview Prep Contact Us

Social Media

Facebook Instagram YouTube

Legal

Terms and Conditions Privacy Policy Privacy settings

Talent Acquisition

Looking to hire exceptional quant talent?
See how we can help.

© 2026 EverythingQuant. All Rights Reserved.