Available question text
Given a bench represented by a row of seats (some usable, some blocked), determine the maximum number of students that can be placed on that single bench without violating local constraints (for example, no two adjacent students). The core challenge is finding the largest valid placement under simple neighbor restrictions—typically solved with a greedy scan or simple DP.
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 3450. Maximum Students on a Single Bench
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source