1 test case not passing Not able to find error
@nischay1111 n is 10^5 , and your solution is n^2 so it will give tle, think of a solution of O(n)