Skip to content
LEETFLIX

type

Trie LeetCode problems — visual solutions

Every LeetCode problem tagged Trie — the full catalogue, plus animated visual solutions in Python and Go when a deep-dive exists.

61 problems · 46 animated · 15 locked

Full Trie index

  1. 14Longest Common PrefixWatch
  2. 139Word BreakWatch
  3. 140Word Break IIWatch
  4. 208Implement Trie (Prefix Tree)Watch
  5. 211Design Add and Search Words Data StructureWatch
  6. 212Word Search IIWatch
  7. 336Palindrome PairsWatch
  8. 386Lexicographical NumbersWatch
  9. 421Maximum XOR of Two Numbers in an ArrayWatch
  10. 425Word SquaresLocked
  11. 440K-th Smallest in Lexicographical OrderWatch
  12. 472Concatenated WordsWatch
  13. 527Word AbbreviationLocked
  14. 588Design In-Memory File SystemLocked
  15. 616Add Bold Tag in StringLocked
  16. 642Design Search Autocomplete SystemLocked
  17. 648Replace WordsWatch
  18. 676Implement Magic DictionaryWatch
  19. 677Map Sum PairsWatch
  20. 692Top K Frequent WordsWatch
  21. 720Longest Word in DictionaryWatch
  22. 745Prefix and Suffix SearchWatch
  23. 758Bold Words in StringLocked
  24. 792Number of Matching SubsequencesWatch
  25. 820Short Encoding of WordsWatch
  26. 1023Camelcase MatchingWatch
  27. 1032Stream of CharactersWatch
  28. 1065Index Pairs of a StringLocked
  29. 1166Design File SystemLocked
  30. 1178Number of Valid Words for Each PuzzleWatch
  31. 1233Remove Sub-Folders from the FilesystemWatch
  32. 1268Search Suggestions SystemWatch
  33. 1316Distinct Echo SubstringsWatch
  34. 1698Number of Distinct Substrings in a StringLocked
  35. 1707Maximum XOR With an Element From ArrayWatch
  36. 1803Count Pairs With XOR in a RangeWatch
  37. 1804Implement Trie II (Prefix Tree)Locked
  38. 1858Longest Word With All PrefixesLocked
  39. 1938Maximum Genetic Difference QueryWatch
  40. 1948Delete Duplicate Folders in SystemWatch
  41. 2227Encrypt and Decrypt StringsWatch
  42. 2261K Divisible Elements SubarraysWatch
  43. 2416Sum of Prefix Scores of StringsWatch
  44. 2452Words Within Two Edits of DictionaryWatch
  45. 2479Maximum XOR of Two Non-Overlapping SubtreesLocked
  46. 2707Extra Characters in a StringWatch
  47. 2932Maximum Strong Pair XOR IWatch
  48. 2935Maximum Strong Pair XOR IIWatch
  49. 2977Minimum Cost to Convert String IIWatch
  50. 3042Count Prefix and Suffix Pairs IWatch
  51. 3043Find the Length of the Longest Common PrefixWatch
  52. 3045Count Prefix and Suffix Pairs IIWatch
  53. 3076Shortest Uncommon Substring in an ArrayWatch
  54. 3093Longest Common Suffix QueriesWatch
  55. 3291Minimum Number of Valid Strings to Form Target IWatch
  56. 3485Longest Common Prefix of K Strings After RemovalWatch
  57. 3491Phone Number PrefixLocked
  58. 3597Partition String Watch
  59. 3632Subarrays with XOR at Least KLocked
  60. 3758Convert Number Words to DigitsLocked
  61. 3845Maximum Subarray XOR with Bounded RangeWatch