A collection of projects regarding data structures and algorithms written in C++.
| # | Project | Description | Status |
|---|---|---|---|
| 01 | Static Array | Fixed-size contiguous memory allocation with O(1) random access. | ✅ Completed |
| 02 | Dynamic Array | Resizable array with amortized O(1) insertion at the end. Foundation of std::vector | ✅ Completed |
| 03 | Single Linked List | Linear data structure with nodes containing data and a next pointer. | ✅ Completed |
| 04 | Stack | LIFO (Last In First Out) data structure with push and pop operations. | 🚧 In progress |
| 05 | Queue | FIFO (First In First Out) data structure with enqueue and dequeue operations. | ⏳ Planned |
| 06 | Linear Search | Sequential search through all elements. O(n) time complexity. | ⏳ Planned |
| 07 | Binary Search | Divide and conquer search on sorted data. O(log n) time complexity. | ⏳ Planned |
- C++
- CMake
- GCC / MinGW
- Git
The projects use C++20 unless otherwise specified.
cd /projects-folder
g++ programs-name.cpp -o programs-name
./programs-name