Skip to content

Latest commit

 

History

62 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

DSA in Java – Implementations and LeetCode Solutions.

Overview

This repository contains Data Structures and Algorithms (DSA) solutions implemented in Java, primarily focused on LeetCode problems. The purpose of this repository is to demonstrate strong problem‑solving skills, clean Java implementation, and consistency in DSA practice, targeting software engineering recruiters and interviewers.

All solutions are written from scratch with an interview‑oriented mindset, emphasizing clarity, correctness, and optimal time/space complexity.


🎯 Target Audience

  • Software Engineering Recruiters
  • Interviewers evaluating DSA fundamentals
  • Students preparing for technical interviews

🧠 Topics Covered

The repository is organized topic‑wise for easy navigation:

  • Linear Search
  • Binary Search
  • Sorting Algorithms
  • Recursion
  • Mathematics for DSA
  • Stacks (including monotonic stack problems)
  • Queues
  • Linked Lists
  • Trees
  • Large Number Computation

Each folder contains Java files solving multiple LeetCode problems related to that topic.


🧩 Problem Source

  • Primary Platform: LeetCode
  • Problems range from Easy → Medium → Hard
  • Many solutions are written after analyzing multiple approaches and edge cases

Where applicable, problems are optimized to meet LeetCode constraints.


🛠️ Tech Stack

  • Language: Java
  • Paradigm: Object‑Oriented Programming
  • Focus: Time & Space Optimization

▶️ How to Run

  1. Clone the repository:

    git clone https://github.com/dhruvrajsinghgaur/DSA-java.git
  2. Open the project in any Java‑supported IDE (IntelliJ IDEA / Eclipse / VS Code).

  3. Navigate to the topic folder.

  4. Run individual .java files (each file is self‑contained).


📌 Highlights for Recruiters

  • Consistent DSA practice in Java
  • Clean, readable, and modular code
  • Topic‑wise structured repository
  • Covers core interview‑critical problems (Stacks, Trees, Searching, etc.)
  • Demonstrates strong grasp of data structures and algorithmic thinking

📈 Ongoing Improvements

  • Adding more LeetCode Medium & Hard problems
  • Including problem numbers and titles in file names
  • Adding time & space complexity analysis as comments

👤 Author

Dhruvraj Singh Gaur B.Tech – Computer Science & Engineering Focused on Software Engineering roles


⭐ If you are a recruiter reviewing this repository, thank you for your time and consideration.

About

No description or website provided.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages