Assignment5A - Assignment#5 Jennifer kim 10 points 1 For...

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

View Full Document Right Arrow Icon
Assignment #5 Jennifer kim 10 points 1) For the splay tree shown below, show how an access of node 50 is performed. (Show all steps). 10 \ 20 / \ 15 30 / \ 25 40 / \ 35 50 \ 60 10 \ 20 / \ 15 30 / \ 25 40 / \ 35 50 \ 60 10 \ 20 / \ 15 50 / \ 40 60 / \ 30 35 \ 25 50 / \ 20 60 / \ 10 40 \ 15 / \ 30 35 \ 25
Background image of page 1

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

View Full DocumentRight Arrow Icon
10 points 2) For the splay tree shown below, show how an access of node 45 is performed. (Show all steps). 80 / \ 40 120 / \ / \ 20 60 100 140 /\ /\ /\ /\ 10 30 50 70 90 110 130 150 / \ 45 75 80 / \ 40 120 / \ / \ 20 45 100 140 /\ /\ /\ /\ 10 30 75 50 90 110 130 150 / \ 70 60 80 / \ 40 120 / \ / \ 20 45 100 140 /\ /\ /\ /\ 10 30 75 50 90 110 130 150 / \ 70 60 45 / \ 40 80 / \ / \ 20 75 50 120 /\ /\ /\ / \ 10 30 70 60 90 110 100 140 /\ /\ 90 110 130 150 10 points 3) For the B-tree of order 3 with L=5 shown below, show how an insert of value 50 is handled. || 20 ||
Background image of page 2
/ \ / \ 2 20 5 25 7 70 75 78 || 20 || 70 || / | \ / | \ 2 20 70 5 25 75 7 50 78 10 points 4) For the B-tree of order 3 with L=5 shown below, show how an insert of
Background image of page 3

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

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

This note was uploaded on 04/07/2008 for the course CS 3345 taught by Professor Ozbirn during the Spring '08 term at University of Texas at Dallas, Richardson.

Page1 / 6

Assignment5A - Assignment#5 Jennifer kim 10 points 1 For...

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