Skip to content

💤 Lazy selection algorithm, from Randomized Algorithms (Motwani, Raghavan) p.47

License

Notifications You must be signed in to change notification settings

carlosgeos/lazy-selection

Repository files navigation

LazySelect

Empirical testing of the following theorem:

Theorem 3.5:

With probability 1 - O(n^{-1/4}), LazySelect finds S_k on the first
pass through, and thus performs only 2n + o(n) comparisons

Usage

$ lein run

About

💤 Lazy selection algorithm, from Randomized Algorithms (Motwani, Raghavan) p.47

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published