adplus-dvertising
frame-decoration

Question

Which of the following can be the sequence of nodes examined in a binary search tree while searching for key 98?

a.

100, 50, 75, 60, 98

b.

100, 120, 90, 95, 98

c.

200, 70, 100, 95, 98

d.

75, 150, 90, 80, 98

Answer: (c).200, 70, 100, 95, 98

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following can be the sequence of nodes examined in a binary search tree while searching for key 98?
abi : June 26, 2023

explanation please

Similar Questions

Discover Related MCQs

Q. Which of the following is true for a sorted list with ā€˜nā€™ elements?

Q. Consider  a  rooted  tree  in  which  every  node  has  at  least  three  children.  What  is  the minimum number of nodes at level i (i > 0) of the tree?  Assume that the root is at level 0:

Q. Which of the following data structure is used to implement recursion?

Q. The height of a binary tree with ā€˜nā€™ nodes, in the worst case is:

Q. Given a parallel algorithm A with computation time t, if parallel algorithm A performs m computational operation, then p processors can execute algorithm A in time given by:

Q. With reference to implementation of different association mining algorithms, identify the correct statement:

Q. The maximum number of nodes in a binary tree of depth 10 is:

Q. The time required to find shortest path in a graph with n vertices and e edges is:

Q. Pre order is also known as:

Q. The equivalent post fix expression for d/(e+f) + b*c is:

Q. Which algorithm has same average, worst case and best case time?

Q. Application of data structure in queue is:

Q. The number of edges in a complete graph with N vertices is equal to:

Q. Which algorithm has same average, worst case and best case time?

Q. Binary search tree is an example of:

Q. What is the time required to insert an element in a stack with linked implementation?

Q. The equivalent postfix expression for d/(e+f) + b*c:

Q. Which one of the following is a physical data structure ?

Q. Which of the following statement is false ?

Q. If the postfix form of a string is ABC+-D*, the actual string is: