Matching Brackets
You will be given a sequence of opening and closing brackets of different types ((, ), [, ], {, and ...
Find the Good Sequence
Let's say two numbers are called "good" if their difference is at least 2. Similarly, a sequence is ...
Not As Hard As It Seems
Sakib and Shamim are good friends. As Sakib is a little naughty, every night before exam he disturbs...
Toph uses cookies. By continuing you agree to our Cookie Policy.