Skip to content

imfoobar42/LeetCodeDaily

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Hash Table

0169-majority-element
0217-contains-duplicate
0219-contains-duplicate-ii
0347-top-k-frequent-elements
0496-next-greater-element-i
0599-minimum-index-sum-of-two-lists
1319-unique-number-of-occurrences
1502-construct-k-palindrome-strings
1848-sum-of-unique-elements
2204-find-subsequence-of-length-k-with-the-largest-sum
2436-make-array-zero-by-subtracting-equal-amounts
2520-using-a-robot-to-print-the-lexicographically-smallest-string
3445-lexicographically-minimum-string-after-removing-stars

String

0020-valid-parentheses
0599-minimum-index-sum-of-two-lists
0680-valid-palindrome-ii
1058-lexicographically-smallest-equivalent-string
1502-construct-k-palindrome-strings
2470-removing-stars-from-a-string
2520-using-a-robot-to-print-the-lexicographically-smallest-string
3396-valid-word
3445-lexicographically-minimum-string-after-removing-stars
3617-find-the-original-typed-string-i
3618-find-the-original-typed-string-ii
3683-find-the-lexicographically-largest-string-from-the-box-i

Greedy

0045-jump-game-ii
0055-jump-game
0135-candy
0253-meeting-rooms-ii
0435-non-overlapping-intervals
0455-assign-cookies
0561-array-partition
0605-can-place-flowers
0680-valid-palindrome-ii
0890-lemonade-change
1502-construct-k-palindrome-strings
2436-make-array-zero-by-subtracting-equal-amounts
2497-maximum-matching-of-players-with-trainers
2520-using-a-robot-to-print-the-lexicographically-smallest-string
3445-lexicographically-minimum-string-after-removing-stars

Counting

0169-majority-element
0347-top-k-frequent-elements
1502-construct-k-palindrome-strings
1848-sum-of-unique-elements
2614-maximum-count-of-positive-integer-and-negative-integer

Array

0034-find-first-and-last-position-of-element-in-sorted-array
0045-jump-game-ii
0055-jump-game
0057-insert-interval
0135-candy
0153-find-minimum-in-rotated-sorted-array
0162-find-peak-element
0169-majority-element
0198-house-robber
0200-number-of-islands
0217-contains-duplicate
0219-contains-duplicate-ii
0252-meeting-rooms
0253-meeting-rooms-ii
0347-top-k-frequent-elements
0403-frog-jump
0416-partition-equal-subset-sum
0435-non-overlapping-intervals
0455-assign-cookies
0463-island-perimeter
0496-next-greater-element-i
0561-array-partition
0599-minimum-index-sum-of-two-lists
0605-can-place-flowers
0733-flood-fill
0739-daily-temperatures
0745-find-smallest-letter-greater-than-target
0747-min-cost-climbing-stairs
0792-binary-search
0882-peak-index-in-a-mountain-array
0890-lemonade-change
1185-find-in-mountain-array
1319-unique-number-of-occurrences
1421-find-numbers-with-even-number-of-digits
1424-maximum-candies-you-can-get-from-boxes
1791-richest-customer-wealth
1848-sum-of-unique-elements
1878-check-if-array-is-sorted-and-rotated
2048-build-array-from-permutation
2058-concatenation-of-array
2204-find-subsequence-of-length-k-with-the-largest-sum
2265-partition-array-according-to-given-pivot
2436-make-array-zero-by-subtracting-equal-amounts
2497-maximum-matching-of-players-with-trainers
2551-apply-operations-to-an-array
2614-maximum-count-of-positive-integer-and-negative-integer
3472-bitwise-or-of-adjacent-elements
3490-find-the-maximum-length-of-valid-subsequence-i
3577-convert-doubly-linked-list-to-array-i

Dynamic Programming

0045-jump-game-ii
0055-jump-game
0070-climbing-stairs
0198-house-robber
0403-frog-jump
0416-partition-equal-subset-sum
0435-non-overlapping-intervals
0747-min-cost-climbing-stairs
3490-find-the-maximum-length-of-valid-subsequence-i
3618-find-the-original-typed-string-ii

Math

0070-climbing-stairs
0326-power-of-three
1421-find-numbers-with-even-number-of-digits
1889-check-if-number-is-a-sum-of-powers-of-three
2649-count-total-number-of-colored-cells
3201-distribute-candies-among-children-ii
3600-find-the-k-th-character-in-string-game-i

Memoization

0070-climbing-stairs

Binary Search

