Solved 100+ LeetCode Data Structures & Algorithms problems in Java, organized by topic.
This repository reflects my consistent problem-solving practice and preparation for coding interviews.
- Arrays
- Strings
- Two Pointers
- Stack
- Queue
- Linked List
- Sorting
- Binary Search
- Hash Table
- Matrix
- Tree & Binary Tree
- DFS & Backtracking
- Bit Manipulation
- Dynamic Programming (DP)
- Monotonic Stack / Queue
- Divide and Conquer
- Trie
0225-implement-stack-using-queues |
0232-implement-queue-using-stacks |
0225-implement-stack-using-queues |
0232-implement-queue-using-stacks |
0239-sliding-window-maximum |
0387-first-unique-character-in-a-string |
0042-trapping-rain-water |
0084-largest-rectangle-in-histogram |
0402-remove-k-digits |
0496-next-greater-element-i |
0503-next-greater-element-ii |
0011-container-with-most-water |
0402-remove-k-digits |
2032-largest-odd-number-in-string |
0019-remove-nth-node-from-end-of-list |
0021-merge-two-sorted-lists |
0024-swap-nodes-in-pairs |
0061-rotate-list |
0141-linked-list-cycle |
0206-reverse-linked-list |
0908-middle-of-the-linked-list |
0021-merge-two-sorted-lists |
0024-swap-nodes-in-pairs |
0206-reverse-linked-list |
1013-fibonacci-number |
0048-rotate-image |
0054-spiral-matrix |
0064-minimum-path-sum |
0079-word-search |
0200-number-of-islands |
0898-transpose-matrix |
1677-matrix-diagonal-sum |
1791-richest-customer-wealth |
0054-spiral-matrix |
0258-add-digits |
0898-transpose-matrix |
0258-add-digits |
0136-single-number |
0137-single-number-ii |
0260-single-number-iii |
0268-missing-number |
0287-find-the-duplicate-number |
0004-median-of-two-sorted-arrays |
0053-maximum-subarray |
0169-majority-element |
0215-kth-largest-element-in-an-array |
0347-top-k-frequent-elements |
0139-word-break |
1013-fibonacci-number |
0039-combination-sum |
0046-permutations |
0047-permutations-ii |
0079-word-search |
0113-path-sum-ii |
0014-longest-common-prefix |
0139-word-break |
0182-duplicate-emails |
0595-big-countries |
0620-not-boring-movies |
0215-kth-largest-element-in-an-array |
0239-sliding-window-maximum |
0347-top-k-frequent-elements |
0239-sliding-window-maximum |
0028-find-the-index-of-the-first-occurrence-in-a-string |
0812-rotate-string |
0128-longest-consecutive-sequence |
0200-number-of-islands |
0347-top-k-frequent-elements |
0215-kth-largest-element-in-an-array |
0347-top-k-frequent-elements |