Welcome to my LeetCode solutions repository! 🎉
This repo contains a collection of my solutions to various LeetCode problems, organized by categories like Data Structures and Algorithms.
The problems covered include a wide variety of topics:
- Arrays
- Strings
- Linked Lists
- Trees
- Graphs
- Dynamic Programming
- Recursion
- Sorting & Searching
- Bit Manipulation
- ... and much more! 🚀
| 0002-add-two-numbers |
| 0019-remove-nth-node-from-end-of-list |
| 0021-merge-two-sorted-lists |
| 0023-merge-k-sorted-lists |
| 0237-delete-node-in-a-linked-list |
| 0002-add-two-numbers |
| 0021-merge-two-sorted-lists |
| 0003-longest-substring-without-repeating-characters |
| 0030-substring-with-concatenation-of-all-words |
| 0209-minimum-size-subarray-sum |
| 0643-maximum-average-subarray-i |
| 0014-longest-common-prefix |
| 0211-design-add-and-search-words-data-structure |
| 0020-valid-parentheses |
| 0071-simplify-path |
| 0150-evaluate-reverse-polish-notation |
| 1985-maximum-subarray-min-product |
| 0004-median-of-two-sorted-arrays |
| 0035-search-insert-position |
| 0209-minimum-size-subarray-sum |
| 0374-guess-number-higher-or-lower |
| 1326-sum-of-floored-pairs |
| 1984-maximum-distance-between-a-pair-of-values |
| 0260-single-number-iii |
| 1993-sum-of-all-subset-xor-totals |
| 0169-majority-element |
| 0274-h-index |
| 0506-relative-ranks |
| 0917-boats-to-save-people |
| 1970-sorting-the-sentence |
| 0023-merge-k-sorted-lists |
| 0506-relative-ranks |
| 0211-design-add-and-search-words-data-structure |
| 0514-freedom-trail |
| 0863-sum-of-distances-in-tree |
| 0514-freedom-trail |
| 0863-sum-of-distances-in-tree |
| 0863-sum-of-distances-in-tree |
| 1986-largest-color-value-in-a-directed-graph |
| 0209-minimum-size-subarray-sum |
| 0238-product-of-array-except-self |
| 1326-sum-of-floored-pairs |
| 1833-find-the-highest-altitude |
| 1985-maximum-subarray-min-product |
| 0211-design-add-and-search-words-data-structure |
| 0969-number-of-recent-calls |
| 1995-finding-pairs-with-a-certain-sum |
| 0969-number-of-recent-calls |
| 0969-number-of-recent-calls |
| 0374-guess-number-higher-or-lower |
| 0004-median-of-two-sorted-arrays |
| 0023-merge-k-sorted-lists |
| 0169-majority-element |
| 0169-majority-element |
| 0383-ransom-note |
| 1986-largest-color-value-in-a-directed-graph |
| 0036-valid-sudoku |
| 1972-rotating-the-box |
| 0274-h-index |
| 0028-find-the-index-of-the-first-occurrence-in-a-string |
| 0022-generate-parentheses |
| 1993-sum-of-all-subset-xor-totals |
| 0023-merge-k-sorted-lists |
| 1985-maximum-subarray-min-product |
| 1986-largest-color-value-in-a-directed-graph |
| 1986-largest-color-value-in-a-directed-graph |
| 1971-incremental-memory-leak |
| 1993-sum-of-all-subset-xor-totals |
| 1996-number-of-ways-to-rearrange-sticks-with-k-sticks-visible |
| 1993-sum-of-all-subset-xor-totals |