Competitive Programming in C++: The Keys to Success
Gain insights into competitive programming, explore C++ skills with theory, code samples, practice problems, and master faster implementation for contests like ACM ICPC, Google CodeJam, and HackerCup.
Feel free to connect with me LI: https://www.linkedin.com/in/yash-kumar-0b6a8b1 Meet Me: https://topmate.io/yash_kumar18
Join 3.1 million developers at
What You'll Learn
- Apply fast C++ input/output techniques (sync, cin/cout, scanf/printf) for large datasets
- Analyze algorithm time complexity using Big-O, including amortized analysis and runtime comparisons
- Use core C++ features (limits, references, auto, pairs, min/max/swap) to write concise contest code
- Solve number theory tasks using modulus, factor counting, primality tests, and prime factorization
- Implement prime generation with Sieve and Segmented Sieve and justify their time/memory tradeoffs
- Solve array and string problems using prefix sums, two pointers, STL methods, and palindrome logic
- Implement and use stacks, queues, heaps, BSTs/AVL, and STL set/map for efficient contest solutions
Learning Roadmap
1.
Introduction
Introduction
2.
Complexity Analysis
Complexity Analysis
3.
Number Theory
Number Theory
12 Lessons
12 Lessons
4.
Arrays and Vectors
Arrays and Vectors
6 Lessons
6 Lessons
5.
Sieve of Eratosthenes
Sieve of Eratosthenes
4 Lessons
4 Lessons
6.
Strings
Strings
4 Lessons
4 Lessons
7.
Sorting
Sorting
8 Lessons
8 Lessons
8.
Linked List
Linked List
4 Lessons
4 Lessons
9.
Stack
Stack
4 Lessons
4 Lessons
10.
Queue
Queue
3 Lessons
3 Lessons
11.
Binary Tree
Binary Tree
3 Lessons
3 Lessons
12.
2 Pointers
2 Pointers
2 Lessons
2 Lessons
13.
Heap
Heap
6 Lessons
6 Lessons
14.
Binary Search Tree
Binary Search Tree
7 Lessons
7 Lessons
15.
Balanced Binary Search Tree
Balanced Binary Search Tree
6 Lessons
6 Lessons
16.
Hash Table
Hash Table
2 Lessons
2 Lessons
Yash Kumar
I have participated in many programming competitions during my college time. I have been to ACM ICPC '17 World Finals. Now I work as a Software Engineer and Teach / Mentor students in my free time.
Trusted by 3.1 million developers working at companies
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
Software Developer
Carlos Matias La Borde
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Built for 10x Developers












Free Resources