REPOSITORY OVERVIEWLive repository statistics
★ 2Stars
⑂ 0Forks
◯ 0Open issues
◉ 2Watchers
56/100
OPENREPOHUB HEALTH SIGNALMixed signals
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
90 Community adoption25% weight
5 Maintenance state20% weight
100 License clarity10% weight
0 Project information10% weight
35 This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
Competitive Programming C++ Templates
This repository contains my personal competitive programming code templates written in C++.
It is organized by topic so I can quickly find and reuse standard implementations during contests.
Repository Structure
Each folder contains multiple ready-to-use C++ codes for a specific topic, such as:
- Bit Manipulation
- DP
- DSU
- Geometry
- Graph
- Hashing
- LCA / Binary Lifting
- Number Theory
- Segment Tree
- String Algorithms
- Trie
- Others
Purpose
This repo helps me:
- Save time during programming contests
- Keep standard algorithms in one place
- Reuse tested implementations
- Stay organized by topic
- Quickly update or improve existing templates
Topics Covered
- Bit Manipulation
- Dynamic Programming
- Disjoint Set Union (DSU)
- Geometry
- Graph Algorithms
- Hashing
- Lowest Common Ancestor (LCA)
- Binary Lifting
- Number Theory
- Segment Tree
- String Algorithms
- Trie
- Other useful templates and tricks
How to Use
- Open the folder of the topic you need.
- Copy the required C++ code template.
- Paste it into your contest solution.
- Modify it according to the problem statement.
- Compile and submit.
File Format
- All templates are written in C++
- Most files are designed for competitive programming use
- Code is kept short, fast, and practical
- Template names are based on the algorithm or technique they implement
Example Folder Layout
├── BIT 2D sum sparse table
├── Bit manipulation
├── DP
├── DSU
├── Geometry
├── Graph
├── Hashing
├── LCA, Binary Lefting
├── Number Theory
├── Others
├── Segment_Tree
├── String Algorithm
├── Trie
├── Template
└── README.md
ALGORITHMICALLY RELATEDSimilar Open-Source Projects
Selected from shared topics, language and repository description—not editorial ratings.
This repository contains the solutions and explanations to the algorithm problems on LeetCode. Only medium or above are included. All are written in C++/Python and implemented by myself. The problems attempted multiple times are labelled with hyperlinks.
80/100 healthRecently updatedActive repository
C++No license#algorithms#cpp#leetcode
⑂ 1.3K forks◯ 6 issuesUpdated 2 days ago
This repository contains codes for various data structures and algorithms in C, C++, Java, Python, C#, Go, JavaScript, PHP, Kotlin and Scala
75/100 healthRecently updatedActive repository
JavaMIT#algorithms#c#cpp#csharp
⑂ 274 forks◯ 159 issuesUpdated 1 day ago