input: from typing import List
  
  
  def shuffle_list(lst: List) -> List:
      """Shuffle a given list in-place using the Fisher-Yates algorithm.
      >>> shuffle_list([1, 2, 3, 4])
      [3, 1, 4, 2]
      >>> shuffle_list(['apple', 'banana', 'cherry'])
      ['banana', 'cherry', 'apple']
      """
      import random
      random.shuffle(lst)
      return lst
output:     for i in range(len(lst) - 1, 0, -1):
          j = random.randint(0, i)
          lst[i], lst[j] = lst[j], lst[i]