0034-find-first-and-last-position-of-element-in-sorted-array
0153-find-minimum-in-rotated-sorted-array
0162-find-peak-element
0222-count-complete-tree-nodes
0278-first-bad-version
0745-find-smallest-letter-greater-than-target
0792-binary-search
0882-peak-index-in-a-mountain-array
1185-find-in-mountain-array
2614-maximum-count-of-positive-integer-and-negative-integer

Bit Manipulation

0222-count-complete-tree-nodes
3472-bitwise-or-of-adjacent-elements
3600-find-the-k-th-character-in-string-game-i

Tree

0094-binary-tree-inorder-traversal
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0222-count-complete-tree-nodes

Binary Tree

0094-binary-tree-inorder-traversal
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0222-count-complete-tree-nodes

Two Pointers

0253-meeting-rooms-ii
0455-assign-cookies
0680-valid-palindrome-ii
0908-middle-of-the-linked-list
2265-partition-array-according-to-given-pivot
2497-maximum-matching-of-players-with-trainers
2551-apply-operations-to-an-array
3683-find-the-lexicographically-largest-string-from-the-box-i

Sorting

0169-majority-element
0217-contains-duplicate
0252-meeting-rooms
0253-meeting-rooms-ii
0347-top-k-frequent-elements
0435-non-overlapping-intervals
0455-assign-cookies
0561-array-partition
2204-find-subsequence-of-length-k-with-the-largest-sum
2436-make-array-zero-by-subtracting-equal-amounts
2497-maximum-matching-of-players-with-trainers

Linked List

0908-middle-of-the-linked-list
3577-convert-doubly-linked-list-to-array-i

Doubly-Linked List

3577-convert-doubly-linked-list-to-array-i

Simulation

2048-build-array-from-permutation
2058-concatenation-of-array
2265-partition-array-according-to-given-pivot
2436-make-array-zero-by-subtracting-equal-amounts
2470-removing-stars-from-a-string
2551-apply-operations-to-an-array
3600-find-the-k-th-character-in-string-game-i

Sliding Window

0219-contains-duplicate-ii

Heap (Priority Queue)

0253-meeting-rooms-ii
0347-top-k-frequent-elements
2204-find-subsequence-of-length-k-with-the-largest-sum
2436-make-array-zero-by-subtracting-equal-amounts
3445-lexicographically-minimum-string-after-removing-stars

Divide and Conquer

0169-majority-element
0347-top-k-frequent-elements

Prefix Sum

0253-meeting-rooms-ii
3618-find-the-original-typed-string-ii

Counting Sort

0561-array-partition

Stack

0020-valid-parentheses
0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0496-next-greater-element-i
0739-daily-temperatures
2470-removing-stars-from-a-string
2520-using-a-robot-to-print-the-lexicographically-smallest-string
3445-lexicographically-minimum-string-after-removing-stars

Monotonic Stack

0496-next-greater-element-i
0739-daily-temperatures

Depth-First Search

0094-binary-tree-inorder-traversal
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0200-number-of-islands
0323-number-of-connected-components-in-an-undirected-graph
0463-island-perimeter
0547-number-of-provinces
0733-flood-fill
0801-is-graph-bipartite
2121-find-if-path-exists-in-graph

Breadth-First Search

0101-symmetric-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0112-path-sum
0200-number-of-islands
0323-number-of-connected-components-in-an-undirected-graph
0463-island-perimeter
0547-number-of-provinces
0733-flood-fill
0801-is-graph-bipartite
1424-maximum-candies-you-can-get-from-boxes
2121-find-if-path-exists-in-graph

Recursion

0326-power-of-three
3600-find-the-k-th-character-in-string-game-i

Matrix

0200-number-of-islands
0463-island-perimeter
0733-flood-fill
1791-richest-customer-wealth

Combinatorics

3201-distribute-candies-among-children-ii

Enumeration

3201-distribute-candies-among-children-ii
3683-find-the-lexicographically-largest-string-from-the-box-i

Graph

0323-number-of-connected-components-in-an-undirected-graph
0547-number-of-provinces
0801-is-graph-bipartite
1424-maximum-candies-you-can-get-from-boxes
2121-find-if-path-exists-in-graph

Union Find

0200-number-of-islands
0323-number-of-connected-components-in-an-undirected-graph
0547-number-of-provinces
0801-is-graph-bipartite
1058-lexicographically-smallest-equivalent-string
2121-find-if-path-exists-in-graph

Interactive

0278-first-bad-version
1185-find-in-mountain-array

Bucket Sort

0347-top-k-frequent-elements

Quickselect

0347-top-k-frequent-elements

About

Planning to solve LeetCode daily challenges for Fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published