Skip to content

gauranshahuja/leetcode-s_solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

127 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
0485-max-consecutive-ones
1470-shuffle-the-array
1929-concatenation-of-array
3737-count-subarrays-with-majority-element-i
3739-count-subarrays-with-majority-element-ii

Hash Table

0001-two-sum
1189-maximum-number-of-balloons
3737-count-subarrays-with-majority-element-i
3739-count-subarrays-with-majority-element-ii

Math

0009-palindrome-number
3700-number-of-zigzag-arrays-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

Counting

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

Dynamic Programming

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

Trie

0014-longest-common-prefix

Stack

0020-valid-parentheses

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

1929-concatenation-of-array

About

My LeetCode solutions — data structures & algorithms practice.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors