This repository contains custom implementations of various data structures and algorithms in C. It is intended for learning, experimentation, and as a reference for anyone interested in understanding the inner workings of common data structures and algorithms.
- Linked List
- Stack
- Queue
- Trees
- Hash Table
- GCC (GNU Compiler Collection) or any C compiler
-
Clone this repository:
git clone https://github.com/guidopastorino/dsa-implementations.git
-
Navigate to the directory of the specific implementation:
cd <dsa-implementation>
-
To compile using the Makefile (recommended), simply run:
make
This will automatically compile the necessary C files.
-
If you prefer to compile manually using GCC, use the following command (replacing filename.c with the name of the C file you wish to compile):
gcc -o output filename.c
-
Run the compiled program:
./program