In accordance with this thesis , which I find more reliable than wikipedia, Wikipedia is erroneous . A probabilistic skip list is the Theta(nlogn)worst complexity of the space.
, PSL , Theta (n lg n) Theta (n)
, f(n) , f(n) = O(logn), , . , f(n) , O(nlogn) , O(nlogn), O(n).
:
, , , :
"" node "" .
E(#nodes) = Sigma(E(
, .
E(#nodes_for_column_i) = 1 + 1/2 + ... + 1/n < 2 ( i). , 1 1 node, p = 1/2, node. p '= 1/2, node (total p * p' = 1/4),.... , :
E(#nodes) = n*E(