Crates.io | minmaxn |
lib.rs | minmaxn |
version | 0.2.0 |
source | src |
created_at | 2022-12-01 08:46:08.602278 |
updated_at | 2022-12-01 09:46:40.803586 |
description | finding the minimum or maximum n values from an iterable |
homepage | |
repository | https://github.com/jonay2000/minmaxn |
max_upload_size | |
id | 727445 |
size | 10,683 |
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)