Welcome to the C++ Algorithms & Data Structures repository! ๐ป
This repository contains 272 C++ source files covering algorithms, data structures, dynamic programming, graph theory, recursion, sorting/searching, OOP concepts, and problem-solving exercises.
This repository is intended for learning, practicing, and experimenting with C++ programming. It is suitable for beginners, intermediate coders, and anyone preparing for coding interviews or competitive programming.
Topics covered include:
- Graph Algorithms (BFS, DFS, Dijkstra, Bellman-Ford, Kruskal, Tarjan, Kosaraju, etc.)
- Sorting & Searching Algorithms
- Recursion & Dynamic Programming
- Binary Trees, Binary Search Trees & Heaps
- Object-Oriented Programming (OOP) Examples
- Linked Lists, Queues, Stacks
- String Manipulation & Pattern Problems
- Games, Interactive Programs, and Utility Programs
-
Find Whether it is Possible to Finish All Tasks from Dependencies
-
Minimum Edges to Reverse to Make Path from Source to Destination
- Clone the repository
git clone https://github.com/<your-username>/<repo-name>.git
cd <repo-name>- Compile & Run a C++ Program
g++ -std=c++17 ProgramName.cpp -o ProgramName
./ProgramNameExample:
g++ -std=c++17 Fibonacci_DP--Bottom-up.cpp -o Fibonacci_DP
./Fibonacci_DPContributions are welcome! Fork the repo, create a branch, and open a pull request with your changes.
Happy Coding! ๐