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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain recursive function & what is the data structures used to perform recursion?

1061


Write an algorithm through which the inserting and deleting of elements can take place in circular queue?

1179


What is peek in stack?

943


How does bogo sort work?

998


What are the tasks performed during postorder traversal?

960


What is doubly linked list?

918


what are the applications of Linked Lists?

1019


What are three common types of traversals?

1018


Define red-black trees.

964


What is declaring array?

892


Explain exception filter?

968


Explain set interface?

1094


What are the advantages of bubble sort?

969


Explain the Array

1018


Can we put null key in hashmap?

910