why do tree always takes o(log n) time?

Answer Posted / manish kumar yadav

Tree always takes o(log n) time because tree has height is
(log n).

Is This Answer Correct ?    24 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is heap and its types?

510


What is the difference between hashmap and linkedhashmap?

471


Explain the difference between a list and array.

556


State the merits of linear representation of binary trees?

606


What is an externalizable interface?

536






What is the difference between collection and collections?

549


Can we extend an array after initialization?

590


What do you mean by shortest path?

549


What are the types of algorithms?

564


How do you find the height of a binary tree?

493


What do you mean by recursive definition?

513


Define level of the tree?

575


Name few classes that implement collection interface?

548


Explain the uses of matrix with an example?

558


What is reduction to sorting method?

528