Skip to content
Data structures implemented from scratch in c
C CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Data Structures C

This project is started for me to learn implementing the basic data structures that I use daily, in order to reinforce my grasp on them. This is just one of the 3 projects which I intend to write, (data-structures-python, data-structures-c, data-structures-java).

Each project will be with the implementation of the selected data structures and the unit testing to cover all the functions as much as possible. The data structures will be implemented without using any built-in advanced functions as much as possible, to get as close to the original implementation as close as possible.


This C Project requires the following to be installed.

  • gcc
  • make
  • cmake
  • cmocka (will consider shipping the project with the cmake)

Compilation and testing

cmake . && cmake --build .
ctest # should run all the tests
You can’t perform that action at this time.