CLBRKT EDITORIAL

Can anyone help me out with any test case which is not solved by this solution.
https://www.codechef.com/viewsolution/35722190
Also, it is giving TLE.
thanks.

Complexity looks Q*N. Expected is N+Q.

1 Like