Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

188 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A collection of LeetCode questions to ace the coding interview! - Created using LeetHub v2

LeetCode Topics

Array

0004-median-of-two-sorted-arrays
0011-container-with-most-water
0283-move-zeroes
0334-increasing-triplet-subsequence
0605-can-place-flowers
0643-maximum-average-subarray-i
0739-daily-temperatures
1468-check-if-n-and-its-double-exist
1528-kids-with-the-greatest-number-of-candies
1570-final-prices-with-a-special-discount-in-a-shop
1798-max-number-of-k-sum-pairs
1886-minimum-limit-of-balls-in-a-bag
1917-maximum-average-pass-ratio
2164-two-best-non-overlapping-events
2232-adding-spaces-to-a-string
2640-maximum-number-of-integers-to-choose-from-a-range-i
2692-take-gifts-from-the-richest-pile
2695-find-score-of-an-array-after-marking-all-elements
2868-continuous-subarrays
2891-maximum-beauty-of-an-array-after-applying-operation
3427-special-array-ii
3555-final-array-state-after-k-multiplication-operations-i

Hash Table

1468-check-if-n-and-its-double-exist
1798-max-number-of-k-sum-pairs
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
3267-find-longest-special-substring-that-occurs-thrice-i

Two Pointers

0011-container-with-most-water
0283-move-zeroes
0345-reverse-vowels-of-a-string
0392-is-subsequence
0443-string-compression
1468-check-if-n-and-its-double-exist
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1798-max-number-of-k-sum-pairs
1894-merge-strings-alternately
2232-adding-spaces-to-a-string
2414-move-pieces-to-obtain-a-string
3018-make-string-a-subsequence-using-cyclic-increments

Binary Search

0004-median-of-two-sorted-arrays
1468-check-if-n-and-its-double-exist
1886-minimum-limit-of-balls-in-a-bag
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

Sorting

1468-check-if-n-and-its-double-exist
1798-max-number-of-k-sum-pairs
2164-two-best-non-overlapping-events
2640-maximum-number-of-integers-to-choose-from-a-range-i
2695-find-score-of-an-array-after-marking-all-elements
2891-maximum-beauty-of-an-array-after-applying-operation

String

0345-reverse-vowels-of-a-string
0392-is-subsequence
0443-string-compression
1146-greatest-common-divisor-of-strings
1537-maximum-score-after-splitting-a-string
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1894-merge-strings-alternately
2232-adding-spaces-to-a-string
2300-construct-string-with-repeat-limit
2414-move-pieces-to-obtain-a-string
3018-make-string-a-subsequence-using-cyclic-increments
3267-find-longest-special-substring-that-occurs-thrice-i

String Matching

1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence

Divide and Conquer

0004-median-of-two-sorted-arrays

Simulation

2232-adding-spaces-to-a-string
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

Greedy

0011-container-with-most-water
0334-increasing-triplet-subsequence
0605-can-place-flowers
1917-maximum-average-pass-ratio
2300-construct-string-with-repeat-limit
2640-maximum-number-of-integers-to-choose-from-a-range-i

Dynamic Programming

0392-is-subsequence
2164-two-best-non-overlapping-events

Heap (Priority Queue)

1917-maximum-average-pass-ratio
2164-two-best-non-overlapping-events
2300-construct-string-with-repeat-limit
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

1537-maximum-score-after-splitting-a-string
3427-special-array-ii

Sliding Window

0643-maximum-average-subarray-i
2868-continuous-subarrays
2891-maximum-beauty-of-an-array-after-applying-operation
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

Math

0002-add-two-numbers
1146-greatest-common-divisor-of-strings
3555-final-array-state-after-k-multiplication-operations-i

Stack

0739-daily-temperatures
1570-final-prices-with-a-special-discount-in-a-shop

Monotonic Stack

0739-daily-temperatures
1570-final-prices-with-a-special-discount-in-a-shop

Queue

2868-continuous-subarrays

Ordered Set

2868-continuous-subarrays

Monotonic Queue

2868-continuous-subarrays

Linked List

0002-add-two-numbers

Recursion

0002-add-two-numbers

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages