19.09.2015 Views

Prentice.Hall.Introduction.to.Java.Programming,.Brief.Version.9th.(2014).[sharethefiles.com]

Create successful ePaper yourself

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

Returns the parent for the specified node.<br />

public ArrayList getPath(Tree24Node node)<br />

Returns the path from the specified node <strong>to</strong> the root in an array<br />

list.<br />

Write a test program that adds numbers 1, 2, ..., 100 <strong>to</strong> the tree and<br />

displays the paths for all leaf nodes.<br />

47.7***<br />

(The BTree class) Design and implement a class for B-trees.<br />

34

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

Saved successfully!

Ooh no, something went wrong!