Java implementations of various data structures and their operations.
These data structures are implemented for fun and reviewing purposes. The goal is to implement the data structures without using anything but primitive arrays and/or custom defined classes.
The Java API already provides most, if not all, of the data structures which are listed here.
To run any tests, you must have JUnit installed. Instructions on installing JUnit are not provided here. Before running these tests, you must first open a terminal and clone the repo:
git clone https://github.com/karysto/java-datastructures.git
To run all tests for a certain data structure:
cd
to the specific data structure's folder.- run
make tests
.
To run all tests for all data structures:
cd
to the root of the repo folder.- run
./makeTests.sh
.