Hi! π I'm currently learning data structures in C, and this repository documents my journey. Here, you'll find my implementations of fundamental concepts like stacks, queues, linked lists, and more. It's a work in progress, so I'm constantly adding new features and improving existing ones. Whether you're a fellow student, a beginner, or just curious, feel free to explore, suggest improvements, or learn alongside me!
This repo is all about learning by doing. I'm building everything from scratch to understand the core concepts better. From basic operations like push/pop in stacks to traversing circular linked lists, each implementation is a step forward in my learning journey. I believe in collaborative growth, so your feedback and contributions are always welcome!
If you're also learning data structures or want to practice, this is a great place to start. Let's grow together, build a strong foundation, and make this journey fun and productive! π±π»π
- Purpose: To provide clean, modular, and well-documented C implementations of fundamental data structures.
- Focus Areas:
- Efficient memory management
- Understanding how data is stored and manipulated
- Hands-on coding experience with core structures
Here's what you'll find in this repository:
- Basic Structures:
- Arrays π
- Linked Lists π
- Linear Data Structures:
- Stacks π
- Queues ποΈ
- Non-Linear Data Structures:
- Trees π³
- Graphs πΈοΈ
- Hashing:
- Hash Tables π
- Collision Handling Methods
More structures will be added over time! π
π¦ data-structures-in-c
βββ π arrays # Array implementations
βββ π linked_lists # Single/Doubly/Circular Linked Lists
βββ π stacks # Stack operations
βββ π queues # Queue implementations
βββ π trees # Binary Trees, BST, etc.
βββ π graphs # Graph representation
βββ π hashing # Hash Tables & Collision Handling
βββ README.md # This file!
- Clone the repository:
git clone https://github.com/your-username/data-structures-in-c.git
- Navigate to the relevant directory and compile the C programs.
cd stacks gcc stack.c -o stack ./stack
This is a community-friendly repository! Feel free to:
- Open an issue if you find bugs or have suggestions.
- Submit a pull request with improvements or new data structures.
Thanks for visiting this repository! I hope it serves as a valuable resource in your journey to mastering data structures in C. Happy coding! π―