SkillAgentSearch skills...

Algovault

Algorithms and templates for competitive programming

Install / Use

/learn @sgtlaugh/Algovault

README

GitHub stars license

Algovault

A collection of algorithms, data structures and templates for competitive programming

<li>Useful in online competitions like <a href="https://codeforces.com">CodeForces</a>, <a href="https://codingcompetitions.withgoogle.com/codejam">Google Code Jam</a></li> <li>Simple to use as a black-box without compromising performance</li> <li>Example usage and sufficient documentation</li> <br> Codes are mostly written in C++. majority should work with C++11 and some might require C++14 or higher. Some algorithms are written in Python. For Python, use Python 3. Most of them should be compatible with PyPy as well. </br> <br> Implementations are usually stress-tested and cross-checked against various problems. Nonetheless, they are not guranteed to be flawless and work in all cases. </br> <br> For bugs, refactoring and improvements, feel free to file an issue or a pull request as contributions are always welcome. </br>

The Zen Of Contributing

Inspired from The Zen Of Python

Beautiful is better than ugly

Simple is way better than complex

Consistency matters

Flat is preferred over nested

Typing is better than incomprehensible macros

Because readability counts

But not as much as speed

Some documentation is better than no documentation

No documentation is better than extensive documentation

But not as important as ease of reusing as a black box

Four spaces are better than tabs

Tabs are better than no spaces

If the implementation is hard to explain, it's a bad idea

If the implementation is easy to explain, it may be a good idea

Namespaces are one honking great idea, let's do more of those!

Future Work

<ol> <li>This is still a work in progress so I'll port more code from my template over the time</li> <li>Add stress tests, automated unit tests and integration tests</li> <li>Refactor and simplify old implementations</li> <li>Add practice problems</li> <li>Add a comprehensive index</li> </ol>

License

The project is licensed under the MIT License

View on GitHub
GitHub Stars95
CategoryDevelopment
Updated2mo ago
Forks20

Languages

C++

Security Score

100/100

Audited on Jan 10, 2026

No findings