Pls tell me how to avoid TLE in the code at link https://ide.codingblocks.com/s/238638. the constraints are t=10 and n=100000----time complexity is O(N log N)----I do not understand why I am getting TLE—
Dividing Array - Greedy Algorithms
@ankur8632 i think it is some backend error submit it on this link ur code is correct
https://hack.codingblocks.com/app/practice/1/157/problem
i hope your doubt is cleared if yes dont forget to mark it as resolved 