>RunTimeFix
BookStudyPracticeInterviewsYouTubeCoursesAbout
Log inGet Started

Structured Practice

Practice by topic. Not by rating.

Codeforces problems organized into granular subtopics — BFS, DFS, multi-source BFS, Dijkstra, Bellman-Ford, bitmask DP, monotonic stack, and more. Each subtopic ramps from easy → medium → hard.

Categories
25
Subtopics
99
Problems
359+

Implementation & Ad-Hoc

Straight-forward coding, simulations, and careful reading of problem statements.

3 subtopics · 17 problems

Mathematics & Number Theory

Divisibility, primes, GCD/LCM, modular arithmetic, sieve techniques, and Euler's totient.

5 subtopics · 22 problems

Sorting & Searching

Sorting-based reasoning, binary search on arrays, and binary search on the answer.

4 subtopics · 19 problems

Prefix Sums & Difference Arrays

Range sum queries, range updates, 2D prefix sums, and XOR prefix.

4 subtopics · 16 problems

Two Pointers & Sliding Window

Linear-time scanning with two converging or co-moving pointers.

4 subtopics · 17 problems

Greedy Algorithms

Make locally optimal choices that lead to a globally optimal solution.

4 subtopics · 16 problems

Bit Manipulation

XOR tricks, bitmask enumeration, bitwise operations, and subset iteration.

3 subtopics · 13 problems

Combinatorics & Counting

Counting, permutations, combinations, inclusion-exclusion, and constructive algorithms.

4 subtopics · 15 problems

Recursion & Backtracking

Generate solutions by exploring all possibilities, prune when invalid.

4 subtopics · 11 problems

String Algorithms

Hashing, KMP, Z-function, tries, suffix structures, and string matching.

6 subtopics · 19 problems

Stacks, Queues & Deques

Monotonic stacks, monotonic deques, bracket matching, and expression parsing.

3 subtopics · 10 problems

Disjoint Set Union (DSU)

Union-Find: track connected components with union by rank + path compression.

3 subtopics · 10 problems

Dynamic Programming — Fundamentals

Core DP patterns: linear, 2D grid, knapsack, LIS, and LCS.

6 subtopics · 23 problems

Dynamic Programming — Advanced

Bitmask DP, digit DP, interval DP, tree DP, probability DP, and DP optimizations.

8 subtopics · 26 problems

Segment Trees & Fenwick Trees

Point update + range query, lazy propagation, and BIT variants.

4 subtopics · 14 problems

Sparse Table, Sqrt Decomposition & More

Sparse table for static RMQ, sqrt decomposition, and Mo's algorithm.

3 subtopics · 7 problems

Trees

Rooted trees, tree DFS, subtree queries, LCA, diameter, Euler tour, and heavy-light decomposition.

6 subtopics · 20 problems

Graph Traversal

BFS, DFS, connected components, multi-source BFS, 0-1 BFS, and bipartite checking.

5 subtopics · 21 problems

Graph Algorithms

Cycle detection, topological sort, bridges, articulation points, and strongly connected components.

5 subtopics · 16 problems

Shortest Paths

Dijkstra, Bellman-Ford, Floyd-Warshall — weighted shortest path algorithms.

3 subtopics · 13 problems

Minimum Spanning Tree

Kruskal's and Prim's algorithms for minimum spanning trees.

2 subtopics · 5 problems

Network Flow & Matching

Max flow / min cut, bipartite matching, and min cost max flow.

2 subtopics · 6 problems

Game Theory

Nim, Sprague-Grundy theorem, minimax, and game-state analysis.

3 subtopics · 9 problems

Computational Geometry

Convex hull, line sweep, point-in-polygon, and geometric primitives.

3 subtopics · 9 problems

Matrix Exponentiation & FFT

Matrix power for linear recurrences and FFT/NTT for polynomial multiplication.

2 subtopics · 5 problems

Frequently Asked Questions

Where do the practice problems come from?+
All problems are carefully curated from Codeforces and organized by topic and difficulty (easy → medium → hard). Each subtopic builds on the theory from our study library.
Do I need a Codeforces account?+
Yes — clicking 'Solve' opens the problem directly on Codeforces where you can submit your solution. A free Codeforces account is required.
How should I use the practice section?+
Pick a topic, study the theory in our free book or study library first, then solve problems in order from easy to hard. Don't skip difficulties — the progression is intentional.
How many problems are available?+
We have 400+ curated problems across 15+ categories and 40+ subtopics. New problems are added regularly.

Want the theory behind these topics?

Every topic above is covered in detail in our free book and study library. Learn the concepts first, then practice them here.

Study LibraryFree Book
>RunTimeFix

Practical programming education. Books, videos, courses, and hands-on learning for competitive programming, DSA, and software engineering.

RunTimeFix

  • About
  • YouTube
  • Book
  • Study Library
  • Courses

Learn

  • Competitive Programming
  • DSA
  • Development
  • Databases

Legal

  • Privacy
  • Terms
  • Refund Policy

RunTimeFix — debug → solve → run

© 2026 RunTimeFix. All rights reserved.