Unformatted text preview:

CSCI 2320 Data StructureQuiz4Name:__________________Question 1: (40 pts)If we use one dimensional array to implement Binary Search Tree and the array looks as following:0 1 2 3 4 5 6 7 8 920 10 40 5 18 30 210 11 12 13 14 15 16 17 18 19351. Please draw the corresponding Binary Search Tree:2. Is this tree an AVL tree? If not, which node complains?No, node 40 complains!!Question 2: (60 pts) (You better draw the BST first and draw the converted AVL tree)1. Construct the AVL tree by given the number 50, 30, 70, 25, 80, 40, 60, 75, 35, 90, 100 in order2. Draw the AVL tree in (1) after delete the element 903. Draw the AVL tree in (2) after insert the element 734. Draw the AVL tree in (3) after delete the element 100 and


View Full Document

GSU CSC 2320 - Quiz4 Key

Download Quiz4 Key
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Quiz4 Key and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Quiz4 Key 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?