This repository contains a collection of assignments and lab exercises for the Data Structure course. It includes implementations of fundamental data structures and algorithms in C++, designed to reinforce theoretical concepts through practical coding.
Each folder corresponds to a specific assignment or lab session:
01 Assignment
02 Assignment
03 Assignment
04 Assignment
05 Assignment
06 Assignment
07 Assignment
Inside each folder, you'll find C++ source files (.cpp
) implementing various data structures and algorithms.
The assignments encompass a range of data structures and algorithms, including:
- Arrays
- Linked Lists (Singly, Doubly, Circular)
- Stacks and Queues
- Trees (Binary Trees, BSTs)
- Graphs (Adjacency Matrix/List, BFS, DFS)
- Sorting Algorithms (Bubble, Selection, Insertion, Merge, Quick Sort)
- Searching Algorithms (Linear, Binary Search)
To compile and run the C++ programs:
-
Clone the repository:([GitHub Docs][2])
git clone https://github.com/md8-habibullah/Data-Structure.git
-
Navigate to the desired assignment folder:
cd Data-Structure/01\ Assignment
-
Compile the C++ file using a compiler like
g++
:g++ program.cpp -o program
-
Run the executable:([Make a README][3])
./program
This repository serves as a practical resource for students and enthusiasts to understand and implement core data structures and algorithms. It complements theoretical learning with hands-on coding experience.
Contributions are welcome! If you have improvements or additional implementations to share, feel free to fork the repository and submit a pull request.
For questions or suggestions, please reach out via GitHub.