DEV Community

Smit kanani
Smit kanani

Posted on

core data structures in C++

Over the past few weeks, I challenged myself to go beyond textbook learning and replicate core data structures in C++ without using the STL. The result? πŸ“¦ A full project repository β€” MyDataStructures β€” implementing:
πŸ”Ή MyString (custom version of std::string)
πŸ”Ή MyLinkedList (singly linked list with dynamic ops)
πŸ”Ή MyStack (stack using linked list)
πŸ”Ή MyQueue (queue using linked list)

πŸ“‚ Check it out here: https://lnkd.in/dTEnUzMe

πŸ› οΈ What makes this project special?
βœ… Built 100% from scratch β€” no STL
βœ… Deep use of dynamic memory allocation
βœ… Move semantics, operator overloading, RAII
βœ… Proper separation of concerns via .h and .cpp files
βœ… Manual implementation of common operations: insert, delete, traverse, search, etc.
βœ… Clean, testable code with beginner-friendly comments and structure

πŸ’‘ Why I built this:
As someone aiming to grow into a FAANG-level software engineering role, I believe understanding how things work under the hood is just as important as using frameworks. This project is my deep dive into low-level programming, memory safety, and STL replication, helping sharpen my skills for systems programming and algorithm-heavy interviews.

πŸ” Feedback, suggestions, and stars are most welcome!

Top comments (0)