Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / hanuman

Not all tree takes O(logn) time. but only BST takes O(logn) time just because it search,insert, delete node using mid element that means complexity of that tree is O(logn).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

When new data are to be inserted into a data structure?

0 Answers  


What is circular linked list?

0 Answers  


How do we find duplicate elements in an array?

0 Answers  


What do you mean by general trees?

0 Answers  


Define balance factor of a node in avl tree?

0 Answers  


How to find if linked list has loop?

0 Answers  


Give one example of right rotation.

0 Answers  


What is a stable sort?

0 Answers  


List the data structures which are used in hierarchical data model.

0 Answers  


When would you use a hashmap?

0 Answers  


Name the areas in which you can apply data structures extensively?

0 Answers   Accenture,


When is a binary search best applied?

0 Answers  


Categories