rust-algorithms

Solutions to Hackerrank Algorithms in Rust.

instructions

  • compile with rustc main.rs or cargo build (for subdirs with a Cargo.toml file).
  • test with ./main < test.txt or cargo run < test.txt