Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

231 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 LeetCode Solutions

My data structures & algorithms journey — solved problems, organized by topic.

LeetCode Stats

LeetCode Profile

Each problem lives in its own folder with the solution (in C / C++ / Python) and a short write-up. The topic index below is auto-generated and grows as I solve more.

🎯 Practicing daily to sharpen problem-solving — heading toward strong DSA fundamentals.


LeetCode Topics

Array

0001-two-sum
0014-longest-common-prefix
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0084-largest-rectangle-in-histogram
0150-evaluate-reverse-polish-notation
0448-find-all-numbers-disappeared-in-an-array
0485-max-consecutive-ones
0636-exclusive-time-of-functions
0645-set-mismatch
0739-daily-temperatures
1288-remove-covered-intervals
1365-how-many-numbers-are-smaller-than-the-current-number
1441-build-an-array-with-stack-operations
1470-shuffle-the-array
1475-final-prices-with-a-special-discount-in-a-shop
1846-maximum-element-after-decreasing-and-rearranging
1929-concatenation-of-array
1967-number-of-strings-that-appear-as-substrings-in-word
2812-find-the-safest-path-in-a-grid
3020-find-the-maximum-number-of-elements-in-subset
3620-network-recovery-pathways
3737-count-subarrays-with-majority-element-i
3739-count-subarrays-with-majority-element-ii

Hash Table

0001-two-sum
0448-find-all-numbers-disappeared-in-an-array
0645-set-mismatch
1189-maximum-number-of-balloons
1358-number-of-substrings-containing-all-three-characters
1365-how-many-numbers-are-smaller-than-the-current-number
3020-find-the-maximum-number-of-elements-in-subset
3737-count-subarrays-with-majority-element-i
3739-count-subarrays-with-majority-element-ii

Math

0009-palindrome-number
0150-evaluate-reverse-polish-notation
3700-number-of-zigzag-arrays-ii
3754-concatenate-non-zero-digits-and-multiply-by-sum-i
3756-concatenate-non-zero-digits-and-multiply-by-sum-ii

String

0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
1189-maximum-number-of-balloons
1358-number-of-substrings-containing-all-three-characters
1967-number-of-strings-that-appear-as-substrings-in-word
3756-concatenate-non-zero-digits-and-multiply-by-sum-ii

Counting

1189-maximum-number-of-balloons
3737-count-subarrays-with-majority-element-i

Dynamic Programming

3620-network-recovery-pathways
3699-number-of-zigzag-arrays-i
3700-number-of-zigzag-arrays-ii

Prefix Sum

3699-number-of-zigzag-arrays-i
3737-count-subarrays-with-majority-element-i
3739-count-subarrays-with-majority-element-ii
3756-concatenate-non-zero-digits-and-multiply-by-sum-ii

Trie

0014-longest-common-prefix

Stack

0020-valid-parentheses
0084-largest-rectangle-in-histogram
0150-evaluate-reverse-polish-notation
0636-exclusive-time-of-functions
0739-daily-temperatures
1441-build-an-array-with-stack-operations
1475-final-prices-with-a-special-discount-in-a-shop

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string

Divide and Conquer

3737-count-subarrays-with-majority-element-i
3739-count-subarrays-with-majority-element-ii

Segment Tree

3737-count-subarrays-with-majority-element-i
3739-count-subarrays-with-majority-element-ii

Merge Sort

3737-count-subarrays-with-majority-element-i
3739-count-subarrays-with-majority-element-ii

Linked List

0021-merge-two-sorted-lists

Recursion

0021-merge-two-sorted-lists

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string

Simulation

1441-build-an-array-with-stack-operations
1929-concatenation-of-array

Greedy

1846-maximum-element-after-decreasing-and-rearranging

Sorting

0645-set-mismatch
1288-remove-covered-intervals
1365-how-many-numbers-are-smaller-than-the-current-number
1846-maximum-element-after-decreasing-and-rearranging

Enumeration

3020-find-the-maximum-number-of-elements-in-subset

Binary Search

0035-search-insert-position
2812-find-the-safest-path-in-a-grid
3620-network-recovery-pathways

Breadth-First Search

2492-minimum-score-of-a-path-between-two-cities
2812-find-the-safest-path-in-a-grid

Union-Find

2492-minimum-score-of-a-path-between-two-cities
2812-find-the-safest-path-in-a-grid

Heap (Priority Queue)

2812-find-the-safest-path-in-a-grid
3620-network-recovery-pathways

Matrix

2812-find-the-safest-path-in-a-grid

Sliding Window

1358-number-of-substrings-containing-all-three-characters

Graph Theory

2492-minimum-score-of-a-path-between-two-cities
3620-network-recovery-pathways

Topological Sort

3620-network-recovery-pathways

Shortest Path

3620-network-recovery-pathways

Bit Manipulation

0645-set-mismatch

Depth-First Search

2492-minimum-score-of-a-path-between-two-cities

Counting Sort

1365-how-many-numbers-are-smaller-than-the-current-number

Monotonic Stack

0084-largest-rectangle-in-histogram
0739-daily-temperatures
1475-final-prices-with-a-special-discount-in-a-shop

About

My LeetCode solutions — data structures & algorithms practice.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages