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

Answers were Sorted based on User's Feedback



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

Answer / baskerdearer

By using the skip list concept. we can search the sorted
linked list with O(log n).

Is This Answer Correct ?    35 Yes 10 No

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

Answer / sniper

Yes u are right ...
here are the details

http://msdn.microsoft.com/en-us/library/ms379573%28v=vs.80%29.aspx#datastructures20_4_topic4

thanks ...

Is This Answer Correct ?    3 Yes 1 No

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

Answer / 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

More Data Structures Interview Questions

What is binary tree in discrete mathematics?

0 Answers  


What is the minimum number of queues that can be used to implement a priority queue?

0 Answers  


How treemap orders the elements if the key is a string?

0 Answers  


What is data type in data structure?

0 Answers  


List the area of applications of data structure.

0 Answers  


How do you find the number of comparisons in bubble sort?

0 Answers  


how a polynomial such as 6x^6+4x^3-2x+10 can be represnted by linked list?write an algorithm that reads such an polynomial

1 Answers  


What is quick sort?

0 Answers  


Define union-by-weight?

0 Answers  


What is a string or array type?

0 Answers  


Which language is best for data structures?

0 Answers  


How do you find the depth of a binary tree?

0 Answers  


Categories