This repository is an ongoing personal project aimed at learning common computer science algorithms and data structures. Each algorithm is implemented in a self-contained C program, which can be compiled and used individually.
The primary goal is not to achieve the most efficient implementation, but rather to serve as a learning tool for myself and a reference for others.
TODO
To compile and run yourself:
-
Clone the repo:
git clone https://github.com/RodAli/algorithims.git
-
You can use the Makefile to compile all the C programs into their own runnable executables. In your preferred terminal, navigate to the root directory of your local repo and run:
make
-
Compiled machine code should be outputted into folder called out. To run any program, lets say bubble sort, run:
./out/bubblesort
You are done!