431 B
431 B
Leetcode
How to run solutions
For programs written in Rust:
cd problems/random-problem
cargo test
For programs written in Ruby:
cd problems/random-problem
ruby test.rb
Solution structure
For programs written in Rust:
src/lib.rs
- solution and tests
For programs written in Ruby:
main.rb
- the solution itselftest.rb
- tests