61: Rotate array
Given an array of integers and k, return a rotated array to the right on k steps
Example 1
Input: array = [1, 2, 3, 4], k = 1
Output: [4, 1, 2, 3]
Example 2
Input: array = [1, 2, 3, 4], k = 0
Output: [1, 2, 3, 4]
Helpful article