rsalgo

Crates.iorsalgo
lib.rsrsalgo
version0.0.1-init.1
sourcesrc
created_at2019-02-10 06:29:50.601385
updated_at2019-02-10 14:11:57.301013
descriptionA collection of some algorithms and data-structures.
homepage
repositoryhttps://github.com/StardustDL/Algorithms-in-Rust
max_upload_size
id113869
size24,078
StardustDL (StardustDL)

documentation

README

Algorithms in Rust

Codacy Badge Average time to resolve an issue Percentage of issues still open

Algorithms

  • Discretization
  • Dichotomy
    • Lower bound
    • Upper bound
    • Equal range
  • Inversion pairs
  • Next subset
  • Quick pow, quick multiply
  • Matrix
  • Prime test
  • GCD, LCM
  • Inverse element (Modal meaning)
  • Linear sieve
  • Trichotomy
  • Tree diameter

Data-structures

  • Disjoint set
  • Monotonic queue
  • Sparse Table
  • Prefix sum
  • Fenwick tree
  • Segment tree
  • Leftist heap
  • Trie
  • String hash
  • Shortest path
    • Single source
    • Multi source
  • Topological sorting
  • DFS order
  • Minimum spanning tree

Development

$ cargo test
Commit count: 14

cargo fmt