This repository contains my solutions to Data Structures and Algorithms problems solved primarily on LeetCode, implemented in Java and organized by topic for structured learning and revision.
- Problems Solved: 250+
- Language: Java
- Platform: LeetCode
- Arrays
- Strings
- Linked List
- Trees & Binary Trees
- Dynamic Programming
- Greedy Algorithms
- Sliding Window
- Stack & Queue
- Heap / Priority Queue
- Recursion
- Divide & Conquer
| Topic | Problems Solved |
|---|---|
| Arrays & Matrices | 40 |
| Strings | 16 |
| Linked List | 3 |
| Binary Search | 6 |
| Trees | 0 |
| Divide And Conquer | 3 |
| Dynamic Programming | 0 |
| Sliding Window | 0 |
| Greedy | 0 |
| Heap / Priority Queue | 0 |
| Graphs | 0 |
| Recursion | 0 |
| Backtracking | 0 |
Problems are organized by topic to make navigation and revision easier.
Example project structure:
Arrays/
TwoSum.java
Trees/
DiameterOfBinaryTree.java
DynamicProgramming/
HouseRobber.java
Many solutions include:
- Multiple approaches
- Time & Space complexity
- Personal notes for revision
- LeetCode: https://leetcode.com/u/sammy16/
- GitHub: https://github.com/samriddh16