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...

how to search an element in sorted linked list with time
complexity is O(log n).

Answer Posted / pritam

we can use the binary search algorithm for this problem because this searching algorithm has O(log n) performance in both worse and average case.

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by hash table?

1026


Can we put null key in hashmap?

888


What method is used to place a value onto the top of a stack?

1018


What do you understand by stable sort?

876


What is the difference between length () and size () of arraylist?

897


Define depth and height of a node?

912


What are basic algorithms?

887


What is a stable sorting algorithm?

1062


What is the best data structure and algorithm to implement cache?

948


Why are b trees used?

858


What data structure does a binary tree degenerate?

888


Is arraylist faster than array?

899


What are common data structures?

1005


What is the quickest sorting algorithm?

930


Define threaded binary tree.

1007