D19
Tries
10 stations · 7.1hPrefix trees for word search and XOR problems. 10 interview problems explained by codestorywithMIK (7.1h of video), grouped into 4 patterns such as Trie Implementation, Prefix Search & Autocomplete, Word Search with Trie.
Start this line →- Trie Implementation3
- Prefix Search & Autocomplete6
- Word Search with Trie1
- Bitwise Trie (Max XOR)1
Trie Implementation
0 of 3 passed- Implement Trie (Prefix Tree)LC 208 · 31:00MediumGoogle · Amazon · +19 more companiesLeetCode ↗ (opens in a new tab)
- Delete Duplicate Folders in SystemLC 1948 · 1:18:04HardGoogle · Amazon · +4 more companiesLeetCode ↗ (opens in a new tab)
Prefix Search & Autocomplete
0 of 6 passed- Implement Trie (Prefix Tree)LC 208 · 31:00MediumGoogle · Amazon · +19 more companiesLeetCode ↗ (opens in a new tab)
- Replace WordsLC 648 · 22:49MediumGoogle · Microsoft · +2 more companiesLeetCode ↗ (opens in a new tab)
- Find the Length of the Longest Common PrefixLC 3043 · 37:07MediumGoogle · Amazon · +15 more companiesLeetCode ↗ (opens in a new tab)
- Count Prefix and Suffix Pairs ILC 3042 · 42:53EasyGoogle · Amazon · +4 more companiesLeetCode ↗ (opens in a new tab)
- Counting Words With a Given PrefixLC 2185 · 31:25EasyGoogle · Meta · +2 more companiesLeetCode ↗ (opens in a new tab)
Word Search with Trie
0 of 1 passedBitwise Trie (Max XOR)
0 of 1 passed- Maximum XOR of Two Numbers in an ArrayLC 421 · 56:12MediumGoogle · Amazon · +3 more companiesLeetCode ↗ (opens in a new tab)
All 10 stations in order
- 1.Word Search II (LeetCode 212)
- 2.Implement Trie (Prefix Tree) (LeetCode 208)
- 3.Maximum XOR of Two Numbers in an Array (LeetCode 421)
- 4.Longest Common Suffix Queries (LeetCode 3093)
- 5.Replace Words (LeetCode 648)
- 6.Find the Length of the Longest Common Prefix (LeetCode 3043)
- 7.Sum of Prefix Scores of Strings (LeetCode 2416)
- 8.Count Prefix and Suffix Pairs I (LeetCode 3042)
- 9.Counting Words With a Given Prefix (LeetCode 2185)
- 10.Delete Duplicate Folders in System (LeetCode 1948)