CS 3345.004. Data structures and algorithm analysis Fall 2018 Assignment 7 Wed, Oct 3, 2018 Due: 8:30 AM, Wed, Oct 10 (in class or on elearning). This is not a programming assignment. Write code or pseudocode. 1. Binary search trees and AVL trees are declared as follows: class BST { class Entry { T element; Entry left, right; } Entry root; // root node of BST int size; // number of elements in tree } class AVL extends BST { class Entry extends BST.Entry { int height; } } Assume that both classes have been implemented. Write a method of the AVL class that verifies if the tree is a valid AVL tree, that satisfies all conditions of BST, and the balancing conditions of AVL trees. In addition, do not trust the height value stored at the nodes, and heights of nodes have to be verified to be correct. Make your code as efficient as possible. State the running time of your algorithm. boolean verify() { /* To do */ }