Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 564 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 564 Bytes

data structures and algorithms practice

My playground repository where I'm practicing DSA using C!

Running tests

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