minmaxn

Crates.iominmaxn
lib.rsminmaxn
version0.2.0
sourcesrc
created_at2022-12-01 08:46:08.602278
updated_at2022-12-01 09:46:40.803586
descriptionfinding the minimum or maximum n values from an iterable
homepage
repositoryhttps://github.com/jonay2000/minmaxn
max_upload_size
id727445
size10,683
Jonathan Dönszelmann (jdonszelmann)

documentation

README

MinMaxN

Find the minimum and maximum k values in an iterable in O(n * k) time when k < log2 n, otherwise O(n log n + k)

Commit count: 4

cargo fmt