Skip to content

A minimal C++ crash course focused on Data Structures & Algorithms, tailored for competitive programming and LeetCode. This repository covers the essential 20% of C++ that yields 80% of the results, helping you build a strong DSA foundation efficiently.

Notifications You must be signed in to change notification settings

MAGMA-KROSS/DSA-Cpp-Kickstarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ DSA Starter 🚀

This repo is a minimal C++ crash course focused on Data Structures & Algorithms.
It covers only the 20% of C++ that gives 80% benefit for solving problems on LeetCode & in contests.

Structure

  • template.cpp → Base template with fast I/O (use this as your starting point).
  • 01_basics/ → Core syntax lessons (I/O, auto, references, memory, OOP).
  • 02_stl/ → STL essentials (vector, string).
  • practice_problems/ → Concept-based small problems for practice.
  • leetcode_homework/ → LeetCode problem skeletons (copy-paste ready).

How to use

  1. Open this repo in VS Code:

    code .
  2. Compile any file using:

    g++ -std=c++17 filename.cpp -o run
    ./run
  3. Solve practice problems → then attempt the linked LeetCode homework.

Learning plan

  • Week 1: Basics (Lessons 1–5)
  • Week 2: STL containers (Lessons 6–10)
  • Week 3: Helpers (stack, queue, priority_queue, lambdas)
  • Week 4: Problem-solving patterns (two pointers, binary search, trees, graphs)

End goal → 30–50 solved LeetCode problems + clean C++ DSA foundation 🎯

About

A minimal C++ crash course focused on Data Structures & Algorithms, tailored for competitive programming and LeetCode. This repository covers the essential 20% of C++ that yields 80% of the results, helping you build a strong DSA foundation efficiently.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages