Implement Trie (Prefix Tree) | LeetCode 208 | C++, Java, Python | May LeetCoding Day 14

preview_player
Показать описание


**** Best Books For Data Structures & Algorithms for Interviews:**********
*****************************************************************************

MayLeetCoding Challenge | Problem 14 | Implement Trie (Prefix Tree) | 14 May,
Facebook Coding Interview question,
google coding interview question,
leetcode,
Implement Trie (Prefix tree),
Implement Trie (Prefix tree) c++,
Implement Trie (Prefix tree) Java,
Implement Trie (Prefix tree) python,
Implement Trie (Prefix tree) solution,

#Facebook #CodingInterview #LeetCode #MayLeetCodingChallenge #Google #Tries #Amazon #PrefixTree
Рекомендации по теме
Комментарии
Автор

You're videos are extremely useful, thanks for doing this!

saurabhav
Автор

writing in different language makes so helpful

dungeonmaster
Автор

Please can you implement one showing how we can optimize the trie using the hash as you mentioned ..in c++

williamwambua
Автор

Awesome explanation ! Looking forward for more of your videos (like leetcode problems other than challenges as well), because they are extremely helpful !!

vrindakakkar
Автор

Your explanations are the best sir, especially when you write the code.
I actually dont really understand the first half but when you code i understand it well

abhinavmishra
Автор

which tools do you use to write onscreen???

ashishbiswal
Автор

Thanks! Excellent video, as always. One suggestion: during insert(), you can do a search() first, and insert only if not found.

charismatic
Автор

Very clear and detailed explanation. Much appreciated...! Thank you for sharing.

kishordavara
Автор

Very well explained. Thanks for the video.

kushsharma
Автор

it could be great if you showed print_trie function

borat_trades
Автор

please also upload your code on github for a quick read

jaskiratsinghkhehra
Автор

Excellent video. Although, this is a very strange data structure. I don't understand why for each node we should create an array of 26 children and only use one of them. Why not just give each node a value for holding the letter?

peterl.ruszel
Автор

can we use HashMap instead of an array

manishpanwar
visit shbcf.ru