General doubt yg

why the rotation is 45123 instead it should be 51234 right

Hello @viknesh1375 his friend has rotated the array from any random point and you have to take input fior that rotated array.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.