# Algorithms & data structures [![Crates.io](https://img.shields.io/crates/l/alg-ds)](https://gitlub.com/dvshapkin/alg-ds/LICENSE) ### 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