Welcome to the C++ DSA Notes! This repository is designed to guide you through learning Data Structures and Algorithms (DSA) in C++ step by step. Each chapter is structured as a separate cpp file, making it easy to follow along with explanations, code examples, and exercises.
Before getting started, ensure you have C++ installed on your system.
- Clone the repository:
git clone https://github.com/Hacker-Anakin/Cpp-Notes.git cd CPP-Notes - Compile the C++ files using g++:
g++ ./Chapter1.cpp g++ ./Chapter2.cpp
- Run the compiled executables:
./Chapter1.exe ./Chapter2.exe
- Each module contains a
.cppsource file with explanations and implementations of DSA concepts. - The corresponding
.exefiles are compiled versions for direct execution. - Modify and experiment with the C++ files to enhance your understanding.
Topics: Basics of C++, Input/output operations, Control structures, Loops
Topics: Functions, Recursion fundamentals
Topics: File streams, I/O in files
Topics: Arrays, Array Operations, Strings, String Functions, Pointers, Dynamic memory
Topics: Structures, Enumerations and Unions declaration and memory allocation
Topics: Class & Object, Access Specifier, Encapsulation, Constructor, this Pointer, Destructor, Inheritance, Polymorphism, Abstraction
Topics: STL, Iterators, Vector, Queue, Deque, Stack, Lists and Pairs.
Topics: Map, Unordered Map, Multimap, Unordered Multimap, Set, Unordered Set, Multiset, Unordered Multiset
Topics: Linear Search, Binary Search,
Contributions are welcome! Feel free to:
- Fix bugs or improve existing implementations.
- Add more DSA problems and solutions.
- Optimize code for better performance.
Fork the repository and submit a pull request!
This project is licensed under the MIT License. See the LICENSE file for more details.
For questions, reach out at cakely63@gmail.com.
Happy Coding! π