Solving Random LeetCode Problems Week 3 (Trie / Prefix Tree, BFS, Array Intersection)

Опубликовано: 23 October 2024
на канале: AlgosWithMichael
927
28

Check out my interview prep platform for mastering the coding patterns!
Use the code "ALGOHELP" for a discount on the platform
📢 Interview prep platform: https://algoswithmichael.com

🔗 Social 🔗
🎧 Join the community Discord:   / discord  
💰 Support me on Patreon:   / michaelmuinos  
🔗Follow me on LinkedIn:   / michael-muinos  
📂Follow me on Github: https://github.com/MichaelMuinos

⭐️ Timestamps ⭐️
00:00 - Intro
00:16 - Binary Tree Right Side View (BFS / Level Order Traversal)
00:30 - Binary Tree Right Side View (Intuition)
01:13 - Binary Tree Right Side View (Code)
04:29 - Implement Trie (Prefix Tree)
05:13 - Implement Trie (Creating node class)
07:25 - Implement Trie (Constructor)
08:06 - Implement Trie (Insert method)
10:54 - Implement Trie (Search method)
11:57 - Implement Trie (StartsWith method)
12:28 - Intersection of Two Arrays (Hashset)
13:02 - Intersection of Two Arrays (Example)
14:03 - Intersection of Two Arrays (Code)