Revise the BST class of Section 5.4 to use the splay tree rotations. Your new implementation should not modify the original BST class ADT. Compare your splay tree against an implementation of the standard BST over a wide variety of input data. Under what conditions does the splay tree actually save time?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here