1.

What is a skip list?(a) a linkedlist with size value in nodes(b) a linkedlist that allows faster search within an ordered sequence(c) a linkedlist that allows slower search within an ordered sequence(d) a tree which is in the form of linked listThe doubt is from Skip List in portion Types of Lists of Data Structures & Algorithms IThis question was posed to me in homework.

Answer»

Correct answer is (b) a linkedlist that allows faster search within an ORDERED sequence

Easy explanation - It is a DATASTRUCTURE, which can MAKE search in sorted linked list faster in the same way as BINARY search tree and sorted array (using binary search) are faster.



Discussion

No Comment Found

Related InterviewSolutions