awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
EndlessCheng avatar

EndlessCheng/codeforces-go

0
View on GitHub↗
space.bilibili.com/206214↗

Codeforces Go

Codeforces-go is a competitive programming algorithm library written in Go, providing a collection of reusable code templates for solving algorithmic problems. It covers core areas including data structures, graph algorithms, dynamic programming, and mathematical computation, with pre-built implementations for segment trees, Fenwick trees, shortest paths, minimum spanning trees, knapsack DP, interval DP, and number theory routines.

The library organizes its templates by algorithmic pattern, grouping them into categories such as DP, graph, and math to match common contest question structures. It is designed for template-based code reuse, offering parameterized code blocks that users adapt by filling in problem-specific logic rather than rewriting from scratch. The project is a zero-dependency Go module that leverages only the standard library.

A test-case generation framework is included, which generates random inputs and compares solution output against a brute-force reference for correctness verification. The entire library is written in Go, utilizing its standard library and concurrency primitives for efficient algorithm execution.

Features

  • Template Libraries - Organises reusable algorithm implementations as standalone templates for rapid copy-paste into contest solutions.
  • Data Structure Implementations - Provides pre-built implementations of segment trees, Fenwick trees, and union-find for algorithmic problem-solving.
  • Competitive Programming Repositories - Solves algorithmic problems in competitive programming contests with pre-written, optimized code templates.
  • Competitive Programming Templates - Provides parameterised code blocks that users adapt by filling in problem-specific logic rather than rewriting from scratch.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
8,541 stars·810 forks·Go·MIT·24 views
  • Dynamic Programming Patterns - Ships ready-to-use templates for knapsack, interval, tree, and digit DP to solve optimization problems.
  • Graph Algorithm Routines - Implements shortest paths, minimum spanning trees, maximum flow, and tree query routines for competitive programming.
  • Mathematical Algorithms - Provides templates for GCD, FFT, matrix operations, and number theory algorithms for contest problem-solving.
  • Algorithmic Patterns - Groups templates by problem-solving patterns like DP, graph, and math to match contest question structures.
  • Go Language Implementations - Written entirely in Go, leveraging its standard library and concurrency primitives for efficient algorithm execution.
  • Zero-Dependency Libraries - Operates as a standalone Go module with no external runtime dependencies beyond the standard library.
  • Test Case Generators - Includes a harness that generates random inputs and compares solution output against a brute-force reference for correctness.
  • Star history

    Star history chart for endlesscheng/codeforces-goStar history chart for endlesscheng/codeforces-go

    How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

    Frequently asked questions

    What does endlesscheng/codeforces-go do?

    Codeforces-go is a competitive programming algorithm library written in Go, providing a collection of reusable code templates for solving algorithmic problems. It covers core areas including data structures, graph algorithms, dynamic programming, and mathematical computation, with pre-built implementations for segment trees, Fenwick trees, shortest paths, minimum spanning trees, knapsack DP, interval DP, and number theory routines.

    What are the main features of endlesscheng/codeforces-go?

    The main features of endlesscheng/codeforces-go are: Template Libraries, Data Structure Implementations, Competitive Programming Repositories, Competitive Programming Templates, Dynamic Programming Patterns, Graph Algorithm Routines, Mathematical Algorithms, Algorithmic Patterns.

    Which projects share features with endlesscheng/codeforces-go?

    Projects with overlapping indexed features include: omonimus1/competitive-programming — This repository serves as a comprehensive resource for competitive programming and technical interview preparation. It… mandliya/algorithms_and_data_structures — This project is a comprehensive collection of C++ libraries and toolkits providing reference implementations for data… cp-algorithms/cp-algorithms — This project is a comprehensive reference for algorithms and data structures used to solve complex computational… wisdompeak/leetcode — This project is a curated library of algorithm implementations and solved programming problems. It serves as a… chanda-abdul/several-coding-patterns-for-solving-data-structures-and-algorithms-problems-during-interviews — This repository is a curated guide and implementation library of coding patterns used to solve data structures and… oi-wiki/oi-wiki — This project is a comprehensive, community-maintained knowledge base and toolkit designed for competitive programming.…

    Projects sharing features with Codeforces Go

    These projects share indexed features with Codeforces Go. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
    • omonimus1/competitive-programmingomonimus1 avatar

      omonimus1/competitive-programming

      978View on GitHub↗

      This repository serves as a comprehensive resource for competitive programming and technical interview preparation. It provides a structured collection of source code implementations for fundamental data structures and classic algorithmic problems, designed to help developers master core computer science concepts and efficient coding strategies. Beyond standard problem-solving, the project distinguishes itself by integrating software design patterns into its algorithmic implementations. It demonstrates how to apply structural and behavioral patterns—such as decorators, observers, and singleto

      C++algorithmalgorithms-and-data-structurescodechef-solutions
      View on GitHub↗978
    • cp-algorithms/cp-algorithmscp-algorithms avatar

      cp-algorithms/cp-algorithms

      10,805View on GitHub↗

      This project is a comprehensive reference for algorithms and data structures used to solve complex computational problems in competitive programming. It serves as a technical resource for implementing advanced mathematical programming, computational geometry, and graph theory. The repository provides detailed implementation guides for diversifying algorithmic techniques, including top-down and bottom-up dynamic programming optimization, number theory, and linear algebra. It features specific guides for complex tasks such as constructing planar graphs, solving linear Diophantine equations, and

      C++algorithm-competitionsalgorithmsalgorithms-and-data-structures
      View on GitHub↗10,805
  • mandliya/algorithms_and_data_structuresmandliya avatar

    mandliya/algorithms_and_data_structures

    6,145View on GitHub↗

    This project is a comprehensive collection of C++ libraries and toolkits providing reference implementations for data structures, graph algorithms, and bitwise logic. It serves as a C++ algorithm reference containing over 180 solved coding problems and a specialized toolkit for competitive programming. The repository distinguishes itself through extensive low-level bit manipulation libraries for parity checks, endianness detection, and XOR-based logic. It also provides a wide array of reference solutions for complex algorithmic challenges involving backtracking, graph theory, and dynamic prog

    C++algorithmbit-manipulationc
    View on GitHub↗6,145
  • wisdompeak/leetcodewisdompeak avatar

    wisdompeak/LeetCode

    6,186View on GitHub↗

    This project is a curated library of algorithm implementations and solved programming problems. It serves as a reference repository for competitive programming and data structure implementations, providing optimized solutions for a wide range of coding challenges. The collection organizes code examples by algorithmic technique, specifically focusing on the implementation of trees, graphs, and heaps to optimize time and space complexity. It provides language-specific solutions used for high-performance coding tasks. The repository covers a broad set of capabilities, including graph traversals

    C++
    View on GitHub↗6,186
  • Compare all 30 related projects→