All Problems
Problem #39 EASY

The Crowded Elevator

Microsoft Adobe Probability Statistics

Problem Statement

A 10-story building has an elevator. Seven people enter the elevator on the ground floor, each traveling to one of the upper 9 floors chosen independently and uniformly at random. What is the expected number of stops the elevator makes? What if there are n people and f floors?

Answer & Quick Explanation

Logged-in Users Only

You must be logged in to view the answer and check your solution. Signing up is free and takes less than a minute.

Detailed Editorial Solution

Detailed Editorial Solution is Premium

Unlock detailed step-by-step mathematical proofs, logic explanations, and company-specific interview preparation pathways.