Skip to content

I want share my updates on daily basis practice.

Notifications You must be signed in to change notification settings

Sangram03/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode

I want share my updates on daily basis practice.

LeetCode Topics

Two Pointers

0005-longest-palindromic-substring
0768-partition-labels
2414-move-pieces-to-obtain-a-string

String

0005-longest-palindromic-substring
0768-partition-labels
0952-word-subsets
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
2059-unique-length-3-palindromic-subsequences
2107-find-unique-binary-string
2221-check-if-a-parentheses-string-can-be-valid
2300-construct-string-with-repeat-limit
2414-move-pieces-to-obtain-a-string
2465-shifting-letters-ii
2691-count-vowel-strings-in-ranges
3267-find-longest-special-substring-that-occurs-thrice-i
3309-count-prefix-and-suffix-pairs-i

Dynamic Programming

0005-longest-palindromic-substring
1025-minimum-cost-for-tickets
2164-two-best-non-overlapping-events

Array

0780-max-chunks-to-make-sorted
0952-word-subsets
1025-minimum-cost-for-tickets
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
1917-maximum-average-pass-ratio
2107-find-unique-binary-string
2164-two-best-non-overlapping-events
2465-shifting-letters-ii
2527-count-subarrays-with-fixed-bounds
2640-maximum-number-of-integers-to-choose-from-a-range-i
2681-put-marbles-in-bags
2691-count-vowel-strings-in-ranges
2692-take-gifts-from-the-richest-pile
2695-find-score-of-an-array-after-marking-all-elements
2764-maximum-number-of-fish-in-a-grid
2766-find-the-prefix-common-array-of-two-arrays
2868-continuous-subarrays
2891-maximum-beauty-of-an-array-after-applying-operation
2915-count-of-interesting-subarrays
3001-apply-operations-to-maximize-score
3152-maximum-value-of-an-ordered-triplet-ii
3213-count-subarrays-where-max-element-appears-at-least-k-times
3309-count-prefix-and-suffix-pairs-i
3427-special-array-ii
3555-final-array-state-after-k-multiplication-operations-i
3685-count-subarrays-of-length-three-with-a-condition

Hash Table

0768-partition-labels
0952-word-subsets
2059-unique-length-3-palindromic-subsequences
2107-find-unique-binary-string
2300-construct-string-with-repeat-limit
2640-maximum-number-of-integers-to-choose-from-a-range-i
2695-find-score-of-an-array-after-marking-all-elements
2766-find-the-prefix-common-array-of-two-arrays
2915-count-of-interesting-subarrays
3267-find-longest-special-substring-that-occurs-thrice-i

Binary Search

2164-two-best-non-overlapping-events
2640-maximum-number-of-integers-to-choose-from-a-range-i
2891-maximum-beauty-of-an-array-after-applying-operation
3267-find-longest-special-substring-that-occurs-thrice-i
3427-special-array-ii

Greedy

0768-partition-labels
0780-max-chunks-to-make-sorted
1917-maximum-average-pass-ratio
2221-check-if-a-parentheses-string-can-be-valid
2300-construct-string-with-repeat-limit
2640-maximum-number-of-integers-to-choose-from-a-range-i
2681-put-marbles-in-bags
3001-apply-operations-to-maximize-score

Sorting

0780-max-chunks-to-make-sorted
2164-two-best-non-overlapping-events
2640-maximum-number-of-integers-to-choose-from-a-range-i
2681-put-marbles-in-bags
2695-find-score-of-an-array-after-marking-all-elements
2891-maximum-beauty-of-an-array-after-applying-operation
3001-apply-operations-to-maximize-score

Heap (Priority Queue)

1917-maximum-average-pass-ratio
2164-two-best-non-overlapping-events
2300-construct-string-with-repeat-limit
2681-put-marbles-in-bags
2692-take-gifts-from-the-richest-pile
2695-find-score-of-an-array-after-marking-all-elements
2868-continuous-subarrays
3555-final-array-state-after-k-multiplication-operations-i

Prefix Sum

1895-minimum-number-of-operations-to-move-all-balls-to-each-box
2059-unique-length-3-palindromic-subsequences
2465-shifting-letters-ii
2691-count-vowel-strings-in-ranges
2915-count-of-interesting-subarrays
3427-special-array-ii

Sliding Window

2527-count-subarrays-with-fixed-bounds
2868-continuous-subarrays
2891-maximum-beauty-of-an-array-after-applying-operation
3213-count-subarrays-where-max-element-appears-at-least-k-times
3267-find-longest-special-substring-that-occurs-thrice-i

Counting

2300-construct-string-with-repeat-limit
3267-find-longest-special-substring-that-occurs-thrice-i

Simulation

2692-take-gifts-from-the-richest-pile
2695-find-score-of-an-array-after-marking-all-elements
3555-final-array-state-after-k-multiplication-operations-i

Queue

2527-count-subarrays-with-fixed-bounds
2868-continuous-subarrays

Ordered Set

2868-continuous-subarrays

Monotonic Queue

2527-count-subarrays-with-fixed-bounds
2868-continuous-subarrays

Math

3001-apply-operations-to-maximize-score
3555-final-array-state-after-k-multiplication-operations-i

Stack

0780-max-chunks-to-make-sorted
2221-check-if-a-parentheses-string-can-be-valid
3001-apply-operations-to-maximize-score

Monotonic Stack

0780-max-chunks-to-make-sorted
3001-apply-operations-to-maximize-score

Tree

2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level
3058-maximum-number-of-k-divisible-components

Depth-First Search

1558-course-schedule-iv
2246-maximum-employees-to-be-invited-to-a-meeting
2764-maximum-number-of-fish-in-a-grid
3058-maximum-number-of-k-divisible-components

Breadth-First Search

1558-course-schedule-iv
2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level
2764-maximum-number-of-fish-in-a-grid

Binary Tree

2558-minimum-number-of-operations-to-sort-a-binary-tree-by-level

Bit Manipulation

2059-unique-length-3-palindromic-subsequences
2766-find-the-prefix-common-array-of-two-arrays

Trie

3309-count-prefix-and-suffix-pairs-i

Rolling Hash

3309-count-prefix-and-suffix-pairs-i

String Matching

3309-count-prefix-and-suffix-pairs-i

Hash Function

3309-count-prefix-and-suffix-pairs-i

Graph

1558-course-schedule-iv
2246-maximum-employees-to-be-invited-to-a-meeting

Topological Sort

1558-course-schedule-iv
2246-maximum-employees-to-be-invited-to-a-meeting

Union Find

2764-maximum-number-of-fish-in-a-grid

Matrix

2764-maximum-number-of-fish-in-a-grid

Backtracking

2107-find-unique-binary-string

Number Theory

3001-apply-operations-to-maximize-score

Releases

No releases published

Packages

No packages published

Languages