6 releases

0.3.1 Jan 21, 2020
0.3.0 Jan 21, 2020
0.2.7 Jan 21, 2020
0.0.3 Jun 25, 2019

⚠️ Issues reported

#2262 in Algorithms

Download history 76/week @ 2024-07-25 113/week @ 2024-08-01 44/week @ 2024-08-08 177/week @ 2024-08-15 15/week @ 2024-08-22 22/week @ 2024-08-29 38/week @ 2024-09-05 19/week @ 2024-09-12 30/week @ 2024-09-19 122/week @ 2024-09-26 28/week @ 2024-10-03 44/week @ 2024-10-10 47/week @ 2024-10-17 27/week @ 2024-10-24 25/week @ 2024-10-31 78/week @ 2024-11-07

198 downloads per month
Used in toolbox

MIT license

25KB
708 lines

Algorithms & data structures

Crates.io

alg

Search algorithms:

namecomplexitydescription
max O(n) maximum in &[T]
min O(n) minimum in &[T]
binary O(log2n) binary search in &[T]
lcs O(mn) longest common subsequence

Sort algorithms:

namecomplexity
selection O(n2)
quick O(n log2n)

ds

namedescription
Matrix two-dimensional array

No runtime deps