LibraryInterview questions
Five cards are dealt from a well shuffled standard deck of fifty-two.
A candidate counts the hands containing at least one ace like this: pick one of the four aces, then pick any four of the remaining fifty-one cards. That gives .
The rest of the question is for members
Take a hand with two aces and ask how many times the candidate's procedure produces it. For a correct count, the hands with no ace at all are easy to count.
Choosing an object and then choosing the rest counts each outcome once per way it could have been built. If the object is not uniquely identifiable from the outcome, the count is a sum over constructions, not over outcomes.
You have the opening of the question, a hint and the idea. It checks the candidate's count, gives the correct probability, and confirms it by a second route.
The full question and its solution are part of Thuztra Learn membership, which is a paid subscription. Install the app to read them: