R2. 2-3 Trees and B-Trees

Поділитися
Вставка
  • Опубліковано 27 лис 2024
  • MIT 6.046J Design and Analysis of Algorithms, Spring 2015
    View the complete course: ocw.mit.edu/6-0...
    Instructor: Amartya Shankha Biswas
    In this recitation, problems related to 2-3 Trees and B-Trees are discussed.
    License: Creative Commons BY-NC-SA
    More information at ocw.mit.edu/terms
    More courses at ocw.mit.edu

КОМЕНТАРІ • 209

  • @JohnaphorFantazio
    @JohnaphorFantazio 6 років тому +180

    that's the cleanest blackboard i've ever seen

    • @trh786fed
      @trh786fed 11 місяців тому

      5 years later and I agree,
      and I hope you are still alive and in a good health

  • @hak4fak
    @hak4fak 7 років тому +165

    INSERTION STARTS AT 18:20

  • @luisgraterolpalumbo3200
    @luisgraterolpalumbo3200 7 років тому +67

    DELETION STARTS AT 21:30

    • @marcuskim1989
      @marcuskim1989 6 років тому +2

      THANK WHICHEVER GOD MADE YOU. I MEAN IT. I AM NOT JOKING

  • @rohitnikam3780
    @rohitnikam3780 6 років тому +29

    INSERTION STARTS AT 18:20
    DELETION STARTS AT 21:30

  • @guillermoalcantaragonzalez6532
    @guillermoalcantaragonzalez6532 4 роки тому +28

    Somebody should have told Amartya that he does really well here. He is knowledgeable about the subject, has good material, illustrations and it's clear with his explanations.

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

      if we are here watching his lectures, there's no way we can get into mit:(

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

    Inserting a new key in a 2-3 tree is done as follows. First of all, we always
    insert a new key K in a leaf, except for the empty tree. The appropriate leaf is
    found by performing a search for K. If the leaf in question is a 2-node, we insert
    K there as either the first or the second key, depending on whether K is smaller or
    larger than the node’s old key. If the leaf is a 3-node, we split the leaf in two: the
    smallest of the three keys (two old ones and the new key) is put in the first leaf,
    the largest key is put in the second leaf, and the middle key is promoted to the
    old leaf’s parent. (If the leaf happens to be the tree’s root, a new root is created
    to accept the middle key.)
    author always rocks...

  • @Rohit-tz6gs
    @Rohit-tz6gs 4 роки тому +16

    What a clear xplanation @ this age!!. It gave me goosebumps to have knowledge like this rather than for passing just exams.

  • @anon3rd
    @anon3rd 8 років тому +67

    Great lecture - the passion shines through and the motivation rubs off!

  • @rahuldeshpande3516
    @rahuldeshpande3516 6 років тому +27

    2-3 Tree: Atmost 2 keys, at most 3 children

  • @bc9477
    @bc9477 7 років тому +123

    That's some seriously young professor.

    • @sob4655
      @sob4655 7 років тому +76

      I don't believe he is a professor; a graduate student, teaching for some credit (Teaching Assistant), perhaps. That's because he is terrible at teaching.

    • @skippycavanaugh3148
      @skippycavanaugh3148 7 років тому +9

      He was in his 3rd while teaching.

    • @malino24-souls
      @malino24-souls 6 років тому

      +1

    • @idobooks909
      @idobooks909 6 років тому +64

      I don't see how "he is terrible at teaching" makes him a not professor ;)

    • @hasibulalam3367
      @hasibulalam3367 6 років тому +7

      its a recitation. they are always conducted by TA.

  • @Abhishek-ig9nu
    @Abhishek-ig9nu 4 роки тому +6

    In the Cormen textbook, section 18.1, it is written that if a node has 2*B-1 keys then it is called "full node" and once the # keys become 2*B then split occurs. But in this lecture, split occurs at 2*B-1 itself as here max # keys should be strictly less than 2*B-1. So practically which one to prefer is the confusion here 🤔

  • @sunny10528
    @sunny10528 7 років тому +25

    He is a grad student of MIT (2017 passout) , currently working at Twitter

    • @asadullahfarooqi254
      @asadullahfarooqi254 6 років тому +17

      who cares he is a terrible teacher....

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

      @@asadullahfarooqi254 you are a terrible student. Its perfectly understandable.

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

      @@asadullahfarooqi254 Why so much hate? Are you pakistani?

    • @asadullahfarooqi254
      @asadullahfarooqi254 4 роки тому +11

      Sorry guys @Int 0x80 @Pratham Yadav, I shouldn’t have said that 😔 I take back my words. my sincere apologies. One more thing @Pratham Yadav That was wrong but not political.

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

      @@7xr1e20ln8 isnt his definition wrong though? in CLRS 3rd edition page 489 the definition for internal nodes of degree t is: t

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

    The literature on B-trees is not uniform in its terminology
    Bayer and McCreight (1972) define the order of B-tree
    as the 'minimum number of keys' in a non-root node.
    terminology is ambiguous because the maximum number of keys is not clear
    : An order 3 B-tree might hold a maximum of 6 keys or a maximum of 7 keys
    (4 minimum children holds a maximum of 7 or 8 children)
    Knuth (1998) avoids the problem by defining the order to be the 'maximum number of children'
    order 3 B-tree : 2-3 tree
    order 4 B-tree : 2-3-4 tree (2-4 tree)

  • @jamesreed4735
    @jamesreed4735 8 років тому +20

    "Cache line size" is the phrase you're looking for

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

      Ah yes. I think that's the phrase. Another question though, so do we tune the size of each node (which consists of M # of children) to fit (a) RAM line size or (b) Disk block size?

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

      It depends on the location where the B-tree stay. If a B-tree lives in a memory, then cache line size is appropriate. If a B-tree lives in a storage, then disk block size is appropriate.

  • @sachinpal2424
    @sachinpal2424 6 років тому +4

    What a passionate teacher !

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

    I really enjoyed this. Instructor is great at explaining everything. Thank you!

  • @akshaysalunkhe2534
    @akshaysalunkhe2534 6 років тому +2

    It was best solution on b tree i had ever seen on UA-cam. Thanks

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

    The way this guy explains things is unreal

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

    it is a good lecture for clearing the concept of B tree.
    But I have a doubt that value of maximum keys in a node is less than 2*B-1 or less or equal to 2*B-1 @MIT OpenCourseWare.

  • @rajeshdansena
    @rajeshdansena 8 років тому +7

    There is something wrong while explaining Number of Keys. The correction will be :
    B-1

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

      Yes. There are two mistakes.
      B

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

      actually the teacher and you are right, there are two concepts, for Bayer e McCreight(the creators), b ai the minimal number of keys, and Knuth use the minimal number of childrens.

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

      @@patrickdornellesdasilvavie937 i dont think so. From what i've read both bayer and CLRS use b as the minimal number of children and knuth uses b as the maximum number of children

    • @hil449
      @hil449 2 роки тому +1

      @@h8pathak yes, in CLRS 3rd edition page 489 the definition for internal nodes of degree t is: t

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

    he is really good at juggling chalks

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

    When I know something that I have to teach to a junior but am not completely prepared for it, that's how I teach. Good recitation though

    • @user-vu2mx3fx4i
      @user-vu2mx3fx4i 4 місяці тому

      Yeah I mean the subject is probably,like you know, the most boring part that you just kinda have to get through. I dont blame him. I don't even think my professor knows how to code tbh 😂

  • @MendaSpain
    @MendaSpain 6 років тому +14

    10:18 a wild runner appears

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

    Such a passionate guy. Respect!

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

    Man, once I hit play, I couldn't stop till the end, except for just this comment! ❤✌🇮🇳🇮🇳🇮🇳

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

    the professor is adept at dancing, it seems

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

    Structure Preserve invariance (Rep Invariant)
    Common Issue:
    One of your nodes will (become) overFull, & Overflow
    24:04

  • @alpacino3989
    @alpacino3989 8 років тому +1

    wow, good vid.....this guy has got a bronze medal in IOI twice.

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

    I like this handsome Indian TA. No Indian accent at all.

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

      North Indian accent is just like this
      ....
      You bastards have stereotyped Indian accent with South Indian accent

  • @kabirkanha
    @kabirkanha 6 років тому +3

    Amazing explanation. Thank you.

  • @ria7941
    @ria7941 6 років тому +1

    Thank you so much! This helped me a lot! Keep going with such wonderful videos!

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

    I am in love with this teacher

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

      Do You Code B-tree by yourself?Understanding this and implementing it makes a huge difference

    • @hil449
      @hil449 2 роки тому +1

      youre cute lol pretty eyes

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

    Just MIT stuffs 😊😊

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

    weird that an MIT prof has never implemented B tree but my college need me to do it without plagurism

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

      Incredible India 🔥

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

      Buddy I Also strucked on Implementation.. It's implementation is really very tough on coding point of view 🥴

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

      @@achyutambharatam2116 yes, took me hours. And is kinda stupid coz libraries exist for all this stuff already

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

      @@rohandalvi6476 Really? Libraries are there! But this is complex type of Dta structure... Sometimes I strucked for week for making their code understand.. Do u also face this?

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

      @@achyutambharatam2116 ofc i do, it was last to last semester

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

    Thanks for this video, this helps a lot during the pandemic!

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

    make an ASMR video just with chalk sounds

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

    Insertion explained at 13:50

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

    oh this guy is so energetic. I like that!

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

    I think the reason to use these trees is balancing!
    Near the beginning, he asks "Why use B-trees over Binary Search Trees". He then explains something about avoiding reading memory from disk. This is not the reason I was taught in my class. The reason I was taught, is that these trees will stay balanced. With a Binary Search Tree, the algorithm of insert could result in the tree being extremely deep on one branch and very shallow on others. This means you will not actually get log(n) performance, since most of the data is in longer branches.

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

      I believe that b-trees are to be used when accessing a disk location takes a larger amount of time and thus it is more efficient to have more keys stored in each location.

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

      Why can't it be both? Both better caching and a balanced tree. Most data structures have not one, but several pros and cons over other data structures.

    • @hil449
      @hil449 2 роки тому +1

      You're wrong. AVL trees also stay balanced and are way easier to implement, but they only hold 1 key for a given node and each node has only up to 2 children. The reason for using B trees is the one presented in the video

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

      @@pharoah327 because there are avl trees and red-black trees which are also balanced and way easier to implement but wouldnt work for disk access

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

    I have to watch 2 time to understand it. Thanks sir

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

    Deletion very beautifully explained

  • @teaMmMate
    @teaMmMate 8 років тому +6

    Amazing lesson, you have my gratitude.

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

    Every time I check subtitles for sth I don't understand subtitles help me a lot with this answer: "inaudible"

  • @AAZinvicto
    @AAZinvicto 6 років тому +2

    2:35 to 5:32 will change your life :D

  • @KULDEEPSINGH-rh3go
    @KULDEEPSINGH-rh3go 8 років тому +11

    I can bet, this faculty is from India.

  • @kevinoliveira8576
    @kevinoliveira8576 8 років тому +1

    Thank you, this was helpful to me when i was implementing a b-tree in C ;

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

    the way this guys flips his chalk after every sentence pisses me off

  • @카멜-z5k
    @카멜-z5k 6 років тому +1

    Great Lecture thanks.

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

    Great lecture, thanks!

  • @AsmaaMohamed-kr1dm
    @AsmaaMohamed-kr1dm 2 роки тому

    Smart explanation

  • @김김김-o3y4h
    @김김김-o3y4h 8 років тому

    Thank you for good lecture about deletion op.

  • @ummonk
    @ummonk 7 років тому +1

    1:32 Is no one in the class paying attention? It isn't at all clear why the depth is logN.
    8:04 Finally mentioned that all the leaves are at the same depth, and only then do you know that the depth is actually logN and the tree is balanced.

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

      probably everybody knew? its MIT

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

      They supposedly studied Binary Search Trees last time. It should be obvious then. And if it isn't clear to you then you are studying in wrong order. Study BST first.

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

    Great explanation.

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

    half an hour worth more than Whole semester in my collage

  • @numbtubeyou
    @numbtubeyou Рік тому +1

    he is too impatient and he has to correct himself way too often. I am so glad I never had such lecturers.

  • @achrafBadiry
    @achrafBadiry 6 місяців тому

    why is he speaking at 1.25 speed lol. I had to check my settings for a second

  • @tyyyuuuhunngra618
    @tyyyuuuhunngra618 2 роки тому +1

    He is from our school in india

  • @timothylang356
    @timothylang356 8 років тому

    Amazing lecture!

  •  6 років тому

    This guy's pretty good (thumbs up)

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

    This is an excellent education video, thanks a lot. I would like to clarify is B-Tree B is really stands for Branching? Thanks

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

      I believe it stands for balanced

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

    thanks you sir

  • @MrSelcukBak
    @MrSelcukBak 7 років тому

    Thanks a lot mate!

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

    I think ravindrababu ravula has taught it better than this MIT teacher

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

    he is just dancing can anyone tell me what beat is that .?? because google just failed to find such a beat..

    • @ishwarraghu2463
      @ishwarraghu2463 6 років тому +1

      dud dud dud dud. du du dud dud dud.. dudu dud dud dudd dududd dud dud...

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

    He reminds me Tedd Mozbi from How i met your mom? NO??

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

    Have a question... The nodes are not supposed to have more than b-1 keys.. But in his example (26:16 m) he got 5 keys in one leaf... how is that right?

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

      And b = 4

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

      I believe that you've mistaken the maximum bound of keys in a node to not be more than b-1 when the correct one is suppose to be less than 2b-1

  • @AbdulWahab-ms6bn
    @AbdulWahab-ms6bn 11 місяців тому

    guys while your watching the vid write awesome!🤣

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

    Sir what is the best programming language for design and analysis of data structures and algorithms??.. please reply me sir 🙏🙏

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

    ADHD very chaotic - hard to follow - jumping all over the place and at the end the result is quite confusing.

  • @bashaarshah2974
    @bashaarshah2974 7 років тому

    That's a very nice coat.

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

    I could not follow quite well when he said why use B Trees over BSTs. Can someone please help me understand it?.

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

      Memory access time cost is much expensive than CPU compare(

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

      If single node's memory size is bigger than cache line, then single node visiting makes caching at most twice. Therefore it seems good to make node's memory size to fit into cache line size.

  • @TheThunderSpirit
    @TheThunderSpirit 8 років тому +17

    too smart.. didn't understand shit.

  • @bishwendrachoudhary2281
    @bishwendrachoudhary2281 8 років тому

    excuse me sir , your deletion of 41 is wrong , why should you bring 30 down ?

    • @DenisG631
      @DenisG631 7 років тому

      in order to have same height for every leaf

    • @bishwendrachoudhary2281
      @bishwendrachoudhary2281 7 років тому

      no , actually it is beacuse of 30 's both children has only one number so, merging and then 41 also has one children in both side so merging again.height does n't matter yr

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

    so cute awww

  • @coderopes2983
    @coderopes2983 6 років тому +1

    Why he is in hurry

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

      Perhaps to rush for his next fix?

  • @tomlynd8836
    @tomlynd8836 8 років тому +1

    Where can I access the notes he said he would provide?

    • @jsarvesh
      @jsarvesh 7 років тому +1

      ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-046j-design-and-analysis-of-algorithms-spring-2015/recitation-notes/MIT6_046JS15_Recitation2.pdf

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

      ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-046j-design-and-analysis-of-algorithms-spring-2015/recitation-notes/MIT6_046JS15_Recitation2.pdf

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

    What is the meaning of the R in the playlist? Is R1 available?

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

      The R means Recitation. It is a session that allows students to ask questions from materials presented in the lectures and to get help if they are stuck on a specific problem or concept. R1 was not recorded.

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

    He is Shahrukh Khan

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

    can someone explain why in the last bit we chose to rotate 17 on the left over 30 on the right? thxxxxx in advance!

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

      I believe that it's an arbitrary decision and both are viable operations. Like in deletion, we can choose to propagate the left-most element of the right child OR the right-most element of the left child. Take what I say with a grain of salt, I'm also trying to learn B-Trees lol

  • @hemantjoshi8388
    @hemantjoshi8388 7 років тому

    how is the order of B tree related to the branching factor? Also how do you find the branching factor?

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

      B is defined as the branching factor. By definition, this establishes a bound on the number of children: [B,2B) and hence a bound on the number of keys: [B-1, 2B-1]. You can what B is by taking the floor of lg(# of children in any branch)....(correct me if im wrong here...)

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

      2B-1 = order of the tree (which means the maximum number of branches a node can have )
      and B= minimum number of Branches a node can have.
      and you don't need to find the branching factor, whatever you wish you can take depending on your max height constraints

  • @김주현-i5f1x
    @김주현-i5f1x 4 роки тому

    Cool guy

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

    Although I am grateful for these OCW videos, I have to say that the TA was very disorientating with his botched accent and nervous energy. It distracted me from whatever he was trying to teach. Was there some cute girl in the audience he fancied or what?

  • @anmol9096
    @anmol9096 8 років тому +1

    Complexity of delete operation?

  • @6puritans9
    @6puritans9 8 місяців тому

    this is insane

  • @monukumar-xb5cc
    @monukumar-xb5cc 7 років тому

    Any one please explain how its no of children B

    • @monukumar-xb5cc
      @monukumar-xb5cc 7 років тому

      so how can it adjust 19 children in it there

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

      i think he's wrong, in CLRS 3rd edition page 489 the definition is: t

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

    Awesome! Greetings from Mexico.

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

    13:30 I know this fake laughs its widely used in my univirsty

  • @rbrtchng
    @rbrtchng 8 років тому

    in the end, what if you delete 3?

    • @deepakkumarprajapati8823
      @deepakkumarprajapati8823 8 років тому +4

      Good qus!
      After deleting 3, we marge 2 and 7 make it a single node but this node has empty parent then 10 will come down and take it's parent node now 10 will only left node( containing two key 2 and 7) and it's right node is empty. There is one more problem the root node is also empty. Now we are combine 14 and 17 and make the left node/child of 30 and 16 goes up and take's the root place but still 10 doesn't have the right child now 10 will ask to it's sibling 30 help me but 30 say i am bierley full but sibling left child say hay i am eligible to help him, now sibling (30) of left child of right element goes up and combine with 30(now the parent node contain two key 17 and 30) now there will be rotation as well as shifting now 17 goes up now the root node has two key (16 and 17) and 16 come down to 17's left child 10 and there will be two key (i.e 10 and 16) and finally 16 will come down and became the right child of 10.now everything is kk..

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

    He is pretty spazy and needs to slow it down a bit. So far the better videos on BTree's for sure, just needs to clean up his lecture and be a bit more prepared.

  • @saurabhtiwaririshi
    @saurabhtiwaririshi 8 років тому

    Hi MIT! this lecture doesn't seem to be well connected. Can we have another one?

  • @saurabhtiwaririshi
    @saurabhtiwaririshi 8 років тому

    Why log n? shouldn't it be log n base 3

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

      Base doesn't matter. By change of base formula of log function. i.e., log_3(x) = Constant * log_10(x). You can pick any base for asymptotic analysis.

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

    When watching this lecture, I can't help but think that this dude is scamming me right now :q

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

    MARANATHA KYMRY

  • @ankurdhuriya
    @ankurdhuriya 6 років тому +1

    maybe he is impersonating SRK

  • @DehXable
    @DehXable 8 років тому

    tweakin

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

    He wants to dance

  • @hunting4ever389
    @hunting4ever389 7 років тому

    cool

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

    Very poor presentation missing tones of critical and essential points. Even the "node" and "keys in a node" distinction is not made that clear (and he gets a question because of this basic confusion). I suggest someone who wants to get basics of the subject should definitely NOT start with this lecture. It seems that someone who did not implement a B-tree should not give lectures on it.

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

    4:30

  • @badalgupta3518
    @badalgupta3518 8 років тому +8

    Searching In BST is O(n) worst case not log(n)

    • @artun97
      @artun97 6 років тому +2

      He said B-trees needed to be balanced