recategorized by
448 views
0 votes
0 votes

Consider we have an algorithm which generate preorder of any tree in Ο(log n) time, we have to create a Binary Search Tree with n distinct element. Which of the following will represents the worst case time complexity ?

  1. Ο(n)
  2. Ο(n log n)
  3. Ο(n2)
  4. Ο(1)
recategorized by

1 Answer

Related questions

1 votes
1 votes
1 answer
1
0 votes
0 votes
1 answer
2