Available question text
Given a string of events where 'E' means a person enters and 'L' means a person leaves (starting from empty), compute the peak number of simultaneous people by simulating the events to return the minimum chairs required. This is a simple linear scan tracking current occupancy and its maximum.
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 3168. Minimum Number of Chairs in a Waiting Room
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source