The Classic 75 Stage 55 of 75
Appearance
Palette
Start each problem at
Write shows nothing of the solution until you ask. Kept on this device, not in your account.
StackEasy
Say whether every bracket in s is closed by the right kind, in the right order.
Aim for O(n) time, O(n) spaceInspired by a classic interview problem ↗
The practice panel runs the code in your browser, so it needs JavaScript.