Skip to content

About

C++ solutions to CCC, IOI, and LeetCode problems plus classic algorithm templates, each with a write-up of the approach and complexity.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Competitive Programming Solutions (C++)

Personal repository of competitive programming solutions, algorithmic challenge implementations, and data structure templates written in modern C++.

License: MIT Language: C++

Note: If you are working through these problems, try solving them on your own first! Feel free to reference these solutions if you get stuck or want to study alternative algorithmic approaches.


Start with the reasoning

The docs folder explains how the solutions in this repository work. Each problem has its own README with the approach, a small example, complexity, and relevant implementation limits.

Repository Structure

.
├── Algorithms/         # Classic algorithms & data structures (DP, Union-Find, LCS, LIS, BST)
├── CCC/                # Canadian Computing Competition (Senior & Junior stages)
├── docs/               # Solution explanations, organized to match the source folders
├── IOI/                # International Olympiad in Informatics
├── LeetCode/           # LeetCode problems indexed by number and title
├── *.cpp               # Individual contest challenges (CCO, DMOPC, DMPG, DWITE, Hacker Cup)
└── LICENSE             # MIT License

Categorized Archives

Directory Focus & Contests
Algorithms/ Classic algorithms and foundational data structures (Disjoint Set Union, Coin Change, Longest Common Subsequence, Longest Increasing Subsequence, Ternary Search Tree, Backtracking)
CCC/ Canadian Computing Competition solutions (CCC Junior & Senior from 1996 to present, CCCHK)
IOI/ International Olympiad in Informatics problem solutions
LeetCode/ LeetCode algorithm and data structure problems with time/space complexity focus

Individual contest problems (e.g., Canadian Computing Olympiad CCO, DMOPC, DMPG, DWITE, Facebook Hacker Cup, CTU Open) reside at the root level.


All solutions are written in standard C++ and can be compiled using g++ or clang++ with C++17/C++20.


License

This repository is licensed under the MIT License.

About

C++ solutions to CCC, IOI, and LeetCode problems plus classic algorithm templates, each with a write-up of the approach and complexity.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages