An open-source universe of Data Structures and Algorithms implemented in Java.
From fundamentals like arrays and linked lists to advanced concepts like graphs, dynamic programming, and optimization techniques, DSA-JavaVerse is your go-to hub for clean, beginner-friendly, and well-documented solutions.
Welcome to DSA-JavaVerse!
This repository is designed for:
- Developers learning Java + DSA from scratch
- Students preparing for coding interviews
- Competitive programmers looking for optimized solutions
- Open-source contributors passionate about algorithms
Our goal is to create a structured and collaborative space to explore, learn, and master Data Structures and Algorithms in Java.
DSA-JavaVerse/
│── arrays/
│ ├── ReverseArray.java
│ ├── FindMax.java
│── strings/
│ ├── PalindromeCheck.java
│ ├── AnagramCheck.java
│── linkedlist/
│ ├── SinglyLinkedList.java
│ ├── DoublyLinkedList.java
│── stack/
│── queue/
│── recursion/
│── sorting/
│── searching/
│── trees/
│── graphs/
│── dynamic_programming/
│── others/- Arrays & Strings
- Linked Lists (Singly, Doubly, Circular)
- Stack & Queue
- Recursion & Backtracking
- Searching & Sorting
- Trees & Binary Search Trees
- Graphs (BFS, DFS, Dijkstra, etc.)
- Hashing
- Heap & Priority Queue
- Dynamic Programming (Knapsack, LIS, LCS, etc.)
- Greedy Algorithms
- Advanced Topics & Interview Patterns
Prerequisites Install Java JDK 8+
A code editor like IntelliJ IDEA or VS Code
git clone https://github.com/your-username/DSA-JavaVerse.git
cd DSA-JavaVersejavac arrays/ReverseArray.java
java arrays.ReverseArrayWe ❤️ contributions! To contribute:
- Fork the repo
- Create a new branch (feature/your-feature)
- Add your Java solution in the correct folder
- Commit and push your changes
- Open a Pull Request (PR)
Use meaningful variable names Add comments explaining logic Include time & space complexity in solutions
This project is licensed under the MIT License – you are free to use, modify, and distribute it.
If you find this repo helpful:
- Star the repo
- Fork it
- Contribute new solutions
Let’s build the Java DSA Universe together