1.

Is a skip list like balanced tree?(a) true(b) falseI would like to ask this question from Skip List in division Types of Lists of Data Structures & Algorithms IThis question was addressed to me at a job interview.

Answer» RIGHT ANSWER is (a) true

Explanation: Skip list behaves as a BALANCED tree with HIGH probability and can be commented as such because nodes with different heights are MIXED up evenly.


Discussion

No Comment Found

Related InterviewSolutions