Binary Search Trees (BST) Explained and Implemented in Java with Examples | Geekific

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

ความคิดเห็น • 33

  • @FluteVJ
    @FluteVJ ปีที่แล้ว +3

    It took me some time to understand the deletion of the node that has two children. But finally understood after watching again and again. Thank you very much. You are doing a great job and I'm a big fan of your channel.

  • @alooooshm
    @alooooshm 2 ปีที่แล้ว +7

    This is super great! It's truly fabolous how you compress all the heavy concepts in 20 minute video and still be as detailed and practical as a 3 hour university lecture. Pretty much respect keep it up🙏

    • @geekific
      @geekific  2 ปีที่แล้ว +2

      Thanks a lot :) Really glad I could help!!

  • @o.s.1406
    @o.s.1406 ปีที่แล้ว

    You are more helpful than my college professors. I would rather pay my tuition to you!

  • @ioanacrisan3684
    @ioanacrisan3684 9 หลายเดือนก่อน

    Thank you for your work! Great graphics and nice explanations.

  • @darkstudio3170
    @darkstudio3170 2 ปีที่แล้ว

    Saying again , its a underrated channel. while the videos like "A day in mang\fang" gets millions views , this gold content is not nowhere touching 10k views. Says a lot about people behaviour in general.

  • @vladimir3450
    @vladimir3450 2 ปีที่แล้ว +1

    Because of your way how you explain, you helped me to understand it very fast. Thank you

    • @geekific
      @geekific  2 ปีที่แล้ว +1

      You are welcome! Glad it helped :)

  • @cetintekin9520
    @cetintekin9520 2 ปีที่แล้ว +1

    Hey, Been watching your videos to understand basic data structures and algorithms. Just wanted to thank you for your expainations and using generics. You are a great help.

    • @geekific
      @geekific  2 ปีที่แล้ว

      Glad to help! That's what the channel is here for :)

  • @joeyyin1518
    @joeyyin1518 2 ปีที่แล้ว +1

    The implementation of deep recursion is awesome !!!

    • @geekific
      @geekific  2 ปีที่แล้ว

      Glad you liked it :)

  • @SaintC0bain
    @SaintC0bain 2 ปีที่แล้ว +1

    This is a great video! Thank you!

    • @geekific
      @geekific  2 ปีที่แล้ว

      Glad you liked it!

  • @blake-hz5vx
    @blake-hz5vx ปีที่แล้ว

    Great video very helpful

  • @Mamelcrispen
    @Mamelcrispen 2 ปีที่แล้ว

    this video is sick you helped me so much thanks

    • @geekific
      @geekific  2 ปีที่แล้ว

      So glad it was helpful! :)

  • @prashantn03
    @prashantn03 ปีที่แล้ว

    This is really useful, just have one question, the code you provided for inserting node will work if there is a duplicate value?

    • @geekific
      @geekific  ปีที่แล้ว

      Glad it was! Nope since we have comparison for greater and smaller only :) Cheers!

  • @chim8938
    @chim8938 11 หลายเดือนก่อน

    What about removing with a parent pointer?

  • @ahmad-ali14
    @ahmad-ali14 ปีที่แล้ว

    super helpful

  • @jiu89b68hso8
    @jiu89b68hso8 ปีที่แล้ว

    Thank you!

  • @sadiulhakim7814
    @sadiulhakim7814 ปีที่แล้ว

    Nice Video

  • @sivamediboina9711
    @sivamediboina9711 2 ปีที่แล้ว

    Great for reducing the code by adding more methods. height (node) method has a condition if the node is null then it will return 0. My suggestion is return -1 instead of returning 0 then AVL balancing works perfectly. Any one Please let me if anything is wrong from my side.

    • @geekific
      @geekific  2 ปีที่แล้ว

      Hello! Am not sure I got you, but feel free to check our AVL video here: th-cam.com/video/Jj9Mit24CWk/w-d-xo.html :)

  • @abanoubmaged3647
    @abanoubmaged3647 2 ปีที่แล้ว

    In the delete implementation .. one child case .. how is the child is automatically assigned as a parent (in the return statement)?

    • @geekific
      @geekific  2 ปีที่แล้ว

      Yes! It works similarly to what was explained between 15:00 and 17:20

  • @cropduster34
    @cropduster34 ปีที่แล้ว

    Mr. Takei?

  • @kawaeeee
    @kawaeeee 2 ปีที่แล้ว

    where is main testing code...

    • @geekific
      @geekific  2 ปีที่แล้ว +1

      Hey, I figured it was better to centralize everything in the same video :) Check it here: th-cam.com/video/hmSFuM2Tglw/w-d-xo.html. Cheers!

  • @maxfan6035
    @maxfan6035 2 ปีที่แล้ว

    I could not understand the part of deleting a node having two children nodes. Pronunciation of the words threw me off

    • @geekific
      @geekific  2 ปีที่แล้ว

      Sorry about that! Feel free to ask any question and I'll try my best to clarify :)