Applicants arrive one at a time in random order; you must accept or reject each on the spot, and you want the single best. The optimal rule is startling in its simplicity: reject the first n/e (~37%), then take the first one better than everyone seen so far. It wins with probability 1/e ≈ 0.368 — the same constant as the cutoff. The mathematics of when to stop looking and commit.
The demo computes the cutoff k = ⌊n/e⌋ and the win probability for n=10: live demo
“More looking is always better.” — look too long and the best likely already passed; the optimum stops at exactly n/e, no more. cited
The same constant sets the cutoff and the odds. optimal-stopping
On i-13, n=10 gives k=⌊10/e⌋=3 and a win probability ≈ 0.399: