The name of this project is inspired by the etymology origin of the word "Algorithms".
The term "arithmetic" has its root in the Latin term "arithmetica" which derives from the Ancient Greek words ἀριθμός (arithmos), meaning "number", and ἀριθμητική τέχνη (arithmetike tekhne), meaning "the art of counting"
Algorithms are a key part of Computer Science concepts. This was created for my personal growth, but feel free to suggest / add new exercises.
This project uses Node.js, ensure you have it installed, and then run:
pnpm i
These Algorithms may have bugs! I don't check the solution against any platform or AI tools like ChatGPT. I'm old school, I compare them with Books or Wikipedia ;)
Each exercise is categorized in specific folders, the only requirement is to add a test (using the built-in Node.js Test runner) to run the algorithm.
Exercises:
This project includes a benchmarking tool that allows you to compare how the Algorithm performs against other implementations, the convention is to have a benchmark.mjs file beside the module.
This project uses Biome for code formatting and linting. I enjoy auto-formatting when saving, but you can disable that via your settings or check .vscode/settings.json
If you're a VS Code user, I highly recommend installing their Official extension
For other editors Read here
If you want to contribute, you have new ideas or just want help, feel free to create an issue.