1.

Which of the following is TRUE?(A) The cost of searching an AVL tree is θ (log n) but that of a binary search tree is O(n)(B) The cost of searching an AVL tree is θ (log n) but that of a complete binary tree is θ (n log n)(C) The cost of searching a binary search tree is O (log n ) but that of an AVL tree is θ(n)(D) The cost of searching an AVL tree is θ (n log n) but that of a binary search tree is O(n)

Answer»


Discussion

No Comment Found

Related InterviewSolutions