InterviewSolution
Saved Bookmarks
| 1. |
What is indexed skip list?(a) it stores width of link in place of element(b) it stores index values(c) array based linked list(d) indexed treeI want to ask this question from Skip List topic in chapter Types of Lists of Data Structures & Algorithms IThe question was asked during an online interview. |
|
Answer» CORRECT answer is (a) it stores width of link in place of element The best explanation: The width is DEFINED as number of BOTTOM layer LINKS that are being traversed by each of higher layer elements. e.g: for a level-2 skip LISTS, all level-1 nodes have 1 as width, for level-2 width will be 2. |
|