An open API service indexing awesome lists of open source software.

https://github.com/mohammed-3tef/data_structure_and_algorithms

A Collection of Algorithm & Data Structure Problems using C++.
https://github.com/mohammed-3tef/data_structure_and_algorithms

algorithms bst clean-code cpp data-structures linked-list oop queue sorting-algorithms stack tree

Last synced: 6 months ago
JSON representation

A Collection of Algorithm & Data Structure Problems using C++.

Awesome Lists containing this project

README

          

# Data Structure Algorithms

A curated collection of core data structures and algorithms implemented in C++. This repository is built for learning, practicing, and mastering fundamental concepts in computer science.

---

## ๐Ÿ“‚ Repository Overview

This project includes implementations of:

- Sorting (Bubble, Bucket, Count, Insertion, Selection, Shell, Merge, Radix, Quick)
- Linked Lists (Singly, Doubly)
- Stacks
- Queues (Circular, Priority)
- Trees (BST, AVL)

---

## ๐Ÿงช Folder Structure

```bash
Data_Structure_Algorithms/
โ”‚
โ”œโ”€โ”€ Linked List/
โ”‚ โ”œโ”€โ”€ Single Linked List/
โ”‚ โ”œโ”€โ”€ main.cpp
โ”‚ โ”œโ”€โ”€ Problem_Solving.h
โ”‚ โ”œโ”€โ”€ Ordered_Linked_List.h
โ”‚ โ”œโ”€โ”€ Unordered_Linked_List.h
โ”‚ โ””โ”€โ”€ README.md
โ”‚
โ”‚ โ””โ”€โ”€ Doubly Linked List/
โ”‚ โ”œโ”€โ”€ main.cpp
โ”‚ โ”œโ”€โ”€ Circular_Linked_List.h
โ”‚ โ”œโ”€โ”€ Doubly_Linked_List.h
โ”‚ โ””โ”€โ”€ README.md
โ”‚
โ”œโ”€โ”€ Sorting Algorithms/
โ”‚ โ”œโ”€โ”€ Bubble Sort/
โ”‚ โ”œโ”€โ”€ Bucket Sort/
โ”‚ โ”œโ”€โ”€ Count Sort/
โ”‚ โ”œโ”€โ”€ Insertion Sort/
โ”‚ โ”œโ”€โ”€ Merge Sort/
โ”‚ โ”œโ”€โ”€ Quick Sort/
โ”‚ โ”œโ”€โ”€ Radix Sort/
โ”‚ โ”œโ”€โ”€ Selection Sort/
โ”‚ โ”œโ”€โ”€ Shell Sort/
| โ”œโ”€โ”€ Heap Sort/
โ”‚ โ””โ”€โ”€ README.md
โ”‚
โ”œโ”€โ”€ Stack & Queue/
โ”‚ โ”œโ”€โ”€ main.cpp
โ”‚ โ”œโ”€โ”€ Stack.h
| โ”œโ”€โ”€ PriorityQueue.h
โ”‚ โ””โ”€โ”€ Queue.h
โ”‚
โ”œโ”€โ”€ Trees/
โ”‚ โ”œโ”€โ”€ AVL/
โ”‚ โ”œโ”€โ”€ main.cpp
โ”‚ โ”œโ”€โ”€ AVL.h
โ”‚ โ””โ”€โ”€ README.md
โ”‚
โ”‚ โ”œโ”€โ”€ BST/
โ”‚ โ”œโ”€โ”€ main.cpp
โ”‚ โ”œโ”€โ”€ BST.h
โ”‚ โ”œโ”€โ”€ Problem_Solving.h
โ”‚ โ””โ”€โ”€ README.md
โ”‚
โ”‚ โ””โ”€โ”€ Heap/
โ”‚ โ”œโ”€โ”€ main.cpp
โ”‚ โ”œโ”€โ”€ MaxHeap.h
โ”‚ โ”œโ”€โ”€ MinHeap.h
โ”‚ โ””โ”€โ”€ README.md
โ”‚
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ LICENSE
```

> Each file is self-contained and includes test cases or a `main()` for demonstration.

---

## ๐Ÿ“š Educational Purpose

This repository serves as:

* A personal learning log and revision tool
* A reference for students and interview prep
* A foundation for competitive programming practice

---

## ๐Ÿ™Œ Contributions

Your contributions are welcome!

1. Fork this repository
2. Create your feature branch: `git checkout -b feature-name`
3. Commit your changes: `git commit -m "Added AVL Tree"`
4. Push to the branch: `git push origin feature-name`
5. Open a pull request

Please maintain consistent code style and add comments where helpful.

---

## ๐Ÿ“„ License

Licensed under the [MIT License](https://github.com/Mohammed-3tef/Data_Structure_Algorithms/blob/main/LICENSE).