This question asked in Microsoft still hangs in my mind and I did not get any answers yet.
You created a set of slides with pages 1,2,3....x and gave for review.
The reviewer re-arranged it as 4,5,1,2,3. You need to find minimum displacement to get back original array.
eg: 4 5 1 2 3
Ans : 2 exp: its either move 1 2 3 to front or 4 5 to back. Minimum us 4,5 which is 2.