What is the time complexity improvement of skip lists from linked lists in insertion and deletion?
What is the time complexity improvement of skip lists from linked lists in insertion and deletion? Correct Answer O(n) to O(logn) where n is number of elements
In Skip list we skip some of the elements by adding more layers. In this the skip list resembles balanced binary search trees. Thus we can change the time complexity from O (n) to O (logn)