Jane Street Interview Question

Classic drunk passenger probability problem