From charlesreid1

Tree class operations

This page covers performance tests of tree class operations and verification of their big-O performance.

LinkedBinTree

The process of building the linked binary tree class in Java was:

The timing script was used to perform verification that the amortized cost of the add and remove operations were as expected.

Adding nodes

TreeTiming Add.png

Removing nodes

TreeTiming Remove.png

Traversing nodes

500px