Skip to content

Master C++ DSA with structured modules, hands-on coding, MCQs, and real-world implementations. Perfect for interviews, competitions, and problem-solving! πŸš€

License

Notifications You must be signed in to change notification settings

Hacker-Anakin/Cpp-DSA

Repository files navigation

C++ DSA Jupyter Notebook

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.

alt text

πŸ“– Table of Contents


⚑ Installation

Before getting started, ensure you have C++ installed on your system.

  1. Clone the repository:
    git clone https://github.com/Hacker-Anakin/Cpp-Notes.git
    cd CPP-Notes
  2. Compile the C++ files using g++:
    g++ ./Chapter1.cpp
    g++ ./Chapter2.cpp
  3. Run the compiled executables:
    ./Chapter1.exe
    ./Chapter2.exe

πŸš€ How to Use

  • Each module contains a .cpp source file with explanations and implementations of DSA concepts.
  • The corresponding .exe files are compiled versions for direct execution.
  • Modify and experiment with the C++ files to enhance your understanding.

πŸ“š Modules Overview

Module 1 (Basics and Control Structures)

Topics: Basics of C++, Input/output operations, Control structures, Loops

Module 2 (Functions and Recursion )

Topics: Functions, Recursion fundamentals

Module 3 (File Handling)

Topics: File streams, I/O in files

Module 4 (Arrrays, Strings and Pointers)

Topics: Arrays, Array Operations, Strings, String Functions, Pointers, Dynamic memory

Module 5 (Structures, Enumerations and Unions)

Topics: Structures, Enumerations and Unions declaration and memory allocation

Module 6 (Object-oriented programming)

Topics: Class & Object, Access Specifier, Encapsulation, Constructor, this Pointer, Destructor, Inheritance, Polymorphism, Abstraction

Module 7 (STL - Vector, Queue & Stack)

Topics: STL, Iterators, Vector, Queue, Deque, Stack, Lists and Pairs.

Module 8 (STL - Map & Set)

Topics: Map, Unordered Map, Multimap, Unordered Multimap, Set, Unordered Set, Multiset, Unordered Multiset

Module 9 (STL - Searching and Sorting Algorithms)

Topics: Linear Search, Binary Search,


πŸ”₯ Contributing

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!


πŸ“ License

This project is licensed under the MIT License. See the LICENSE file for more details.


πŸ“© Contact

For questions, reach out at cakely63@gmail.com.

Happy Coding! πŸš€

About

Master C++ DSA with structured modules, hands-on coding, MCQs, and real-world implementations. Perfect for interviews, competitions, and problem-solving! πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages