Qm
BrainteasersJane StreetCitadel

Hiring the best candidate when you cannot go back

You must hire exactly one person from 100 candidates. They arrive in random order and you interview them one at a time. After each interview you can rank that candidate against everyone seen so far, but you know nothing about the ones still to come. You must decide immediately: hire this person (and stop) or reject them (forever).

You only care about hiring the single best candidate; second best is worthless to you.

What strategy maximises the probability of hiring the best candidate, and what is that probability?

Show a hint

Consider strategies of the form "reject the first k candidates no matter what, then hire the first candidate who is better than everyone seen so far". Find the probability of success as a function of k.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Pick the highest card, the secretary problemBest-of-five, the secretary cutoffThe 37% rule for apartment huntingHow many random numbers until the total passes one?Stop before a red card
All questions →