Skip to content

Latest commit

 

History

220 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Array

0001-two-sum
0011-container-with-most-water
0016-3sum-closest
0026-remove-duplicates-from-sorted-array
0031-next-permutation
0033-search-in-rotated-sorted-array
0041-first-missing-positive
0042-trapping-rain-water
0048-rotate-image
0053-maximum-subarray
0075-sort-colors
0121-best-time-to-buy-and-sell-stock
0136-single-number
0137-single-number-ii
0169-majority-element
0189-rotate-array
0209-minimum-size-subarray-sum
0238-product-of-array-except-self
0283-move-zeroes
0540-single-element-in-a-sorted-array
0643-maximum-average-subarray-i
0881-boats-to-save-people
0930-binary-subarrays-with-sum
0977-squares-of-a-sorted-array
1260-shift-2d-grid
1752-check-if-array-is-sorted-and-rotated
2091-removing-minimum-and-maximum-from-array
2149-rearrange-array-elements-by-sign
3718-smallest-missing-multiple-of-k
3875-construct-uniform-parity-array-i
3876-construct-uniform-parity-array-ii
3903-smallest-stable-index-i
3904-smallest-stable-index-ii

Sliding Window

0209-minimum-size-subarray-sum
0643-maximum-average-subarray-i
0930-binary-subarrays-with-sum
2904-shortest-and-lexicographically-smallest-beautiful-string

Math

0009-palindrome-number
0048-rotate-image
0070-climbing-stairs
0189-rotate-array
0509-fibonacci-number
1927-sum-game
3536-maximum-product-of-two-digits
3622-check-divisibility-by-digit-sum-and-product
3875-construct-uniform-parity-array-i
3876-construct-uniform-parity-array-ii

Two Pointers

0011-container-with-most-water
0016-3sum-closest
0026-remove-duplicates-from-sorted-array
0028-find-the-index-of-the-first-occurrence-in-a-string
0031-next-permutation
0042-trapping-rain-water
0075-sort-colors
0189-rotate-array
0283-move-zeroes
0881-boats-to-save-people
0977-squares-of-a-sorted-array
2149-rearrange-array-elements-by-sign

String

0028-find-the-index-of-the-first-occurrence-in-a-string
0459-repeated-substring-pattern
0686-repeated-string-match
1927-sum-game
2351-first-letter-to-appear-twice
2904-shortest-and-lexicographically-smallest-beautiful-string

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string
0459-repeated-substring-pattern
0686-repeated-string-match

Z Algorithm

0028-find-the-index-of-the-first-occurrence-in-a-string
0459-repeated-substring-pattern
0686-repeated-string-match

Knuth–Morris–Pratt Algorithm

0028-find-the-index-of-the-first-occurrence-in-a-string
0459-repeated-substring-pattern
0686-repeated-string-match

Boyer–Moore String-Search Algorithm

0028-find-the-index-of-the-first-occurrence-in-a-string
0686-repeated-string-match

Greedy

0011-container-with-most-water
0881-boats-to-save-people
1927-sum-game
2091-removing-minimum-and-maximum-from-array

Sorting

0016-3sum-closest
0075-sort-colors
0169-majority-element
0881-boats-to-save-people
0977-squares-of-a-sorted-array
3536-maximum-product-of-two-digits

Binary Search

0033-search-in-rotated-sorted-array
0209-minimum-size-subarray-sum
0540-single-element-in-a-sorted-array

Dynamic Programming

0042-trapping-rain-water
0053-maximum-subarray
0070-climbing-stairs
0121-best-time-to-buy-and-sell-stock
0509-fibonacci-number

Stack

0042-trapping-rain-water

Monotonic Stack

0042-trapping-rain-water

Quicksort

0075-sort-colors

Bubble Sort

0075-sort-colors

Timsort

0881-boats-to-save-people

Matrix

0048-rotate-image
1260-shift-2d-grid

Game Theory

1927-sum-game

Hash Table

0001-two-sum
0041-first-missing-positive
0169-majority-element
0930-binary-subarrays-with-sum
2351-first-letter-to-appear-twice
3718-smallest-missing-multiple-of-k

Prefix Sum

0209-minimum-size-subarray-sum
0238-product-of-array-except-self
0930-binary-subarrays-with-sum
3903-smallest-stable-index-i
3904-smallest-stable-index-ii

Bit Manipulation

0136-single-number
0137-single-number-ii
2351-first-letter-to-appear-twice

Counting

0169-majority-element
2351-first-letter-to-appear-twice

Simulation

1260-shift-2d-grid
2149-rearrange-array-elements-by-sign

Divide and Conquer

0053-maximum-subarray
0169-majority-element

Boyer–Moore Majority Vote Algorithm

0169-majority-element

Recursion

0509-fibonacci-number

Memoization

0070-climbing-stairs
0509-fibonacci-number

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages