Refactored App.java to remove duplicate code and elegantly demonstrate each implementation of the Iterator interface. Removed the redundant ItemIterator interface. Added insert() method to TreeNode class to allow for more elegant construction of BSTs.

This commit is contained in:
Mitchell Irvin
2018-08-25 18:49:43 -04:00
parent 3e0cfa5684
commit 1c2ddfad54
18 changed files with 407 additions and 433 deletions

BIN
iterator/etc/bst.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB