A well-structured collection of Data Structures and Algorithms (DSA) implementations in Java, designed to provide hands-on practice and a clear understanding of DSA concepts. This repository serves as a structured guide for learning and implementing DSA.
This repository contains well-structured Java implementations of various Data Structures and Algorithms, categorized module-wise. It helps in building a strong foundation in DSA through a systematic and example-driven approach.
- Variables & Data Types
- Patterns
- Functions & Methods
- Arrays
- 2D Arrays
- Sorting Algorithms
- Strings
- Bit Manipulation
- OOPS Concepts
- Recursion
- Divide and Conquer
- ArrayList
- Linked List
- Stack
- Queue
- Heaps
- Hashing
- Binary Tree
- Binary Search Tree (BST)
- Graphs
- Dynamic Programming (DP)
- Backtracking
- Greedy Algorithm
- Clone this repository:
git clone https://github.com/saksham2882/DSA-Java.git
- Open the project in your favorite IDE (IntelliJ IDEA, VS Code, Eclipse, etc.).
- Explore each folder for different DSA topics.
- Run and modify the Java files as needed.
Ensure you have Java 8 or later installed.
- Check Java installation
java -version
- Compile and run a Java file
javac filename.java java filename
⭐ If you found this repository useful, don’t forget to give it a star! ⭐