Available question text
Given n passengers where the first picks a random seat and each subsequent passenger takes their own seat if available or otherwise chooses uniformly among remaining seats, compute the probability the nth passenger ends up in their assigned seat — a probability that follows a simple recurrence and equals 1 for n=1 and 1/2 for all n ≥ 2.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1227. Airplane Seat Assignment Probability
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source