I have an issue should I return -1 and 0 In the case list has not been rotated
You have to return 0
I think 0 as there is no rotation,
therefore 0 rotations.
I have an issue should I return -1 and 0 In the case list has not been rotated
You have to return 0
I think 0 as there is no rotation,
therefore 0 rotations.