Trie Data Structure

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 397

  • @anmoljawa8367
    @anmoljawa8367 4 года назад +61

    I really really like the way Tushar explains things, not giving out the code, but just the understanding one needs for the problem . Truly appreciate your effort @Tushar

    • @RitikSingh-bt3gp
      @RitikSingh-bt3gp 3 года назад

      Actually the code to the problem is in description box. But yes your point is commendable

  • @GokulRG
    @GokulRG 8 лет назад +160

    Bro.. You're the best tutor i know man.. Thanks a lot...

    • @Anubis10110
      @Anubis10110 6 лет назад +6

      Check Mr.Abdul Bari for Algorithms...He is More than Amazing..This guy is good too

    • @Yagamilight19383
      @Yagamilight19383 5 лет назад +6

      If he is the best tutor you know, you really need to see the world ...

    • @gauravruhela007
      @gauravruhela007 4 года назад +5

      @@Yagamilight19383 stop comparing pagalo....

    • @tryler449
      @tryler449 4 года назад +1

      ^^ This, Tushar is totally a friend.

    • @universeboss4865
      @universeboss4865 4 года назад

      @@Yagamilight19383 200% true..., yeah he is good but not the best...

  • @shyam5631
    @shyam5631 4 года назад

    It's 2020 and still this is best channel to learn data structures and algorithms.

  • @tanujabharti8043
    @tanujabharti8043 4 года назад +1

    Trie was used to one of the nightmares for me...because of your video it becomes so easy...thank you :)

  • @azeeztaiwo2802
    @azeeztaiwo2802 5 лет назад +6

    one of the best tutorials i have seen on tries.

  • @hehhehdummy
    @hehhehdummy 8 лет назад +4

    I think it's wonderful that you took the time to go over the code. I'm much more happy to see that you explained both the recursive and iterative implementations of the functions. Thanks so much!

  • @rajuathokpam
    @rajuathokpam 5 лет назад +3

    this is a great piece. i am revisiting this video today after a year again

  • @lkez2
    @lkez2 8 лет назад +20

    Wow. I just want to say thank you from the bottom of my heart. You are an amazing teacher. And you have no idea how much making these videos means to me. Thank you again

  • @ivandrofly
    @ivandrofly 9 месяцев назад +1

    Thanks :) - I've learn trie before but needed a refresh

  • @umcanes2005
    @umcanes2005 5 лет назад +3

    Best walkthrough of Trie I have ever seen.

  • @iamsurmeli
    @iamsurmeli 7 лет назад

    You are the best data structure & algorithms instructor I have ever seen in my life.

  • @liangbinchen2519
    @liangbinchen2519 4 года назад +1

    Well I haven't went through all the videos about Trie yet but this is by far the best. Great work!

  • @chintalapativenkataramarahul
    @chintalapativenkataramarahul 6 лет назад +17

    I cannot even say how thankful I am to you for making this video. Thank you very much! Great explaination.

  • @rajmmehta495
    @rajmmehta495 4 года назад

    Thank you so much Tushar literally watching your videos has helped me pass engineering and its still helping while working as a professional.

  • @anirudhraovasudevarao3211
    @anirudhraovasudevarao3211 7 лет назад +1

    By far the best explanation for trie data structure. Thanks a ton for this video. What makes this video unique is the usage of sample strings to explain , which cover the corner cases.

  • @cwash08
    @cwash08 8 лет назад

    Top notch. I've heard of trie but have never learned about it before.

  • @travellerpal4911
    @travellerpal4911 4 года назад

    This guy is really amazing at teaching new concepts

  • @KushBaronj
    @KushBaronj 8 лет назад +1

    Simple and to the point explanation . Thankyou so much, your videos are really help full.

  • @alexitosrv
    @alexitosrv 8 лет назад

    Excellent explanation!! When I find algorithm descriptions like this I feel I can reconstruct the code any moment ever. Thank you.

  • @morampudiakhil516
    @morampudiakhil516 4 года назад

    You have just made my day! Always feared of the word Trie, Now I feel very comfortable implementing it. Just Superb Job, Thanks

  • @rohanthakrar7599
    @rohanthakrar7599 Год назад

    Thank you Tushar this is a great, well explained lecture

  • @raviagarwal4287
    @raviagarwal4287 4 года назад

    Sir, your explanation is very clear and easy, your video helps me to understand this topic in a very easy way!!.
    Thank you😊

  • @pixelpaxal
    @pixelpaxal 3 года назад

    This is the best explanation of Trie, you really helped readers establish a proper mental model of this data structure and it’s implementation.

  • @AKASH-sw9bs
    @AKASH-sw9bs 4 года назад

    thanks sir . such a elegant explanation , easy to understand , better then one on gfg.

  • @andrewthmas
    @andrewthmas 3 года назад

    You are a good teacher and a good Developer

  • @displacednaija
    @displacednaija 5 лет назад +2

    Wow, I know more about deep software system analysis in a few minutes of listening to this man than all my time interacting with devs in almost 6 years.

  • @soniamartis9849
    @soniamartis9849 8 лет назад

    excellent video on tries. Never understood tries before watching this video!!

  • @nimbalkarvicky9
    @nimbalkarvicky9 Год назад +1

    Great explanation. You missed to mark node "False" at 6:55, when inserting "d" value.

  • @ayushjindal4981
    @ayushjindal4981 6 лет назад

    Thumbs Up!!! The examples you take to demonstrate the concept are quite good

  • @Shades.of.life.by.Vandana
    @Shades.of.life.by.Vandana 5 лет назад

    explained in very easy way...very good Tushar

  • @Bala-go6cc
    @Bala-go6cc 8 лет назад

    Simple and superb explanation..thanks tushar roy!!

  • @abhishek8263
    @abhishek8263 8 лет назад

    Thanks @tushar. Your explanations are very easy to understand. it really help to learn quickly.

  • @lanpingdeng1094
    @lanpingdeng1094 4 года назад

    Great video and code, now I am clear about the TRIE

  • @rahuldevmishra4558
    @rahuldevmishra4558 7 лет назад +2

    +Tushar Roy - Coding Made Simple - I have a question at 12:55
    Lets say, there is another word "cbc", which means that it will end at the node "c". Now we have two words '"abc" and " cbc". So when we delete the word "abc", we mark the node following "c" to false which would also delete "cbc". So how do we handle this scenario ?

    • @NitishSarin
      @NitishSarin 7 лет назад +2

      "abc" starts with 'a' and "cbc" starts with c, so they will have different starting paths from the base root node. This situation will never occur. both will have an ending 'c' node, but these will be two different and independant nodes.
      Hope you understood! :)

    • @rahuldevmishra4558
      @rahuldevmishra4558 7 лет назад

      + Nitisha Sarin - Thank you for the explanation.

  • @iofirag
    @iofirag 5 лет назад

    This is the best video in youtube for Trie data structure i have found!

  • @jaatharsh
    @jaatharsh 4 года назад

    this is superb, can't thank you enough dude, keep on uploading such quality content.

  • @QuinsonHonQBB123XX
    @QuinsonHonQBB123XX 4 года назад +1

    This video has helped me a lot in understanding Tries. The concepts were well-explained and I was able to come up with my own implementation on C++ fairly easily. Thanks!

  • @maheshvshet
    @maheshvshet 8 лет назад

    Awesomely clear explanation. Thanks for sharing knowledge.

  • @shubhamsinghal6226
    @shubhamsinghal6226 7 лет назад

    Best Video to understand the concept in detail

  • @deepamgupta8011
    @deepamgupta8011 4 года назад

    Great explanation @Tushar Roy

  • @ajr1791ze
    @ajr1791ze 5 лет назад

    best video on trie ever and forever.

  • @arunvyas27
    @arunvyas27 8 лет назад

    Thanks a lot man, I have always stayed away from Trie but now after watching your video it seems so easy. :)

  • @叶子豪-t6g
    @叶子豪-t6g 8 лет назад +12

    I feel the highlighted line @19:31 should be:return current.children.size() == 0 && !current.endOfWord;Imagine this case:Insert("ab");Insert("a");Delete("ab"); Your code will also delete "a"?

    • @RS7-123
      @RS7-123 7 лет назад +1

      叶子豪 i just thought about the same scenario.. thanks to your comment, i was able to validate my understanding as well..

  • @xahraahmadi9207
    @xahraahmadi9207 4 года назад

    its very good that you are at first explain then give a code its very good plz do that with other videos that you will be share

  • @cashlalala
    @cashlalala 6 лет назад

    This is really awesome, long live Tushar!!

  • @gurpreettata
    @gurpreettata 4 года назад

    great way to explain the topics. crystal clear

  • @PraveenGudivaka
    @PraveenGudivaka 8 лет назад

    Nice Explanation,
    I save lot time to me in understanding this data structer.

  • @DenisG631
    @DenisG631 8 лет назад +2

    Excellent! It doesn't get any better. Thank you for your explanation!

  • @MichaelShingo
    @MichaelShingo Год назад +1

    great intro to tries thank you, now to try this leetcode problem in python...

  • @nouraa1258
    @nouraa1258 6 лет назад

    Thank you so much! This is the best tutorial on Tries. I really appreciate your efforts.

  • @kuanlin4171
    @kuanlin4171 8 лет назад

    Very nice explanation! It really helps me understand the trie data structure!

  • @caimgeo5009
    @caimgeo5009 6 лет назад

    Wonderful explanation and simple coding..

  • @sidhantakumarpattnaik2962
    @sidhantakumarpattnaik2962 8 лет назад +1

    waited for this video . Thanks so much ...

  • @sunpacksun2954
    @sunpacksun2954 4 года назад

    Hello Tushar, I listen to your videos because I like your introduction "Hello Friends" Thanks for the videos

  • @metapoynter
    @metapoynter 8 лет назад

    Thank you very much @Tushar Roy for this tutorial. You really did a good job, explaining it clearly. I was able to do the coding challenge on HackerRank that is of difficulty level Hard very easily.

  • @prajaktabelgundi6461
    @prajaktabelgundi6461 8 лет назад

    Excellent video for understanding Trie implementation ! Thanks a lot !

  • @PizzaAndEminence
    @PizzaAndEminence 4 года назад

    Amazing explanation, thank you so much

  • @starc701
    @starc701 4 года назад

    Ek like to bnta hai tushar bhai k liye .sa b like kro bhai ka video

  • @kishorguptha
    @kishorguptha 6 лет назад

    nice video. the videos which you present are really good..man..

  • @kraj2217
    @kraj2217 4 года назад

    Awesome explanation. Thanks a lot!

  • @RagazzoKZ
    @RagazzoKZ 5 лет назад +1

    As always very helpful

  • @yossi_cohen
    @yossi_cohen 8 лет назад

    You are a talent!!! good examples and excellent explanations

  • @pilidvini
    @pilidvini 8 лет назад

    Very clear and simple explanation :) Thanks

  • @gauravruhela007
    @gauravruhela007 4 года назад

    Tushar bhai tussi great ho!

  • @shubhamkhatri445
    @shubhamkhatri445 8 лет назад

    My trie is super clear after watching your video....thank you for creating this video:))....it would be great if you teach ternary search tree also...

  • @nagamass
    @nagamass 5 лет назад

    Excellent Explanation. at 16:37 in video, in Insert method, node = current.children.get(ch) NOT current=node; this will fail at every first character.

  • @sreenathc
    @sreenathc 3 года назад

    Excellent explanation. I think this would be so easy to implement in a functional programming language like Haskell...will have to try thst

  • @lorinbehringer3147
    @lorinbehringer3147 8 лет назад +1

    excellent explanation! your videos are really helpful

  • @Bakepichai
    @Bakepichai 6 лет назад

    Beautiful explanation Tushar

  • @preeteesh5881
    @preeteesh5881 6 лет назад +1

    Very helpful. Thanks a lot.

  • @xuwang3253
    @xuwang3253 5 лет назад

    I like your videos: sufficient exemplar demonstrations and clear codes!

  • @GurpreetSingh-th1di
    @GurpreetSingh-th1di 5 лет назад

    best explanation on trie

  • @codetolive27
    @codetolive27 6 лет назад

    Awesome video!! Keep up the good work

  • @calliart6586
    @calliart6586 5 лет назад

    Excellent.. Exactly like my notes

  • @shwetasingh7906
    @shwetasingh7906 2 года назад

    Great video ❤️

  • @venkateswarank1145
    @venkateswarank1145 5 лет назад

    There is a small bug in delete method.
    It should be "return !root.isEndOfWord && root.children.size() == 0;".
    Else that would delete all prefixed characters as well
    Thanks so much Tushor for everything that you do for us

  • @PaddyVicky
    @PaddyVicky 8 лет назад

    A good simple to the point tutorial. Thx

  • @vaibskinikar
    @vaibskinikar 8 лет назад +2

    Superb explanation!! Was waiting for this video. Thanks so much for taking out time!

  • @ababbaba7600
    @ababbaba7600 7 лет назад

    Thanks Tushar, very good explanation.....video was very helpful!!

  • @ChristianESL
    @ChristianESL 6 лет назад

    I love your videos. Thanks. You are the best.

  • @tahanimachowdhury
    @tahanimachowdhury 8 лет назад

    Your explanations are very clear. Thank You for your efforts. Please make a video on Suffix Array.

  • @amlanch
    @amlanch 4 года назад

    Excellent explanation. Wish you had a iterative delete as well

  • @tishachoudhuri7082
    @tishachoudhuri7082 8 лет назад

    Great explanation Tushar dada! you make things simple for new programmers :)

  • @vjnvisakh
    @vjnvisakh 8 лет назад

    awesome man ... hats off to you

  • @Joyddep
    @Joyddep 5 лет назад

    Wow. Really good explanation!

  • @prathashukla6596
    @prathashukla6596 4 года назад

    perfectly explained good job as always!

  • @yodamite1348
    @yodamite1348 4 года назад

    Make inner class TrieNode Static so that it does not require an instance of the outer class to be used. Amazing video!

  • @mohammedsadiq8178
    @mohammedsadiq8178 5 лет назад

    That code was really beautiful man! Awesome!

  • @pushkarnarayan597
    @pushkarnarayan597 8 лет назад

    Great tushar .. Keep it up

  • @adebs
    @adebs 5 лет назад

    Why do we set current = node @16:37?

  • @atineshsingh3382
    @atineshsingh3382 8 лет назад

    Very clear explanation Bro.

  • @sunilnarwaria7452
    @sunilnarwaria7452 5 лет назад

    great videos.... it helped me alot....thnk you

  • @tumul1474
    @tumul1474 4 года назад +1

    nice explaination ! thanks

  • @someshwarroychowdhury8623
    @someshwarroychowdhury8623 4 года назад

    Such a good explanation!

  • @rengasamyerrappan1122
    @rengasamyerrappan1122 7 лет назад

    Nice explanation, thanks for the video.

  • @Chintanp7
    @Chintanp7 7 лет назад

    Nice and clear explanation. Thanks :)

  • @Klaster961
    @Klaster961 7 лет назад

    Amazing explanation as always

  • @ramans11
    @ramans11 8 лет назад

    Nice man.. short and sweet.

  • @gloverelaxis
    @gloverelaxis 5 лет назад +4

    Thanks for your useful labour here Tushar! I'd recommend getting a "lavalier" or just "lav" microphone; they're the ones that you clip onto your shirt's lapel. It would help the audio quality a _lot_, and make following the explanations a lot easier for international people who only know English as a second language. Lavalier mics are also relatively cheap compared to other kinds of microphone.

  • @anirudhatalmale5575
    @anirudhatalmale5575 5 лет назад

    Mind Blowing . The simplest explanation .