A modular, object-oriented and modern C++ template library for competitive programming, containing decently optimized implementations of essential algorithms, data structures and code snippets for utility.
I also made an extension to use with to auto fold template implementations.
math/- Mathematical algorithms including combinatorics, number theory, matrix operations, and bit manipulation techniquesgraph/- Graph algorithms for connectivity, flow problems, shortest paths, and advanced graph operationsranges/- Data structures for range queries including segment trees, Fenwick trees, and square root decompositionstring/- String processing algorithms for pattern matching, hashing, palindrome detection, z-function etc.tree/- Tree algorithms including LCA queries, tree decomposition, heavy light decomposition etc.utility/- Essential utilities with common macros, template I/O, hidden data structures, and competitive programming helpers
Feel free to contribute by:
- Adding new algorithm implementations
- Improving existing code efficiency
- Adding more detailed documentation
- Reporting bugs or suggesting improvements
This project is open source and available under the MIT License.