Can anyone say what is task 5 and 6 in the below image mean
TLE = Time Limit Exceeded
Time Limit Exceeded.
Each Test Case has to run in a given time frame, in this case it is 2 Secs per test case but your solution takes more than that in case 5 and 6.
This could be because of the time complexity of your solution, avoid O(N^2) and O(N^3) solutions as they take much more time to run. try to write a O(N) solution
ohk task is nothing but test case … Thanks