我想知道为什么在平均情况下跳表插入的时间复杂度是O(log ),为什么n个元素的跳表的高度大概率是O(log )。以及为什么每层的平均搜索时间是O(1)。
发布于 2012-10-05 02:45:58
我可以帮助处理O(log )部分。
基本上..。[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 .
https://stackoverflow.com/questions/12733622
复制相似问题