Fidelity Investments interview question

Rotate a matrix in-place, detect a loop in list