Binary Search Trees Help Center

Learn more

Warning: The hard deadline has passed. You can attempt it, but you will not get credit for it. You are welcome to try it as a learning exercise.

To specify an array or sequence of values in an answer, separate the values in
the sequence by whitespace. For example, if the question asks for the first
ten powers of two (starting at 1), then the following answer is acceptable:

1 2 4 8 16 32 64 128 256 512

If you wish to discuss a particular question and answer in the forums, please
post the entire question and answer, including the seed (which can be used by
the course staff to uniquely identify the question) and the explanation (which
contains the correct answer).

Question 1

(seed = 618816)
Given a BST whose level-order traversal is:

11 94 31 92 62 52 63 44 77 89

Suppose that you search for the key 53. Give the sequence of keys
in the BST that are compared with 53 during the search miss.
Your answer should be a sequence of integers, separated by whitespace.

Question 2

(seed = 800493)
Given a BST whose level-order traversal is:

15 10 72 36 92 28 41 88 95 52 86 66

What is the level-order traversal of the resulting BST after Hibbard deleting
the following three keys?

86 41 72

Your answer should be a sequence of 9 integers, separated by whitespace.

Question 3

(seed = 87548)
Which of the following statements about binary search and binary search trees are true? Check all that apply. Unless otherwise specified, assume that the binary search and binary search tree implementations are the one from lecture.
    
You cannot submit your work until you agree to the Honor Code. Thanks!