Binary Search Tree
1. Following is the image of a binary search tree rooted at 4
(which child is left and which is right is arbitrary, but assigned so to maintain validity of the tree). Which of the following can be the nodes you visit when searching for the number 10.
(which child is left and which is right is arbitrary, but assigned so to maintain validity of the tree). Which of the following can be the nodes you visit when searching for the number 10.
2. To find the smallest element in the subtree of a given node, we: