Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elidrissidev/dsa-practice

My playground repository where I'm practicing DSA using C!
https://github.com/elidrissidev/dsa-practice

algorithms c computer-science data-structures

Last synced: 22 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:

```sh
$ gcc -g array/array.c array/array_test.c -o array/array_test
```

Optionally run the compiled binary using [valgrind](https://valgrind.org/docs/manual/quick-start.html) for memory leak checks:

```sh
$ valgrind --leak-check=full array/array_test
```