Tuples can store only a fixed number of elements and types at each index, while arrays can store any combination of types and the order is not important.
Arrays in TypeScript are very similar to JavaScript arrays, but TypeScript provides you with the power of static typing, type inference, and type annotations.
The problem is about rotating an array to the right by a given number of steps, modify the given array in-place (without using an extra array) and perform the rotation.