Hi everyone! I just wanted to share a simple list of algorithms and topics that beginners (including me) should focus on when starting competitive programming. These are the basics that help a lot in early contests like Div3 and Educational Rounds.
- Basic Implementation
If/else, loops, arrays
String handling
Simulation problems These are the easiest and help you solve A/B problems regularly.
- Sorting
Using built-in sort
Understanding how sorting helps in greedy problems Many 800–1000 rated problems depend only on sorting + simple logic.
- Two Pointers
Using left/right pointers
Sliding window Very useful in array, string, and subarray problems around 1000–1200 rating.
- Prefix Sum
Prefix sum array
Difference array Helpful for range queries or cumulative calculations.
- Binary Search
Searching on sorted array
Searching on answer One of the most useful tools as difficulty increases.
- Basic Math
GCD / LCM
Prime checking
Modular arithmetic Math-based problems appear in almost every contest.
- Greedy Algorithms
Making decisions step-by-step
Sorting + choosing best option Most Div2 A/B/C problems use greedy ideas.
- Simple Graph Basics
BFS
DFS Just knowing these two will help solve many 1100–1300 rated problems.
- Beginner Level Dynamic Programming
1D DP
Simple DP like “stairs”, “knapsack basics” Not advanced DP — just the idea of memorization is enough for starting.
Goal for Beginners
Solve a few problems from each category and try to use these techniques inside contests. The more problems you solve, the easier it becomes to recognize which algorithm fits a problem.
That’s all for now! If you have more beginner-friendly algorithm suggestions, feel free to comment




