←back to thread

131 points matt_d | 1 comments | | HN request time: 0.206s | source
1. dreamcompiler ◴[] No.42819578[source]
Skip lists also have [statistically] sublinear times for insertions and range queries. Both are O(logn).

Fenwick trees seem to use much less memory while not being quite as general-purpose as skip lists.