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

#1861 in Algorithms

50 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