text: class Solution:
      def rotate(self, nums: List[int], k: int) -> None:
          """
          Do not return anything, modify nums in-place instead.
          """
          n = len(nums)
          k = k%n
          temp = nums[-k:].copy() + nums[:-k].copy()
          for i in range(n):
              nums[i] = temp[i]
          
              
              
              
          
  