This repository contains Java solutions to a wide range of LeetCode problems, curated from Striver's A2Z DSA Sheet. The goal is to build a strong foundation in Data Structures and Algorithms (DSA) using clean, readable, and optimized Java code.
Whether you're a beginner just getting started or someone preparing for coding interviews, this repo will serve as a valuable learning and revision resource.
Striver's A2Z DSA Sheet is a structured, topic-wise roadmap that guides learners from basic to advanced DSA concepts. It covers over 450+ handpicked problems across categories like:
- β Arrays & Strings
- β Recursion & Backtracking
- β Linked Lists
- β Stacks & Queues
- β Binary Search, Sorting
- β Trees & Graphs
- β Dynamic Programming
- β Greedy Algorithms & Tries
- β Bit Manipulation and more
π Check the original sheet here β
Each problem is grouped by the topic/step from the A2Z sheet and includes:
- β Problem Name
- π LeetCode/GeeksforGeeks link
- π Java Solution File
- π§ Approach & Explanation (in comments)
- β±οΈ Time and Space Complexity
0007-reverse-integer |
0009-palindrome-number |