1,507 views
1 votes
1 votes
Argue that since sorting $n$ elements takes $\Omega (n\ lgn)$ time in the worst case in the comparison model, any comparison-based algorithm for constructing a $BST$ from an arbitrary list of n elements takes $\Omega (n\ lgn)$ time in the worst case.

1 Answer

Related questions

0 votes
0 votes
0 answers
3
akash.dinkar12 asked Jun 25, 2019
156 views
Come up with a real-world problem in which only the best solution will do. Then come up with one in which a solution that is “approximately” the best is good enough.