Tagged articles

Spatial Complexity

1 articles · Page 1 of 1
Tencent Cloud Developer
Tencent Cloud Developer
Jan 5, 2022 · Fundamentals

Understanding Skip Lists: Principles, Implementation in Go, and Redis Integration

The article explains skip list fundamentals, shows how probabilistic multi‑level indexing yields O(log n) search and O(n) space, provides a complete Go implementation with insertion, deletion and search functions, compares Redis’s enhanced skip list used in sorted sets, and answers common design questions.

Go ProgrammingIndex structureLinked List
0 likes · 17 min read
Understanding Skip Lists: Principles, Implementation in Go, and Redis Integration