Skip to content

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.

Notifications You must be signed in to change notification settings

akanshujamwal/DSA-JavaVerse

Repository files navigation

DSA-JavaVerse

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.

Introduction

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.

Folder Structure

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/

Topics Covered

  • 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

Getting Started

Prerequisites Install Java JDK 8+

A code editor like IntelliJ IDEA or VS Code

Clone the Repository

git clone https://github.com/your-username/DSA-JavaVerse.git
cd DSA-JavaVerse

Run a Java Program

javac arrays/ReverseArray.java
java arrays.ReverseArray

Contribution Guide

We ❤️ contributions! To contribute:

  1. Fork the repo
  2. Create a new branch (feature/your-feature)
  3. Add your Java solution in the correct folder
  4. Commit and push your changes
  5. Open a Pull Request (PR)

Please follow:

Use meaningful variable names Add comments explaining logic Include time & space complexity in solutions

License

This project is licensed under the MIT License – you are free to use, modify, and distribute it.

Support & Community

If you find this repo helpful:

  • Star the repo
  • Fork it
  • Contribute new solutions

Let’s build the Java DSA Universe together

About

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.

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages