AlgoHub
AlgoHub is a collection of hand-picked problems. If you are new to competitive programming you can learn the fundamentals at some of these sites:
Beyond the Fundamentals
But what about once you've learned the fundamentals? How should you practice then? Experts like Umnik recommend working through an archive of problems (as described in this Codeforces blog post).
It's a great approach, but the quality of problems on any given archive can vary greatly. If only there were a way to extract the highest quality problems available on the internet. We think we can do this! AlgoHub is a social site that allows users to curate and maintain their own lists of recommendations.
Canon Problems
Inspired by "Canon Events" from Across the Spiderverse, Canon Problems are the problems that after solving, fundamentally changed the way you approach competitive programming problems.
AlgoHub aims to collect these Canon Problems to enable you to maximize the effectiveness of your practice by leveraging the collective knowledge of the competitive programming community.
On Practicing
Algorithm Libraries
AlgoHub's Library of Choice
- Programming Team Code - A collection of algorithms for competitive programming in C++ and Rust, focused on correctness, efficiency, and readability.
Optimized for ICPC
- KACTL - KTH Algorithm Competition Template Library
- UCF Hackpack - University of Central Florida's team reference document
- ACM-ICPC Cheat Sheet - Comprehensive reference
- UCF Apocalypse Attack Hackpack - Another UCF team's reference
Optimized for Online Contests
- Library Checker Solutions - Solutions to the Library Checker problems
Extensive Libraries
- Koosaga's Library - Comprehensive collection
- Shahjalal Shohag's Code Library - Extensive algorithm collection
- dacin21's Codebook - Comprehensive reference
Clean Implementations
- Olymp C++ Lib - Clean and readable implementations
- Biblioteca - Well-organized algorithm library
Top Competitive Programmers' Libraries
- ecnerwala's CP Book - High-quality implementations
- tourist's Algorithms - Library by one of the world's top competitive programmers
- Neal Wu's Competitive Programming - Comprehensive collection
- bqi343's CP Notebook - Extensive reference
- suisen's CP Library - Modern C++ implementations
Python
- PyRival - Python library for competitive programming
Contribute
AlgoHub is an open-source project, and we welcome contributions from the community. If you'd like to help improve AlgoHub, please check out our GitHub repository.