I was taking a test, the question asked was to rotate an array by some value provided by user. The user input consisted of number of test cases and in second line length of array and rotate point.
1 2 3 4 5
4 5 1 2 3
I have written the program and got the correct answer also but then again I am getting TLE when I submitted the code. Please help me understand what is this TLE and how to get rid of it?