标签: algorithm data-structures skip-lists
我可以知道为什么跳过列表的插入时间复杂度对于平均情况是O(log n),以及为什么具有n个元素的Skip list的高度是高概率的O(log n)。为什么每层的平均搜索时间是O(1)。
答案 0 :(得分:1)
我可以帮助O(log n)部分。
...基本上 [Skip list searching] is quite reminiscent of binary search in an array and is perhaps the best way to intuitively understand why the maximum number of nodes visited in this list is in .