News
Solve using stack or in-place swap. Do not simply scan, split and print in reverse order. Input Format The first line of input contains T - the number of test cases. It's followed by T lines, each ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results