Welcome to cp-blog

A platform for competitive programming tutorials, notes, and problem-solving strategies.

What is this site about

cp-blog is a personal knowledge base focused on competitive programming. Here you will find concise tutorials covering essential algorithms, data structures, and problem-solving techniques.

What you will find here

Each tutorial breaks down a topic with clear explanations and runnable code snippets. The problems section will eventually host curated practice problems with hints and solution sketches.

Algorithm Tutorials
Data Structures
C++ Implementations
Contest Strategies

Recent Tutorials

Tutorials

Your personal collection of competitive programming tutorials.

Problems

Curated problem sets with hints and solution sketches.

Coming Soon

Problem sets are being curated. Check back in a future update.

Profile

Your competitive programming stats and progress.

Coming Soon

Profile features including contest history and progress tracking will be available soon.

Settings

Customize your cp-blog experience.

Appearance

Dark mode
Monospace font in code blocks

Notifications

Email alerts for new tutorials coming soon
Browser notifications coming soon

Some settings are placeholders and will be fully functional in a future update.

About the Author

The person behind cp-blog.

DH

DreamxHava

NOI & IOI Participant

NOI and IOI participant. I write about the algorithms I had to learn the hard way, so you don't have to.

684
Codeforces
Newbie
1k+
Solved
lifetime
99+
Streak
days

Currently: Reviewing past programming progress + learning new algorithms and data structures + Got into ML side.

Why cp-blog exists

The goal is to create a no-nonsense resource where each tutorial is self-contained and code-focused. I hope you enjoy exploring and learning!