Question: The worst-case runtime Complexity of a search of a value in a BST with n nodes is: O(n 2 ) O(n * log n) O(n)
The worst-case runtime Complexity of a search of a value in a BST with n nodes is:
- O(n2)
- O(n * log n)
- O(n)
- O(logn)
Step by Step Solution
There are 3 Steps involved in it
The correct answer is On In the worstcase scenario for ... View full answer
Get step-by-step solutions from verified subject matter experts
