Solve drunk-passenger probability and simulate outcome | Upstart Interview Question