Question: n a perfect SkipList, elements at odd - numbered positions ( within the current level ) get promoted to the next level. For example, elements
n a "perfect" SkipList, elements at oddnumbered positions within the current level get promoted to the next level. For example, elements of L with indices will appear in L Half of them, elements with indices will appear in L Elements with indices will appear in L and so on
Which of the following facts, which are all true about the "perfect" SkipList, are still true about the original randomized SkipList?
This is a multiselect question. Points are evenly distributed across all answers. Learners earn partial points for each answer correctly selected and left blank. Learners lose points for answers incorrectly selected or left blank. Learners cannot receive less than points.
Question options:
Assuming that the number of elements, n is the power of every level has exactly half the nodes of the level below.
The runtime of geti setix and findx is Olength of search path to index i or element x
The amount of space required by the SkipList is: space required for the dummy nodeLLLh where h is the height of the SkipList.
Every node will have height Olog n where the height of a node is the number of lists Lr that contain that node or equivalently, the length of its next array
Lr ~ Lrin expectation for all r
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
