Training/practice coding exercises from different sites and books.
I tend to forget specific algo tricks after 2 months. I hope this repo helps to refresh my memory. Perhaps it also might help you if you're looking for examples.
- Project euler - 📂
euler
- Introduction to algorithms - 📂
intro_algorithms
- Leetcode - 📂
leetcode
- Hackerrank - 📂
hackerrank
(Automatically synched) - The Algorithm Design Manual - 📂
algo_design
- Miscellaneous 📂
misc
All files are scripts .exs
. Run the tests with elixir path/to/file
Use Python 3.6. And run doctests with python -m doctest path/to/file
You can also create a virtual environment and use pytest
and pytest-cov
to run all the tests from the root directory.
Use node 8.x. You can run doctests with yarn doctest path/to/file