← Back to topics
Topic

Z-Birthday

D
Daniel93
How to solve this task under the given time?
t
thocevar
With just one iteration over the input string.

hint: use stack to handle nested brackets