rotateLeft([1, 2, 3, 4, 5], 2) // β [3, 4, 5, 1, 2]rotateLeft shifts elements left by n positions, wrapping the removed elements to the end.
Challenge: Implement rotateLeft<T>(arr: T[], n: number): T[] shifting elements left by n positions (wraps around).
rotateLeft([1,2,3,4,5], 2) // β [3,4,5,1,2]