I m reading the William Pugh s paper about skip-list. In section Initialization he says:
An element NIL is given a key greater than any legal key. All levels of all skip lists are terminated with NIL. A new list is initialized so that the level of the list is equal to 1 and all forward pointers of the list’s header point to NIL.
I m not sure of what he says. I think that he means: Let be n the maximum permitted level for each node. So build an header of level n. In a first step each level of the header points to NIL. It s right?
如今,当第一场节点到达时,将以一种有利于团结的方式加以插入,因此其程度不应预测。 他为什么谈一级名单? 失踪的人是什么?
最佳做法
MC