Is a repository that contains implemented data-structures and algorithms in C. The goal is to become a better problem solver and understand how efficient code should behave.
# Get files locally
git clone https://github.com/Lmpkessels/dsa.git
cd dsa# Run Algorithm
cd algorithms/
gcc -I../include ../directory/file.c file.c -o ../build/file
../build/./algorithm_name# Run Data-Structure
cd data_structures/
gcc -I../include ../directory/file.c file.c -o ../build/file
../build/./data_structure_nameData-structures
- Not yet
Algorithms
- Two Sum
- Three Sum
- Four sum
- Trapping Rain Water
- Closest to Zero
- Quick Sort
- Max Subarray Sum
- Max Sum
- Prefix sums
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This project is in progress, data-structures and algorithms will follow when they're understood, some will include tests and benchmark.
Licensed under MIT License.
© 2026 Luuk Kessels
- 📧 l@lmpkessels.com
- 🐦 X/Twitter
- 👨💻 GitHub
- 🛠️ Open an issue