This repository documents my C++ practice and learning journey in Data Structures and Algorithms. It contains topic-wise programs, problem solutions, and revision material from basic syntax to advanced concepts.
The folders are arranged in a study-friendly order so each topic builds on the previous one.
- 01 Time & Space complexity
- 02 Basics
- 03 Function
- 04 One Dimensional Arrays
- 05 Vectors
- 06 2D Vector
- 07 Two Dimensional Array
- 08 Pointer
- 09 Additional Pointer
- 10 Pointer Assignment
- 11 Recursions
- 12 ProblemsOn Recursion
- 13 Sortings
- 14 Problems On Sorting
- 15 MergeSort
- 16 quickSort
- 17 Problems On Merge Quick Cyclic
- 18 CyclicSort
- 19 Binary Search
- 20 Binary Search Assignment
- 21 String
- 22 String Assignment
- 23 Bit Manipulation
- 24 prefixSum
- 25 Sliding Window
- 26 Window
- 27 OOPS
- 28 Module 1 Assignment
- 29 Module 2 Assignment
- 30 PrimeNumber & Maths
- 31 Linked List
- 32 Doubly LinkedList
- 33 Stack
- 34_Queue
- 35 Binary Tree
A good order for learning or revising is:
- Understand complexity and basics
- Practice arrays, vectors, and pointers
- Learn recursion and sorting techniques
- Study binary search, strings, and sliding window
- Move to OOP, linked lists, stacks, queues, and trees
Each topic folder contains multiple .cpp files. You can run them in either of these ways:
g++ filename.cpp -o filename
./filenameA helper script is also included:
./run_cpp.sh path/to/file.cppThis script compiles the C++ file and runs it from the same folder, storing the binary in a local .build directory.
- 246 C++ source files
- Organized by topic and difficulty
- Includes practice solutions, assignments, and core DSA concepts
This repository is meant to help build:
- strong problem-solving habits
- confidence with C++ syntax and logic
- a solid foundation in data structures and algorithms
- better understanding of time and space complexity
This is a continuous learning repository, and it will keep growing as I progress through more DSA topics.