https://github.com/r1walz/cookbook
A repository containing cookbook to our most used algorithms.
https://github.com/r1walz/cookbook
algorithms cookbook cpp hacktoberfest
Last synced: 9 months ago
JSON representation
A repository containing cookbook to our most used algorithms.
- Host: GitHub
- URL: https://github.com/r1walz/cookbook
- Owner: r1walz
- License: mit
- Created: 2020-10-15T10:52:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-16T12:23:36.000Z (over 5 years ago)
- Last Synced: 2025-07-15T06:18:02.957Z (12 months ago)
- Topics: algorithms, cookbook, cpp, hacktoberfest
- Language: C++
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Cookbook
A repository containing cookbook to our most used algorithms.
## How to use this repository?
Since the work is distributed use the [MIT License](LICENSE), you can freely copy and modify the code contained. Find the algorithm that you want to use in the directory given below and get coding!
## Directory
The repository follows a simple structure, add your work under the relevant directory with the name `[_].cpp`.
Prepend `t` or `s` to indicate type of optimization done (here time/space respectively).
For example, let's say we want to add 0-1 knapsack then we may add it under `dynamic_programming/0_1_knapsack.cpp`, when no optimizations were done. Or `dynamic_programming/0_1_knapsack_s1.cpp`, where `_s1` indicated some sort of `space` optimizations.
Yes, we avoid spaces in naming! Use `_`s, please.
## Contributing
A complete contributing guidelines is available [here](CONTRIBUTING.md). Please, carefully go through it before submitting a pull request!
## License
The work is distributed under the [MIT License](LICENSE).