Jane Street interview question

Classic drunk passenger probability problem