Suppose that we have numbers between $1$ and $1000$ in a binary search tree and we want to search for the number $365$. Which of the following sequences could not be the sequence of nodes examined ?
In the option C---after insertion of node 914 BST is
but 914 is >913 but is is left of root node(913),it is violating BST property.
clearly we can see option (c) is wrong
64.3k questions
77.9k answers
244k comments
80.0k users