Bracket Matching*

Question

Solution

Idea

Wah, this problem is sooo fimilar, it is from NUS!!! And it also has appeared in NUS CS1010 AY18/19 PE2, serving as the hardest question.

The idea has been published on my CS1010 Notes.

Code

Last updated