Binary Search Tree
1. Following is the image of a binary search tree rooted at 4.

Which of the following can be the sequence of nodes visited when searching for 10, assuming that 10 is not present in the tree?

Which of the following can be the sequence of nodes visited when searching for 10, assuming that 10 is not present in the tree?
2. To find the smallest element in the subtree rooted at a given node, we:
3. When searching for a key in a BST, if the current node contains a key smaller than , which child should be examined next?
4. If the key being searched for is equal to the key at the current node, what should a standard BST search do?
5. What happens when a BST search reaches a null child pointer before finding the target key?
6. A BST contains the keys 50, 30, 70, 20, 40, 60, and 80. What is the search path for key 60?
7. In a BST, where is the largest key in a subtree located?
8. What is the worst-case time complexity of searching for a key in an unbalanced BST containing nodes?
9. A BST has root 40. During a search for 35, the search moves from 40 to 20. Which subtree of 20 should be searched next?