[CSE2304], [FAQ], [progress] & [plan],   Bib', Alg's,  C  - L.A., Sem'1, 2006, FIT, Monash, .au
Instructions: Topics discussed in these lecture notes are examinable unless otherwise indicated. You need to follow instructions, take more notes & draw diagrams especially as [indicated] or as done in lectures, work through examples, and do extra reading. Hyper-links not in [square brackets] are mainly for revision, for further reading, and for lecturers of the subject.

Tables:   2-3-, 2-3-4- & B-Trees:   Introduction

Yet more tree structures for implementing lookup tables:

Height balanced, operations have O(log(n))-time complexity.

B-trees are very important for large (disc) collections (data-bases).

Binary search tree (and AVL tree) have

2-3-trees have

NB. Ordered left-right like a BST.
NB. Two kinds of 2-3-tree:
  1.   elements proper go in fork nodes or
  2.   fork nodes form an index to "real" elements (elsewhere).
©
L
.
A
l
l
i
s
o
n

2-3-tree,   insert an element:

[lecturer: do insertion examples; class: take notes!]

2-3-tree:

©
L
.
A
l
l
i
s
o
n

2-3-4-tree:

2-3-4-tree

This is done by:

[lecturer: draw diagram; class: take notes!]

B-tree of order-k is the logical generalisation of 2-X-trees.

The B-tree structure is popular for very large data sets

Tables:   2-3-, 2-3-4- & B-Trees:   Summary


Prepare

2006 © L.Allison, Faculty of Information Technology (Clayton School), Monash University, Australia 3800.