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

#2575 in Algorithms

Download history 41/week @ 2024-11-13 60/week @ 2024-11-20 141/week @ 2024-11-27 47/week @ 2024-12-04 35/week @ 2024-12-11 42/week @ 2024-12-18 3/week @ 2024-12-25 10/week @ 2025-01-01 12/week @ 2025-01-08 68/week @ 2025-01-15 24/week @ 2025-01-29 25/week @ 2025-02-05 56/week @ 2025-02-12 22/week @ 2025-02-19 21/week @ 2025-02-26

126 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