My data structures playground in which I implement some common data structures in C.
- Dynamic Array
- Linked List
- BTree
make
make clean && make test && ./tests/array_test
make clean && make test && ./tests/linked_list_test
make clean && make test && ./tests/btree_test
make clean && make benchmark && ./benchmarks/array_benchmark
A lot of this, especially the debug and test macros and the DArray implementation, is inspired by Zed Shaw's Learn C The Hard Way. Thanks!
MIT. Do what you want with this.