
I Refused to Just Know What a Data Structure Is — So I Built One in C
I have been creating a DSA library in C for the last few months and here is my story. It started as a learning journey. I refused to just know what a data structure is — I wanted to know how a data structure behaves internally, at the machine level. And that knowledge I couldn't get from any high-level language. So I chose C. Not because it was trendy. In fact nobody really understands C except very few people. Because C doesn't lie to you, it doesn't give you ready-made data-structures like C++/Python/Java. If those high-level languages are coloring book for kids, C is a canvas with a bunch of colors and a brush, absolute freedom, but you are responsible for whatever you do. No compiler or garbage collector is coming to save you. The problem with how we learn data structures - Most DSA courses hand you an abstraction and call it understanding. Here's a linked list. It has nodes. Each node points to the next. Now go implement it in Python. And you do. You make a class Node and use it's
Continue reading on Dev.to
Opens in a new tab


