i've been going through a lot of youtube videos to understand trie , suddently i stumbled up on this video , and i understanded it well , thank you brother ,love you from india
@meaghanmooney49005 ай бұрын
thank you, this video is very much appreciated!!!
@Ldoog Жыл бұрын
What up cousin
@roopamrajvanshi47244 жыл бұрын
nicely done
@DiasDenny4 жыл бұрын
Can you tell me which code is more faster out of these two
@hamzaahmad12242 жыл бұрын
this was pretty interesting!
@lavinakhushlani96684 жыл бұрын
Great Explanation ! kindly help us with deletion too, covering all the cases.
@mayleanpatrickamanyire71312 жыл бұрын
Great work thanks for the efforts
@yogeshmathur38904 жыл бұрын
Thank you for creating this video.........
@stormarrow21202 жыл бұрын
Was very helpful, thank you for putting in the time to make such an excellent video.
@tonyo36202 жыл бұрын
When do you use trie and when do use trieNode
@fuzzyegg46383 жыл бұрын
Really helpful video. Can you explain why you used self.root = {"*":"*"}? I wasn't able to find much information on using an asterisk inside a dictionary. Thank you!
@workoutmotivation5004 жыл бұрын
Very good explanation and very educational video... Keep up the great work! What would be the most efficient way to count total number of words in Trie? I managed to do that, but I called does_word_exist at the beginning of add_word and I was incrementing the counter if it is the first appearance of the word, but that method slows down algorithm a lot... Thanks in advance!
@imtihanrahman71703 жыл бұрын
thanks a lot for this video
@alikafaei1023 жыл бұрын
Thank you so much
@CompilationError3 жыл бұрын
thanks for the vid man. you are a legend . view and sub doesn't always represent a good video .
@sathyanarayanankulasekaran59283 жыл бұрын
great..one doubt is, since we have only child node, how to handles multiple childs
@jamalabdisalam8578 Жыл бұрын
you would use an array/hashmap/dictionary to collect the children, then if you want to access any given child you would use the child itself as the index for the array. e.g. for child 'a' you could do something like array[asciivalue('a')] which would then access the a node. so it's effectively self indexing as long as the array can contain all expected values from a to z
@kadamraj98703 жыл бұрын
What is the difference between 1st implementation method and the 2nd one ? Can anyone help me with it ?
@dooollydd21473 жыл бұрын
11:00 Why does it not work when add_word is being used as an independent function?
@DiasDenny4 жыл бұрын
I have a doubt -Won't "wait*" return True according to your first code
@DiasDenny4 жыл бұрын
Probably if you project your code better in screen, you could had got more views .Anyway nice explanation