CS311 Project 2: An AVL-balanced Tree


Due Wednesday, April 3

Create an AVL-balanced binary tree ADT. This should be a template class, capable of holding any type of data that can be compared. You can assume that the comparison operators work for the data added to the tree (this is a common constraint for tree classes). The tree should support at least these methods: Feel free to borrow any code you like from the class examples. Review the wikipedia page on AVL trees. It contains a number of examples which may be useful.