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

Differentiate between comparable and comparator.

1003


Which sorting is best for large data?

911


How to increase stack limit in w3wp.exe?

1042


What is difference between list set and map?

884


What is stable sorting method?

999


What is time and space complexity of bubble sort?

791


Explain what is a spanning tree?

972


In what order the elements of a hashset are retrieved?

943


List the area of applications of data structure.

1184


Is array of data structure?

824


What is the use of data structure in real life?

943


Is list an array?

821


What you mean by sorting?

914


What are the disadvantages of sequential storage?

1225


How does a heap sort work?

887