Heap tree | Min & Max heap | Data Structures | Lec-45 | Bhanu Priya

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • Heap tree insertion, min heap & Maximum heap with example

КОМЕНТАРІ • 146

  • @nrupatunga5951
    @nrupatunga5951 4 роки тому +13

    This video made me to understand creating heap tree easily. Thanks a lot madam

  • @trueindian03
    @trueindian03 4 роки тому +17

    Thank you mam for solving my doubts.
    Tomorrow I have data structures exam now got clarity in the concept of heaps.

  • @srinivasy7499
    @srinivasy7499 5 років тому +24

    A full binary tree (sometimes proper binary tree or 2-tree) is a tree in which every node other than the leaves has two children.
    A complete binary tree is a binary tree in which every level, except possibly the last, is completely filled, and all nodes are as far left as possible.

    • @bronsonschnitzel7493
      @bronsonschnitzel7493 4 роки тому +3

      she didnt even try to explain what a complete binary tree is lol

  • @wilsonvidyutdoloy
    @wilsonvidyutdoloy 3 роки тому +9

    When u added 37 on the left on 40. It didn't remain complete binary tree. Complete binary tree has either 0 child or exactly 2 children. And 40 has only 1 child now i.e 37

  • @rajeshbuddiga8672
    @rajeshbuddiga8672 3 роки тому +4

    Simply awesome 👌 with clear cut explanation mam😊Best way of understanding 🤗

  • @saddaramsubbareddy2949
    @saddaramsubbareddy2949 4 роки тому +2

    This is the best channel and also your the best faculty ,,,,,thank u soooo much mam>

  • @gappergob6169
    @gappergob6169 4 роки тому +4

    Just found your channel. Thanks for your works ma'am

  • @Foodshortswithsk
    @Foodshortswithsk 4 роки тому +14

    If the value of left child is more than the parent node,how could it be balanced binary tree?

    • @abhishekk.3977
      @abhishekk.3977 4 роки тому +8

      There is a difference between binary tree and binary search tree. (Its balanced property depends on level order.)

  • @MohanKumar-hu7qm
    @MohanKumar-hu7qm 4 роки тому +1

    The explanation is very easy for understand the concept....tq mam

  • @oybekabdulazizov419
    @oybekabdulazizov419 4 роки тому +6

    perfect explanation. thank you very much. keep up the good work!

  • @purplegalaxy5265
    @purplegalaxy5265 5 років тому +5

    Simple and easy to under explanation! Thank you!

  • @raghadsalem1473
    @raghadsalem1473 4 роки тому +5

    I LOVE YOU
    you saved my life at 2:26 AM

  • @muffymypup1871
    @muffymypup1871 5 років тому +1

    I think i ll do myself. Bcuz its not like wherever u can insert the element. If the no . Is greater than root node only then it goes to right side not as if b.t. is filled at lefr

  • @vigneshjawahar4822
    @vigneshjawahar4822 5 років тому +14

    U r helping me in all situations mam. Thank you so much. Tomorrow is my data structure exam. Tq so much

  • @williamdevanand2594
    @williamdevanand2594 5 років тому +2

    You explained clearly Nd completely understandable

  • @NaveedKhanYousafzai47
    @NaveedKhanYousafzai47 3 роки тому +1

    Thank You so much Madam! its help me alot

  • @saddaramsubbareddy2949
    @saddaramsubbareddy2949 4 роки тому +4

    Thanks sooooo much mam! your explanation is osm ........dai;y am following your channel mam,also please do videos in computer science engineering subject mam,it helps to the people

  • @rashikasharma9199
    @rashikasharma9199 5 років тому +3

    You explained very clearly ma'am... thankyou so much 🙏

  • @mustafamohammadi5741
    @mustafamohammadi5741 4 роки тому +3

    Perfect. Thanks for sharing knowledge

  • @balabharathiv429
    @balabharathiv429 2 роки тому

    Thank you mam well teaching . Understand in first time👍

  • @bhuvanadhanikonda9754
    @bhuvanadhanikonda9754 5 років тому +3

    U made my day mam.. Love u mam😘

  • @muskankaushal1705
    @muskankaushal1705 4 роки тому +2

    Thank u😊😊
    My all doubts are clear now in the concept of heap tree..

  • @sarwarjahan05
    @sarwarjahan05 4 роки тому +2

    Thanks for such a good tutorial

  • @A11-RECORD
    @A11-RECORD 2 роки тому

    Thanxxx...mam khbhi class m kuch samjh nahi aaya ....aap bhot sahi samjhate ho❤️👑..........thanxxx....

  • @manasaparlour6923
    @manasaparlour6923 5 років тому +2

    Mam sorry to say but there is ah small mistake in your example at the time 9:32 u have given an example as 66 but u had written there 55 once please check it mam

    • @piyush22412
      @piyush22412 4 роки тому +1

      Ryt I also observed it,
      but i understood the concept...

    • @royalty2497
      @royalty2497 4 роки тому +1

      Yes bro there is a mistake

  • @miraahamed3606
    @miraahamed3606 5 років тому +2

    so easy and understandable...tnk u so much mam❤

  • @xXEmilXx100
    @xXEmilXx100 5 років тому +3

    Thanks so much, two days left for my exam!!

  • @HassanKhan-og7dv
    @HassanKhan-og7dv 3 роки тому +1

    66 should be on left sub tree

  • @srijandixit1224
    @srijandixit1224 4 роки тому

    Nice video Ma'am.............concept is very clear......✌🏾✌🏾✌🏾✌🏾✌🏾

  • @saipavan8669
    @saipavan8669 4 місяці тому

    Hi Mam, I have seen this video, i have one doubt.
    Doubt:
    I think left side values needs to lesser than parent and right side values needs to greater that parent right mam. but your explanation node only should greater than left or right side elements is this correct mam?

  • @RKTeluguPranks
    @RKTeluguPranks 5 років тому +6

    I'm interesting to listen more classes

    • @nix99problems
      @nix99problems 4 роки тому +1

      Do you mean you are interesting because you want to listen to more classes? Quite egotistical

  • @d3t4ix43
    @d3t4ix43 5 років тому +5

    why is 33 right child of 55? in the right should go the numbers greater than 55

    • @xXEmilXx100
      @xXEmilXx100 5 років тому +1

      But it's binary tree not a binary SEARCH tree so in a binary tree you can insert smaller values as you like as it follows the heap structure

  • @d_c_y_1
    @d_c_y_1 5 років тому +2

    thank you so much, Mam. U saved me 😇

  • @fabulousfive3569
    @fabulousfive3569 5 років тому +18

    9:37 88 aayega 55 ki jagah

    • @sylvesterfernandes8277
      @sylvesterfernandes8277 4 роки тому +1

      Don't know how you people achieve milestones in your life ! being such Nerds

  • @surya.maheshkolisetty1997
    @surya.maheshkolisetty1997 2 роки тому

    Thank you ma'am love 💖 from ANTARCTICA 😃

  • @rafiqmustafa2651
    @rafiqmustafa2651 2 роки тому

    Every thing is clear thank you so much

  • @fahmidaakter3314
    @fahmidaakter3314 4 роки тому +2

    thank you so much mam..

  • @arsalhumayun1412
    @arsalhumayun1412 5 років тому +2

    why u insert 55 two times at left and then right?

  • @jokerlooser9600
    @jokerlooser9600 3 роки тому

    66 is the smallest value than 88 , 66 is place the left side.?

  • @chandrashekar-ei2zg
    @chandrashekar-ei2zg 5 років тому

    So good
    I like videos of edu4 channel a lot

  • @RKTeluguPranks
    @RKTeluguPranks 5 років тому +1

    Tq very much

  • @mudassirshaikh222
    @mudassirshaikh222 5 років тому +1

    Thank you very much mam... very helpful

  • @gangayadhavan
    @gangayadhavan 5 років тому +1

    Very nice madam ,I need McQ updated please

  • @shanmugapriyanr9049
    @shanmugapriyanr9049 2 роки тому

    Thank you 🤗

  • @gokulbadrappan3272
    @gokulbadrappan3272 Рік тому

    Having an exam in half an hour,thanks ma'am!

  • @nivedyavnambiar1909
    @nivedyavnambiar1909 5 років тому +2

    Thank you mam...👧👧👧👧

  • @karugondasimhachalam4967
    @karugondasimhachalam4967 2 роки тому

    Thank you

  • @mudassir5536
    @mudassir5536 4 роки тому

    Construct heap tree for following list of numbers.20,10,30,50,60,20,35,40,50,25,80 &
    perform heap sort. Keep in mind the max priority queue and Heapify algorithm in mind.
    Write pseudocode and algorithm of each

  • @janvinaik5072
    @janvinaik5072 4 роки тому

    but at last its not binary tree cause 66 is in right node as is less than root node??

  • @labeatognadjaezechiel5558
    @labeatognadjaezechiel5558 4 роки тому

    I have a concern about the min Heap insertion in the cas we twice a number in the list of items. For exemple 2 , 3, 2, 6 ,1 here we have the number "2" twice . how to do the min heap insertion in this cas ?

  • @the____echoes
    @the____echoes 5 місяців тому +1

    Parent node is not equal to Root node at all ! P.S. The definition of Heap tree is incorrect ma’am ! It should be parent node not the root node . Peace -deV

  • @rupalishirkande6163
    @rupalishirkande6163 3 роки тому

    Very nice explanation mam👌🙏

  • @ankitkumarx
    @ankitkumarx 6 років тому

    Crisp and to-the point.

  • @chinnayuvaraja9074
    @chinnayuvaraja9074 4 роки тому +1

    Mam explain leftist heaps

  • @TheLegend-ml3ep
    @TheLegend-ml3ep 3 роки тому

    If remove the smalest number and end to last node then we use same method?

  • @vanireddy2784
    @vanireddy2784 3 роки тому

    The example you took isn't the complete binary tree while explain max and min heaps

  • @Sudhanshu-es6lz
    @Sudhanshu-es6lz 2 роки тому

    Well explained and so clearly

  • @asfiyakazi916
    @asfiyakazi916 2 роки тому

    Nice Explaination mam 💛

  • @user-qs7dp6yb2x
    @user-qs7dp6yb2x 5 років тому +1

    This is awesome

  • @crazypeople6666
    @crazypeople6666 4 роки тому

    Why u write 66 at right side as it is less than 88

  • @sanatan._.dharma_6304
    @sanatan._.dharma_6304 2 роки тому

    Thanks mam🙏🙏😍😍🥰🥰🥰

  • @reenasharma908
    @reenasharma908 5 років тому

    You amke so easy that topic for me thanku mam

  • @theerangelcitizen5655
    @theerangelcitizen5655 Рік тому

    Shouldn't 66 be on the left sub tree?

  • @-Vamsiadithya
    @-Vamsiadithya 2 роки тому

    Thanks ku sooo much

  • @MariiaKlochko
    @MariiaKlochko 3 роки тому

    thank a lot!

  • @sachidanandapallai6016
    @sachidanandapallai6016 4 роки тому

    quite goodf

  • @nghnino
    @nghnino 4 роки тому

    very good teaching!

  • @dancewithhimani
    @dancewithhimani 4 роки тому

    We must have added 55 below 44!!

  • @chetannain4867
    @chetannain4867 2 роки тому

    good explaination.

  • @revathiaddala3214
    @revathiaddala3214 5 років тому

    Clear explanation madam yours thanku

  • @PGDCASujataVardhan
    @PGDCASujataVardhan 2 роки тому

    Tqq mam

  • @shubhojeetghosh2557
    @shubhojeetghosh2557 5 років тому

    The first example was not of a complete binary tree...it is neither a binary tree.CHECK

  • @priteshkumar659
    @priteshkumar659 5 років тому +1

    thank you!

  • @friendsfandom
    @friendsfandom 3 роки тому

    What if equal to

  • @theboss2809
    @theboss2809 5 років тому

    Thank you so much! You are better than my data structures sir

  • @RathourShubham
    @RathourShubham 5 років тому

    Nice Explanation... Thanks..

  • @Sunlight_121
    @Sunlight_121 Рік тому

    Thank you ❣️

  • @irfanullahkhan7179
    @irfanullahkhan7179 6 років тому

    good mam good but some problem that you can not question number

  • @singhvicky1605
    @singhvicky1605 3 роки тому

    Why u use 55 two time🤨

  • @sas9730
    @sas9730 4 роки тому

    Thank you so much mam

  • @LearningSkills3
    @LearningSkills3 4 роки тому

    can we say heap tree other name is heap order

  • @Codingworld24
    @Codingworld24 5 років тому

    right tree is the biggest the node

  • @LearningSkills3
    @LearningSkills3 4 роки тому

    ma'am very good nice

  • @shafiqahmad5165
    @shafiqahmad5165 4 роки тому

    Vary nic i like and follow u

  • @kiranvarma149
    @kiranvarma149 4 роки тому

    explanation good but heap not following binary tree any example it is just a balanced tree.

  • @ankitathakur5989
    @ankitathakur5989 4 роки тому

    Thanku so much mam ji

  • @sarathkrishnanpv9341
    @sarathkrishnanpv9341 3 роки тому

    ❤️

  • @swapnaswapna61
    @swapnaswapna61 5 років тому

    But mama you didn't explain heap min example

  • @aloksahu1787
    @aloksahu1787 5 років тому

    Awesome.....😎

  • @subhamchatterjee7697
    @subhamchatterjee7697 3 роки тому

    it is not a complete binary tree
    the level has to be completed

  • @JB-dv6yx
    @JB-dv6yx 4 роки тому +1

    I think there was some confusion

  • @harinimudapaka5339
    @harinimudapaka5339 5 років тому

    Madam please tell us about skew heap

  • @Gkgamingcenter
    @Gkgamingcenter 4 роки тому

    Thanks mam..

  • @sridinesh6108
    @sridinesh6108 4 роки тому

    Thank u mam

  • @saddaramsubbareddy2949
    @saddaramsubbareddy2949 4 роки тому

    Please make all subject videos in Computer science 3 rd Semester mam
    Plesae make all subject in 3rd sem CSE Branch

  • @bhupinderkaur5916
    @bhupinderkaur5916 4 роки тому

    mam this is not a binary tree

  • @ayanbhowmik4444
    @ayanbhowmik4444 5 років тому

    thanks a lot.....

  • @rrr9904
    @rrr9904 4 роки тому

    Mam plzzz upload heap tree deletion

  • @vishal3288
    @vishal3288 5 років тому

    Thanks mam

  • @jagadeeshkandula4358
    @jagadeeshkandula4358 5 років тому

    Thank u mam...