A data structure is a way of organizing data so that they can be used effectively.
This repository contains data structures implemented in JAVA. These datastructures can be directly used in your other JAVA projects if needed (by importing the respective packages ).
Clone repo - "git clone https://github.com/AshwinkumarPillai/DataStructures.git"
Compile the java files - "javac filename.java"
and that's it!
You need a JDK installed on your local machine (jdk-8 or higher recommended).
- Dynamic Array
- Linked List
- Stack
- Queue
- Heap
- Union Find (with path compression)
- Trees
- HashMap
- Fenwick Tree
- Suffix Arrays
- LCP Arrays
- AVL
- ...
Inspired by William Fiset.