AlgorithmsSearching & hashingEdit on GitHubEdit history
Reservoir Sampling Algorithm L
Algorithm L1994
A reservoir sampling algorithm that directly generates, from a geometric distribution, how many records to skip before the next replacement, maintaining the sample in O(k(1+log(N/k))) expected time.
Origin
Kim-Hung Li (1994). Reservoir-sampling algorithms of time complexity O(n(1 + log(N/n))). ACM Transactions on Mathematical Software 20(4).doi:10.1145/198429.198435 — checked against Crossref, 2026-11-08
Lineage
Algorithms 2 · Relations 1
Parent algorithms
Where it came from
Reservoir Sampling1985
Author statementThe paper presents reservoir-sampling algorithms with lower time complexity. — doi:10.1145/198429.198435
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…