ebay 西雅图店面挂

Given a dictionary of words find all words that match a pattern.
pattern types

  • exact match: input = get, output = get
  • any char match: input = g?t, output = get, got, gut
  • any no. of char match: input = g*t, output = get, got, gut, goat, guilt

为什么挂?