Skip to content

CodeWithJatinSh/Java-DSA

Repository files navigation

Java-DSA 🚀📚 | Comprehensive Data Structures and Algorithms

GitHub language Stars Status License: MIT

This repository is a comprehensive and highly organized collection of Data Structures and Algorithms (DSA) implemented from scratch in Java. It is designed for interview preparation, competitive programming, and mastering core computer science concepts.


📂 Java-DSA Repository Structure

The repository is currently organized as follows:

  • Java-DSA/
    • BSInterviewQues/ - 1D Binary Search (Advanced & Interview Questions)
    • BS_2D_Array/ - Binary Search in 2D Matrices
    • BitWiseOperators_Maths/ - Bit Manipulation Techniques & Mathematical Tricks
    • BubbleSort/ - Implementation of Bubble Sort
    • CyclicSort/ - Implementation of Cyclic Sort (Array-specific)
    • InsertionSort/ - Implementation of Insertion Sort
    • LeetCode_Questions/
      • Arrays/ - Practice problems from LeetCode focusing on Arrays
    • MergeSort/ - Implementation of Merge Sort (Divide & Conquer)
    • PatternQuestions/ - Logic-building problems using pattern printing
    • Recursion/ - Foundational Recursive Solutions and problems
    • SelectionSort/ - Implementation of Selection Sort

📈 Topics Covered & Newly Added Content

This table highlights the expansion of the repository, including newly added algorithms and data structures that now occupy the dedicated folders.

Folder Core Topics Newly Added Algorithms / Concepts
01_Sorting_&_Searching All basic sorts, Merge Sort, Binary Search (1D/2D). Quick Sort (implementation and analysis).
02_Core_Data_Structures None (Previously implicit). Linked Lists (Singly, Doubly, Circular), Stacks & Queues (Implementation & problems), Hashing (Maps and Sets).
03_Advanced_DSA None. Trees (Binary Search Trees, Traversal), Graphs (DFS, BFS, Kruskal's, Dijkstra's).
04_Algorithmic_Techniques Recursion, Backtracking. Dynamic Programming (0/1 Knapsack, Longest Common Subsequence).

🛠️ How to Get Started

  1. Clone the repository:
    git clone [https://github.com/CodeWithJatinSh/Java-DSA.git](https://github.com/CodeWithJatinSh/Java-DSA.git)
  2. Setup: The project is configured for Java (JDK 17+ recommended).
  3. Execute: Open the project in your IDE and run the main method in the desired topic file.

👨‍💻 Author & Contact

A star ⭐ motivates me to keep updating and expanding this resource!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages