in DS edited by
1,096 views
1 vote
1 vote
When searching for the key value 50 in a binary search tree, node containing the key values 10, 30, 40, 70, 90, 120, 150, 175 are traversed, in any order. The number of different orders passing in which these keys values can occur on the search path from the root to node containing the value 50 are ________.
in DS edited by
1.1k views

1 Answer

6 votes
6 votes
Best answer

$\frac{8!}{3!.5!} = 56.$

Ref: https://gateoverflow.in/3462/gate2007-it_29

selected by
by

Related questions