This repository contains core data structures implemented from scratch in C, with a focus on memory, pointers, and internal behavior rather than library usage.
No STL.
No abstractions.
No shortcuts.
The goal is to understand how data structures actually work under the hood.
Most tutorials teach how to use data structures.
This repository teaches:
- How they are built
- Why they behave the way they do
- What trade-offs they make
- How memory and pointers shape their performance
Every data structure here is implemented manually using:
malloc,realloc,free- Raw pointers
- Explicit memory management
A complete implementation
A demo main() function
Code written during live explanation
This code is written for learning, not production use
Error handling is intentionally simple to keep concepts clear
Always validate pointers before dereferencing in real-world code :)