Multiple Choice
Locating an element in a balanced binary search tree takes ____ time.
A) O(1)
B) O(log(n) )
C) O(n2)
D) O(n)
Correct Answer:

Verified
Correct Answer:
Verified
Q52: Consider the following tree diagrams: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q53: If a min-heap has 14 nodes, what
Q54: Given the BinaryTree class (partially shown below),
Q55: You wish to traverse a binary search
Q56: Consider the following addNode method for inserting
Q58: Consider the following tree diagram: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q59: Which of the following statements about removing
Q60: The height h of a completely filled
Q61: Consider the following tree diagram: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q62: Which of the following statements about a