rsalgo 0.0.1-init.1

A collection of some algorithms and data-structures.
Documentation
  • Coverage
  • 88.89%
    8 out of 9 items documented6 out of 6 items with examples
  • Size
  • Source code size: 28.42 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.37 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • StardustDL/Algorithms-in-Rust
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • StardustDL

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