23.11.2014 Views

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

configuration before the adjustment <strong>and</strong><br />

correspond<strong>in</strong>g nodes <strong>in</strong> the associated (2,4) tree (a<br />

symmetric configuration is possible); (b) configuration<br />

after the adjustment with the same correspond<strong>in</strong>g<br />

nodes <strong>in</strong> the associated (2,4) tree.<br />

From the above algorithm description, we see that the tree updat<strong>in</strong>g needed after a<br />

removal <strong>in</strong>volves an upward march <strong>in</strong> the tree T, while perform<strong>in</strong>g at most a<br />

656

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!