Balance a Binary Search Tree | Leetcode

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 มิ.ย. 2023
  • This video explains how to balance a binary search tree. I have explained the about binary search tree properties initially and then explained the most optimal method to solve this problem using binary partition divide and conquer method. Important follow-up interview problems are discussed at the end of the video.
    PDF of this video will be present on our Telegram channel.
    🟢 TELEGRAM channel ( 𝐏𝐃𝐅 𝐨𝐟 𝐯𝐢𝐝𝐞𝐨): t.me/codewithTECHDOSE
    🟣 JOIN our 𝐋𝐈𝐕𝐄 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐭𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐩𝐫𝐨𝐠𝐫𝐚𝐦 through whatsapp query: +91 8918633037
    🟢 Our Services: techdose.co.in/
    🔵 LinkedIn: / surya-pratap-kahar-47b...
    👉🏼INSTAGRAM: / surya.pratap.k
    𝐂𝐎𝐃𝐄 𝐋𝐈𝐍𝐊: gist.github.com/SuryaPratapK/...

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

  • @MP-ny3ep
    @MP-ny3ep 20 วันที่ผ่านมา +1

    Great explanation. Thank you

    • @ventacode
      @ventacode 19 วันที่ผ่านมา

      here for daily solution bud !1

    • @techdose4u
      @techdose4u  12 วันที่ผ่านมา

      welcome :)

  • @user-ok4fx3kl6f
    @user-ok4fx3kl6f 11 หลายเดือนก่อน

    what is the size of array ie even ?

  • @greenhawk271
    @greenhawk271 19 วันที่ผ่านมา +1

    bhai ye to pta hi hota hai
    you need to find the ans without using inorder
    aise to bst ke saare que hote hi hai inorder se
    interview mai aise allowed nai krte

  • @sandevdias5721
    @sandevdias5721 5 หลายเดือนก่อน

    can we get the python code from this

  • @artistic__08
    @artistic__08 8 หลายเดือนก่อน +1

    Why can we not do AVL rotations from bottom up ?

    • @-_____-
      @-_____- 8 หลายเดือนก่อน +2

      I think AVL rotations relies on invariants that are true to Balanced BSTs, but not all BSTs