input: 
  from typing import List
  import random
  
  def randomized_list(num_list: List[int]) -> List[int]:
      """Given a list of integers, randomize the list using the optimized Fisher-Yates algorithm.
      >>> randomized_list([1, 2, 3, 4, 5])
      [3, 2, 5, 1, 4]
      >>> randomized_list([10, 20, 30])
      [20, 10, 30]
      """
      for i in range(len(num_list)-1, 0, -1):
          j = random.randint(0, i)
          num_list[i], num_list[j] = num_list[j], num_list[i]
      return num_list
  
output:     for i in range(len(num_list)-1, 0, -1):
          j = random.randint(0, i)
          num_list[i], num_list[j] = num_list[j], num_list[i]
      return num_list