This repository contains a collection of key data structures and algorithms implemented using Modern Java (Java 23) and its best practices. The goal is to build everything from the ground up without relying on advanced libraries or "fancy" structures, ensuring a clear understanding of the underlying principles.
Leveraging the latest features of Modern Java, this project demonstrates custom implementations of essential data structures and algorithms. Each implementation is crafted with simplicity and clarity in mind, making it a valuable resource for learning and inspiration.
-
src/main/java
Contains the primary source code for the data structures and algorithms. Each component is organized into its own package to maintain a clean and modular structure. -
src/test/java
Houses unit tests for verifying the correctness and robustness of the implementations.
You can build and run this project using your preferred Java build tool. For example:
-
Gradle:
gradle build
The code in this repository is shared in the spirit of free education. Please do not use this code directly for academic assignments or professional projects. Instead, use it as inspiration to develop your own solutions and deepen your understanding of data structures and algorithms.
If you have any questions, suggestions, or feedback, please feel free to open an issue or contact me directly. Your input is greatly appreciated!
© 2025 by Amir Nourinia