max_n

Crates.iomax_n
lib.rsmax_n
version0.1.0
created_at2022-12-01 12:31:15.456788+00
updated_at2022-12-01 12:31:15.456788+00
descriptionA utility function on iterators to find the maximum or minimum n values
homepage
repositoryhttps://github.com/JonathanBrouwer/max_n
max_upload_size
id727580
size6,858
Jonathan Brouwer (JonathanBrouwer)

documentation

README

Max_N

This crate can compute the maximum or minimum k values of an iterator of size n in O(n * log k) time and O(k) space. It uses a fixed-size heap to do this.

Commit count: 3

cargo fmt