← Back to Old Mission Capital Interview Questions

Question

A locksmith has five labelled keys, exactly two of which open a cabinet. The first technician selects one key uniformly at random and tries it. If it fails, that key is removed from the set. If it succeeds, the key is returned to the set. A second technician then chooses uniformly from whatever keys remain and tries one key; the second technician has not seen the first attempt.

You are told only that the second attempt succeeded. What is the probability that the first attempt failed?

Hint 1

Split histories by whether the first key worked. The second draw is from four keys in the failure branch and five in the success branch.

Use Bayes’ rule with the probability of each first-attempt branch multiplied by its own second-attempt success probability.

Check your answer

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.