JavaDsa is a project built for practice and learning, focusing on implementing data structures and algorithms in Java.
Here’s what you’ll find so far:
- Data Structures:
- Lists:
LinkedList
andArrayList
(withStack
andQueue
coming soon!). - Trees:
BinarySearchTree
,MinHeap
, andMaxHeap
. - In Progress: Graph data structures.
- Lists:
- Algorithms: Sorting, path-finding, and more are planned for the future.
- API (
api
): Interfaces that define the behavior of each data structure. - Implementation (
implementation
): The actual code for each data structure. - Application (
app
): IncludesDsaApp
, a simple runner for creating and testing instances of the structures.
Even though this project isn't managed with Maven or Gradle, the package structure is ready for use with either tool if you prefer.
- Clone the repository and check out the
src/main/java
directory. - To learn and practice, dive into the
implementation
package and try modifying or completing the methods. - Use the
DsaApp
in theapp
package to create instances and test the functionality of your structures. - Running on Windows? Use the provided PowerShell script
runproject.ps1
to compile and execute your work.
Thank you for your interest! At this time, I’m not accepting pull requests, but feel free to explore, learn, and build your own ideas from the project.