My playground repository where I'm practicing DSA using C!
Each data structure contains tests under a *_test.c
file, to run it simply compile it with source file.
For example, to run tests for the array data structure in a unix environment:
$ gcc -g array/array.c array/array_test.c -o array/array_test
Optionally run the compiled binary using valgrind for memory leak checks:
$ valgrind --leak-check=full array/array_test