input: from typing import List
  
  def list_directory_contents(directory: str) -> List[str]:
      """List the contents of the given directory.
      >>> list_directory_contents('/home/user')
      ['file1.txt', 'file2.txt', 'directory']
      >>> list_directory_contents('/home/user/directory')
      ['subfile1.txt', 'subfile2.txt']
      """
      import os
      return os.listdir(directory)
output:     import os
      return os.listdir(directory)