As it turns out Chapter 18 only less than 20 pages. While it's still more in-depth than many discussions of balanced trees, one can see the authors are not big on this topic (like deletion is not even described and left for the author).
In any case, though the algorithm is more difficult than a binary tree. It is much easier to understand than red-black tree. More importantly - it is simpler to visualize what really going on. So I decide to skip the algorithmic description for the moment.
This is my self-study page for the book, "Introduction to Algorithm", or commonly known as CLRS. This is also my diary page of how I struggle and grow in the programming world. I hope this blog can help amateurs or professionals, to improve their skills in programming, learning and living. As of Sep 12, 2011, I finished the "exercise read" of Chapter 2 (20110518) and 3 (20110608) and half of Chapter 4.
Shortcut for chapter specific information
Chapter4
(62)
chapter3
(41)
Chapter2
(22)
chapter6
(10)
chapter12
(9)
chapter15
(8)
chapter13
(7)
chapter7
(7)
Chapter10
(5)
chapter5
(5)
Appendix A
(4)
chapter8
(4)
Chapter19
(3)
Chapter22
(3)
Chapter34
(3)
Chapter35
(3)
chapter11
(3)
chapter16
(3)
chapter18
(3)
Appendix C
(2)
Chapter21
(2)
Chapter25
(2)
Chapter26
(2)
Chapter27
(2)
Chapter28
(2)
Chapter29
(2)
Chapter9
(2)
chapter14
(2)
chapter20
(2)
chapter23
(2)
chapter24
(2)
chapter30
(2)
chapter31
(2)
chapter32
(2)
Appendix D
(1)
Chapter1
(1)
Chapter33
(1)
chapter17
(1)
Showing posts with label B-tree. Show all posts
Showing posts with label B-tree. Show all posts
Friday, September 16, 2011
Thursday, September 15, 2011
B-tree and 2-3 tree
Now I see.
As it turns out the operation of B-tree is probably much simpler than red-black tree. (In a way I think RB tree is actually more advanced).
You can also gauge the difficulty of the class by how much it discuss balanced trees. In fact, most of the time, you will only see cursory description of them like insertion in an introductory class.
This is good. That means if I review Chapter 16, I will probably know how to do all the problems in HW4.
As it turns out the operation of B-tree is probably much simpler than red-black tree. (In a way I think RB tree is actually more advanced).
You can also gauge the difficulty of the class by how much it discuss balanced trees. In fact, most of the time, you will only see cursory description of them like insertion in an introductory class.
This is good. That means if I review Chapter 16, I will probably know how to do all the problems in HW4.
Wednesday, September 14, 2011
Lectures note for HW4
Hmm, here comes a tougher part, issues such as binary tree, balanced trees such as 2-3 trees and B-tree are tougher to understand topic. Ok, this is a good time to really understand them though. It also related to my reading in CLRS Chapter 12 and Chapter 13.
Subscribe to:
Posts (Atom)