I think the time requirement stated for solution 4 in problem 189. Rotate Array is too pessimistic. It says:
"Time complexity: O(n). n elements are reversed a total of three times."
However, even though there are three calls to reverse, the elements moved by the second and third call do not overlap. So should it not rather be:
"Time complexity: O(n). n elements are reversed a total of two times."?
This is surely lost in O notation, but in real life a factor of 3x vs 2x is quite something.