Skip to content

Vis7044/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode

LeetCode Topics

Array

0001-two-sum
0015-3sum
0018-4sum
0034-find-first-and-last-position-of-element-in-sorted-array
0053-maximum-subarray
0056-merge-intervals
0073-set-matrix-zeroes
0075-sort-colors
0081-search-in-rotated-sorted-array-ii
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0123-best-time-to-buy-and-sell-stock-iii
0128-longest-consecutive-sequence
0153-find-minimum-in-rotated-sorted-array
0169-majority-element
0188-best-time-to-buy-and-sell-stock-iv
0200-number-of-islands
0213-house-robber-ii
0229-majority-element-ii
0300-longest-increasing-subsequence
0309-best-time-to-buy-and-sell-stock-with-cooldown
0368-largest-divisible-subset
0410-split-array-largest-sum
0503-next-greater-element-ii
0695-max-area-of-island
0714-best-time-to-buy-and-sell-stock-with-transaction-fee
0733-flood-fill
0994-rotting-oranges
1129-longest-string-chain
1679-shortest-subarray-to-be-removed-to-make-array-sorted
1755-defuse-the-bomb
2179-most-beautiful-item-for-each-query
2188-minimized-maximum-of-products-distributed-to-any-store
2232-adding-spaces-to-a-string
2552-maximum-sum-of-distinct-subarrays-with-length-k
2699-count-the-number-of-fair-pairs
3380-shortest-subarray-with-or-at-least-k-ii
3429-special-array-i
3522-find-the-power-of-k-size-subarrays-i

Bit Manipulation

3380-shortest-subarray-with-or-at-least-k-ii

Sliding Window

1755-defuse-the-bomb
2552-maximum-sum-of-distinct-subarrays-with-length-k
3380-shortest-subarray-with-or-at-least-k-ii
3522-find-the-power-of-k-size-subarrays-i

Linked List

0206-reverse-linked-list
2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points

Math

0070-climbing-stairs
0368-largest-divisible-subset
2187-vowels-of-all-substrings

String

0044-wildcard-matching
0387-first-unique-character-in-a-string
1129-longest-string-chain
1170-shortest-common-supersequence
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
2187-vowels-of-all-substrings
2232-adding-spaces-to-a-string
3018-make-string-a-subsequence-using-cyclic-increments
3455-minimum-length-of-string-after-operations

Dynamic Programming

0044-wildcard-matching
0053-maximum-subarray
0070-climbing-stairs
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0123-best-time-to-buy-and-sell-stock-iii
0124-binary-tree-maximum-path-sum
0188-best-time-to-buy-and-sell-stock-iv
0213-house-robber-ii
0300-longest-increasing-subsequence
0309-best-time-to-buy-and-sell-stock-with-cooldown
0368-largest-divisible-subset
0410-split-array-largest-sum
0714-best-time-to-buy-and-sell-stock-with-transaction-fee
1129-longest-string-chain
1170-shortest-common-supersequence
2187-vowels-of-all-substrings

Combinatorics

2187-vowels-of-all-substrings

Binary Search

0034-find-first-and-last-position-of-element-in-sorted-array
0081-search-in-rotated-sorted-array-ii
0153-find-minimum-in-rotated-sorted-array
0300-longest-increasing-subsequence
0410-split-array-largest-sum
1679-shortest-subarray-to-be-removed-to-make-array-sorted
2179-most-beautiful-item-for-each-query
2188-minimized-maximum-of-products-distributed-to-any-store
2699-count-the-number-of-fair-pairs

Sorting

0015-3sum
0018-4sum
0056-merge-intervals
0075-sort-colors
0169-majority-element
0229-majority-element-ii
0368-largest-divisible-subset
1129-longest-string-chain
2179-most-beautiful-item-for-each-query
2699-count-the-number-of-fair-pairs

Two Pointers

0015-3sum
0018-4sum
0075-sort-colors
1129-longest-string-chain
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1679-shortest-subarray-to-be-removed-to-make-array-sorted
2232-adding-spaces-to-a-string
2699-count-the-number-of-fair-pairs
3018-make-string-a-subsequence-using-cyclic-increments

Greedy

0044-wildcard-matching
0122-best-time-to-buy-and-sell-stock-ii
0410-split-array-largest-sum
0714-best-time-to-buy-and-sell-stock-with-transaction-fee

Recursion

0044-wildcard-matching
0206-reverse-linked-list

Stack

0503-next-greater-element-ii
1679-shortest-subarray-to-be-removed-to-make-array-sorted

Monotonic Stack

0503-next-greater-element-ii
1679-shortest-subarray-to-be-removed-to-make-array-sorted

Hash Table

0001-two-sum
0073-set-matrix-zeroes
0128-longest-consecutive-sequence
0169-majority-element
0229-majority-element-ii
0387-first-unique-character-in-a-string
1129-longest-string-chain
2552-maximum-sum-of-distinct-subarrays-with-length-k
3455-minimum-length-of-string-after-operations

String Matching

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

Simulation

2232-adding-spaces-to-a-string

Counting

0169-majority-element
0229-majority-element-ii
0387-first-unique-character-in-a-string
3455-minimum-length-of-string-after-operations

Queue

0387-first-unique-character-in-a-string

Divide and Conquer

0053-maximum-subarray
0169-majority-element

Matrix

0073-set-matrix-zeroes
0200-number-of-islands
0695-max-area-of-island
0733-flood-fill
0994-rotting-oranges

Union Find

0128-longest-consecutive-sequence
0200-number-of-islands
0547-number-of-provinces
0695-max-area-of-island

Prefix Sum

0410-split-array-largest-sum

Depth-First Search

0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0124-binary-tree-maximum-path-sum
0200-number-of-islands
0547-number-of-provinces
0695-max-area-of-island
0733-flood-fill

Breadth-First Search

0104-maximum-depth-of-binary-tree
0200-number-of-islands
0547-number-of-provinces
0695-max-area-of-island
0733-flood-fill
0994-rotting-oranges

Graph

0547-number-of-provinces

Tree

0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0124-binary-tree-maximum-path-sum

Binary Tree

0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0124-binary-tree-maximum-path-sum

Memoization

0070-climbing-stairs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published