input: from typing import List
  
  
  def longest_common_prefix(strings: List[str]) -> str:
      """ Finds the longest common prefix among a list of strings.
      Example:
      >>> longest_common_prefix(["flower", "flow", "flight"])
      'fl'
      >>> longest_common_prefix(["dog", "racecar", "car"])
      ''
      """
output:     if not strings:
          return ""
  
      min_length = min(len(s) for s in strings)
      result = ""
  
      for i in range(min_length):
          current_char = strings[0][i]
          if all(s[i] == current_char for s in strings):
              result += current_char
          else:
              break
  
      return result