1,097 views
0 0 votes
When searching for the key value 50 in a binary search tree, nodes containing the key values 10,15,20,30,60,80,89,90 are traversed, not necessarily in the given order. How many different orders are possible in which these key values can occur on the search path from the root to the node containing the value 50?

Please log in or register to answer this question.

Position:
Show:

Related questions

2 2 votes
0 0 answers
526
526 views
Rajat Agrawal007 asked Dec 4, 2021
526 views
In a Binary Search Tree, a key with value 5 was searched after traversing nodes with values 1,3,4,6,7,8,9 not necessary in the same order. Lets P is the probability that ...
0 0 votes
0 0 answers
1.3k
1.3k views
0 0 votes
0 0 answers
806
806 views
Sahil_Lather asked Jan 28, 2023
806 views
Construct OBST with the identifier set (a1, a2, a3) =(end , goto, print) with p(1..3) = (0.05, 0.2, 0.1) and q(0..3) = (0.2, 0.1,0.2, 0.05)What is the cost of a OBST ? ...
–1 –1 vote
0 0 answers
696
696 views
Avik Chowdhury asked Sep 2, 2018
696 views
HOW TO SOLVE IT?