TweakCode
Arrays and Stacks lessons
Loading editor…
Test casesRun to compare output
Input
people = [1,2], limit = 3
Output
—
Expected
1

More practice

Same technique, different problems. Try them without the walkthrough.