LibraryInterview questions

Secretary Problem With Four Candidates

Quant interview question · medium · members

The question

Four candidates are interviewed one at a time, in a uniformly random order. After each interview you can compare that candidate against everyone you have already seen and rank them, but you learn nothing about those still to come. You must hire or reject on the spot, and a rejection is final. If you reject the first three, you must hire the fourth.

You win only by hiring the ...

The rest of the question is for members

Hint

Ask whether there is ever a reason to hire someone already outdone by an earlier candidate. For each rule that survives, ask where the best candidate overall has to sit for it to succeed.

The idea behind it

The only information a candidate carries is whether they are the best so far and where they sit in the queue. That collapses the strategy space to a handful of cutoff rules, which can then simply be compared.

The rest of the question and the solution are for members

You have the opening of the question, a hint and the idea. It compares every sensible hiring rule, finds the one most likely to pick the top candidate, and gives that chance.

The full question and its solution are part of Thuztra Learn membership, which is a paid subscription. Install the app to read them:

Download on the Microsoft Store Download for Android

On Android, the app is a direct download, not a Google Play listing. Which devices, and what each one needs.

Further reading

Related problems

Topics

Also in the library