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.

270<br />

7.1.3<br />

Implement<strong>in</strong>g a Tree .................<br />

271<br />

7.2<br />

Tree Traversal <strong>Algorithms</strong>................<br />

273<br />

7.2.1<br />

Depth <strong>and</strong> Height...................<br />

273<br />

7.2.2<br />

Preorder Traversal...................<br />

276<br />

7.2.3<br />

Postorder Traversal..................<br />

279<br />

7.3<br />

B<strong>in</strong>ary Trees.......................<br />

282<br />

7.3.1<br />

The B<strong>in</strong>ary Tree ADT.................<br />

284<br />

7.3.2<br />

A B<strong>in</strong>ary Tree Interface <strong>in</strong> <strong>Java</strong>............<br />

284<br />

374

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

Saved successfully!

Ooh no, something went wrong!