+1 vote
in Data Structures & Algorithms I by (110k points)
Is a skip list like balanced tree?

(a) true

(b) false

I would like to ask this question from Skip List in division Types of Lists of Data Structures & Algorithms I

This question was addressed to me at a job interview.

1 Answer

+1 vote
by (408k points)
selected by
Best 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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.