Tries

Store words letter by letter in a prefix tree to answer prefix and dictionary queries fast.

  1. 01

    Build a Prefix Tree

    • easy
    • Pro
  2. 02

    Autocomplete Suggestions

    • medium
    • Pro
  3. 03

    Search with Wildcards

    • medium
    • Pro
  4. 04

    Replace Words with Roots

    • medium
    • Pro
  5. 05

    Find All Words in a Grid

    • hard
    • Pro
  6. 06

    Maximum XOR of Two Numbers

    • hard
    • Pro