Data Structures & Alogs HW_Part_17

Data Structures & Alogs HW_Part_17 - 65 4 5 6 7 8...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
65 4 2936 5 7183 6 9279 7 1111 8 7186 9 7739 (b) sec primary Next key index index key DEER 0 0 2398 1 DUCK 4 1 3456 2 FROG 7 2 8133 3 GOAT 9 3 9737 -1 4 2936 5 5 7183 6 6 9279 -1 7 1111 8 8 7186 -1 9 7739 -1 10.6 ISAM is space ef f cient, more so than the B-tree. If few records are inserted, the ISAM system will work well. ISAM will continue to work well even if a number of records are deleted. 10.7 The 2-3 tree of k levels will have the fewest nodes if no parent has three children. We know from Chapter 5 that the complete binary tree with k levels has at least 2 k 1 leaves. The 2-3 tree of k levels will have the most nodes if every parent has three children. A 3-ary tree with k levels can have as many as 3 k 1 nodes.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
66 Chap. 10 Indexing 10.8 33 /\ ------------- -------------- || 18 48 /\ /\ ---- -------- ---- ---- | | 12 23/30 46 52 /\ / | \ /\ /\ -- -- ---- | --- --- --- -- -- ||| | | 10 15 20/21 24 31 45 47 50 55 10.9 M ------------/ \------------- D/I S /|\ / \ -------- | -------- ----- ----- | | BGK P U /\ -- -- -- -- -- -- -- -- -- -- |||| AC EH JL N / O RTW 10.10 I/P /|\ ---------------------- | ------------------- | DM U --- --- ----- --- ----- --- | | CG K / LOS W / | \ - --
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 10/31/2011 for the course BCN 3431 at University of Florida.

Page1 / 4

Data Structures & Alogs HW_Part_17 - 65 4 5 6 7 8...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online