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

How do you balance a tree?

0 Answers  


Does treeset remove duplicates?

0 Answers  


What is significance of ” * ” ?

0 Answers  


What is a graph?

3 Answers  


Write the stack overflow condition.

0 Answers  


Does arraylist extend list?

0 Answers  


How to find if linked list has loop?

0 Answers  


How many different binary trees and binary search trees can be made from three nodes that contain the key values 1, 2 & 3?

28 Answers   Accenture, Amazon, College School Exams Tests, iGate, Microsoft, TCS, Wipro,


Which interfaces are implemented by hashmap?

0 Answers  


Differentiate null and void?

0 Answers  


Which sorting algorithm has minimum number of swaps?

0 Answers  


What are the advantages of sorting and filtering data?

0 Answers  


Categories