problems | ||
.gitignore | ||
license.txt | ||
readme.md |
Leetcode
How to run solutions
For programs written in C:
cd problems/random-problem
make
make run
For programs written in Rust:
cd problems/random-problem
cargo test
Solution structure
For programs written in C:
lib.c
- the solution itselfmain.c
- tests
For programs written in Rust:
src/lib.rs
- solution and tests