Quiz: Wildcard Search

Test your understanding

Check Your Understanding

When searching for ".ad" in a trie containing "bad", "dad", "mad", how do you handle the "." character?

  1. A.Skip the "." and continue with the next character
  2. B.Try all children of the current node recursively
  3. C.Replace "." with the most common letter
  4. D.Return false immediately since "." is not a letter
Start the roadmap to answer the quizzes and solve the challenges