0

Hello Sir,

I have problem regarding time complexity of any problem, whatever program I make, the time complexity exceeds.Is there any way to reduce the time complexity of the program.

If I use two nested for loops, order goes to O(n^2),is there any way to convert this order in O(n) or less than O(n^2).

please help me out. :(