Using brute force I m not able to pass 2 testcases which are getting passed using efficient approach. May i know the testcases to analyze better?
Using brute force I m not able to pass 2 testcases which are getting passed using efficient approach. May i know the testcases?
No It was not TLE. It was the wrong output only