Skip to content

Topic 20 of 21

Trie Problems

Implement a trie, count distinct substrings and solve maximum XOR problems with a bitwise trie.

7 trie problems (2 medium, 5 hard) with LeetCode and GeeksforGeeks links.

Your progress

– / 7 solved

Easy
–/0
Medium
–/2
Hard
–/5
  1. Implement Trie | Insert | Search | startsWithHardGFG
  2. Implement Trie - 2 (Prefix Tree)HardLeetCode
  3. Longest String with All PrefixesMediumGFG
  4. Number of Distinct Substrings in a StringHardLeetCodeGFG
  5. Bit Prerequisites for Trie ProblemsHard
  6. Maximum XOR of Two Numbers in an ArrayMediumLeetCodeGFG
  7. Maximum XOR with an Element from ArrayHardLeetCodeGFG