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 is meant by linked list?

969


Can you provide some implementation of a dictionary having large number of words?

1161


What’s the difference between enumeration and iterator interfaces?

988


Which sorting technique is faster?

972


What are threaded binary trees?

1007


What is the minimum number of nodes that a binary tree can have?

1218


Why do we use insertion sort?

904


What is two-dimensional array?

1014


What is the complexity of adding an element to the heap?

990


List the differences between comparable and comparator interface?

972


What is Jagged Arrays?

1035


Is duplicate allowed in hashmap?

1129


Explain the difference between hashset and hashmap?

1173


What is the difference between ienumerable and list?

920


Is vector synchronized?

973