Coding problems with modern languages, TDD and CI.
CargoCMakeGoPython3NodeJS, Yarn
packages/algo-cpp/: solutions in c++ (17)algo-go/: solutions in golangalgo-py/: solutions in python 3algo-rust/: solutions in rustalgo-ts/: solutions in typescript
- C++ 11/17
- Testing: gtest
- Conventions: Google style guide
- Go 1.7
- Testing:
go test. - Conventions: Uber style guide
- python 3.x
- Testing:
python unittest - Conventions: google pyguide
- rustc 1.56
- Testing:
cargo test - Conventions:
cargo clippy
All problems are prefixed with algo- an enumerated from zero. This way you can easily find the solutions in any package.
Checkout the list of problems here
All packages are configured to use Makefile as follow
make -C packages/algo-[lang]/ testExcept for algo-ts, where we use yarn
yarn --cwd packages/algo-ts/ testPlease feel free to create a PR for:
- Adding more coding problems (with solutions in all packages if possible)
- Improving existing solutions
- Improving projects' config/setup
- Resolving pending TODO's
NOTE: This repository follows conventional commits practices.
Ideally what we want:
- A good description with examples, images or a link to
leetcode,hackerankor similar. - All PR must be submitted with tests
- If possible, you might want to provide the solutions in all the different languages.
- Setup linting CI jobs
- Use yarn pnp to reduce CI run time
- Add GTest sources to repo
- Fix type check in vscode for algo-cpp and gtest
- Setup linting for every package
- Setup input text files to load during tests