https://leetcode.com/problems/rotate-array/
for _ in 0..<k { let temp = nums.removeLast() nums.insert(temp, at: 0) }