Rotate Array Using Two Pointers Approach