recategorized by
531 views
2 votes
2 votes

Consider a Binary Search Tree is created using element 1 to n in following order:

                      3, 2, 1, 6, 5, 4, 9, 8, 7, 12, 11, 10, ....., n – 3, n – 4, n – 5, n – 2, n – 1, n

What is the worst time complexity of searching a number in the Binary Search Tree?

recategorized by

1 Answer

Related questions

0 votes
0 votes
1 answer
3