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

https://github.com/voidashi/adts-collection

Collection of abstract data types in pure C
https://github.com/voidashi/adts-collection

Last synced: 11 months ago
JSON representation

Collection of abstract data types in pure C

Awesome Lists containing this project

README

          

# 🌟 ADTs Collection

*A flexible, efficient, and adaptable collection of Abstract Data Types (ADTs) implemented in pure C*

[![C](https://img.shields.io/badge/Language-C-informational?style=flat&logo=c&logoColor=white)](https://en.wikipedia.org/wiki/C_(programming_language))
[![License](https://img.shields.io/badge/License-MIT-green?style=flat)](LICENSE)

---

## 📦 Features

### **Core Data Structures**
- **Trees:** Binary Search Tree (BST) • AVL Tree • Treap
- **Lists:** Singly & Doubly Linked Lists (supports circular configurations)
- **Stacks:** Static, Dynamic, and Generic implementations
- **Queue:** Generic implementation

### **Key Advantages**
- **Modular Design:** Easy to extend or modify for specific use cases.
- **Performance-Optimized:** Focus on efficient memory and runtime usage.
- **Reusable Code:** Clean interfaces for seamless integration into projects.

---

## 🚀 Getting Started

### **Clone the Repository**
```bash
git clone https://github.com/voidashi/ADTs-Collection.git
```

### **Compilation**
Compile with a C compiler (e.g., `gcc`):
```bash
gcc -o program your_source_file.c
```

### **Basic Usage**
Include the desired header and use the ADTs:
```c
#include "linkedlist.h"
// Example: Create and manipulate a linked list
```

**Note:** Ensure headers are in your include path!

---

## 🤝 Contributing
Found a bug or have an enhancement?
- Open an **Issue** for feature requests or bug reports.
- Submit a **Pull Request** for well-documented fixes or improvements.

---

## 📄 License
MIT Licensed - See [LICENSE](LICENSE) for details.

---

*Built with ❤️ for low-level enthusiasts*