Skip to content
INDEXSuggest a site
Back
CP-Algorithms

CP-Algorithms

coding / ProgrammingData Structures
FreeWeb
Visit site

A dense reference for algorithms used in programming contests.

CP-Algorithms is a community-maintained reference site covering algorithms, data structures, and mathematical techniques commonly used in competitive programming. Its articles explain the underlying ideas, complexity, and implementation details across topics such as graphs, strings, number theory, geometry, dynamic programming, and data structures.

Why it stands out

  • Strong focus on contest-relevant algorithms rather than general software tutorials.
  • Broad coverage of advanced topics that are often scattered across textbooks and blog posts.
  • Articles are structured for implementation, usually pairing theory with complexity and coding considerations.
  • Open community project with visible contribution guidelines and source repository.

Good to know

  • Primarily a reference, not an interactive course or online judge with graded practice.
  • Content assumes comfort with programming, discrete math, and algorithmic notation.
  • Scope is centered on competitive programming, so production engineering tradeoffs are usually outside its focus.

Under the radar: Use the tag index when a technique can live in multiple sections; it can reveal related articles that the sidebar hierarchy may separate.

Photos

Illustration for CP-Algorithms