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?
same question and already answered https://gateoverflow.in/189303/bst-test-series
64.3k questions
77.9k answers
244k comments
80.0k users