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

What is bubble sort and quick sort?

945


What does abstract data type mean?

914


Calculate the efficiency of sequential search?

931


Why hashmap is faster than hashtable?

1020


How memory is reserved using a declaration statement in data structure?

1134


Which sorting method is slowest?

965


What is Insertion sort, selection sort, bubble sort( basic differences among the functionality of the three sorts and not the exact algorithms)?

991


Define balancing condition for AVL Tree.

1035


What is an example of an array?

1049


What is a vector element?

892


Can we extend an array after initialization?

1061


Which data structure is applied when dealing with a recursive function?

1035


Differentiate bfs and dfs?

1010


What will be the output of below code?

1032


Define path in a graph?

925