How endlesscheng/codeforces-go works
This repository is a Go competitive-programming knowledge base: engineers study reusable algorithm templates, apply them while solving problems, and use contest-oriented starter templates. The README documents broad coverage across data structures, strings, mathematics, dynamic programming, graphs, and problem-solving techniques; the tree also contains a large LeetCode archive and smaller AtCoder/GCJ solutions. The sampled solutions are standalone programs, so the graph does not imply they call the reusable templates. Template-generator wiring and unsampled internals are not inferred.
Main entry points: segment_tree.go Data structures · link_cut_tree.go Tree structures · graph.go Graph algorithms · graph_tree.go Tree and grid graphs
Components 20
Algorithm library
- Data structures
copypasta/segment_tree.go - Tree structures
copypasta/link_cut_tree.go - Graph algorithms
copypasta/graph.go - Tree and grid graphs
copypasta/graph_tree.go - String algorithms
copypasta/strings.go - String automata
copypasta/acam.go - Number theory
copypasta/math.go - Math transforms
copypasta/math_ntt.go - Computational geometry
copypasta/geometry.go - Dynamic programming
copypasta/dp.go - Basic techniques
copypasta/common.go
Problem archive
- LeetCode solutions
leetcode/biweekly/1/a/a.go - AtCoder solutions
misc/atcoder/abc163/e/main.go - GCJ solutions
misc/gcj/2020/1a/c/main.go
Contest templates
- General starter
copypasta/template/main.go - Platform templates
copypasta/template/atcoder/generator.go - LeetCode templates
copypasta/template/leetcode/generator.go
I/O and interaction
- Interactive starter
copypasta/template/interactive_problem/main.go - Fast I/O template
copypasta/io.go
Other components
- Competitive programmer
Connections 19
- Competitive programmer → Data structures: studies
- Competitive programmer → Tree structures: studies
- Competitive programmer → Graph algorithms: studies
- Competitive programmer → Tree and grid graphs: studies
- Competitive programmer → String algorithms: studies
- Competitive programmer → String automata: studies
- Competitive programmer → Number theory: studies
- Competitive programmer → Math transforms: studies
- Competitive programmer → Computational geometry: studies
- Competitive programmer → Dynamic programming: studies
- Competitive programmer → Basic techniques: studies
- Competitive programmer → LeetCode solutions: practices with
- Competitive programmer → AtCoder solutions: practices with
- Competitive programmer → GCJ solutions: practices with
- Competitive programmer → General starter: starts from
- Competitive programmer → Platform templates: uses
- Competitive programmer → LeetCode templates: uses
- Competitive programmer → Interactive starter: starts from
- Competitive programmer → Fast I/O template: references