Skip to content

dej0e/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode

LeetCode Stats

LeetCode Topics

Hash Table

0003-longest-substring-without-repeating-characters
0017-letter-combinations-of-a-phone-number
0076-minimum-window-substring
0127-word-ladder
0139-word-break
0438-find-all-anagrams-in-a-string
0753-open-the-lock

String

0003-longest-substring-without-repeating-characters
0017-letter-combinations-of-a-phone-number
0022-generate-parentheses
0076-minimum-window-substring
0091-decode-ways
0093-restore-ip-addresses
0125-valid-palindrome
0127-word-ladder
0131-palindrome-partitioning
0139-word-break
0257-binary-tree-paths
0297-serialize-and-deserialize-binary-tree
0438-find-all-anagrams-in-a-string
0753-open-the-lock

Backtracking

0017-letter-combinations-of-a-phone-number
0022-generate-parentheses
0039-combination-sum
0040-combination-sum-ii
0046-permutations
0078-subsets
0090-subsets-ii
0093-restore-ip-addresses
0113-path-sum-ii
0131-palindrome-partitioning
0257-binary-tree-paths

Dynamic Programming

0022-generate-parentheses
0062-unique-paths
0064-minimum-path-sum
0091-decode-ways
0131-palindrome-partitioning
0139-word-break
0221-maximal-square
0322-coin-change
0368-largest-divisible-subset

Array

0011-container-with-most-water
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0039-combination-sum
0040-combination-sum-ii
0046-permutations
0064-minimum-path-sum
0074-search-a-2d-matrix
0078-subsets
0090-subsets-ii
0130-surrounded-regions
0139-word-break
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0200-number-of-islands
0221-maximal-square
0238-product-of-array-except-self
0283-move-zeroes
0286-walls-and-gates
0322-coin-change
0368-largest-divisible-subset
0417-pacific-atlantic-water-flow
0444-sequence-reconstruction
0540-single-element-in-a-sorted-array
0729-my-calendar-i
0733-flood-fill
0753-open-the-lock
0792-binary-search
0907-koko-eating-bananas
1036-rotting-oranges

Trie

0139-word-break

Memoization

0139-word-break

Breadth-First Search

0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0127-word-ladder
0130-surrounded-regions
0199-binary-tree-right-side-view
0200-number-of-islands
0207-course-schedule
0210-course-schedule-ii
0226-invert-binary-tree
0261-graph-valid-tree
0286-walls-and-gates
0297-serialize-and-deserialize-binary-tree
0322-coin-change
0417-pacific-atlantic-water-flow
0733-flood-fill
0753-open-the-lock
1036-rotting-oranges
1142-minimum-knight-moves
1544-count-good-nodes-in-binary-tree

Tree

0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0113-path-sum-ii
0199-binary-tree-right-side-view
0226-invert-binary-tree
0236-lowest-common-ancestor-of-a-binary-tree
0257-binary-tree-paths
0297-serialize-and-deserialize-binary-tree
0572-subtree-of-another-tree
0784-insert-into-a-binary-search-tree
1544-count-good-nodes-in-binary-tree

Depth-First Search

0113-path-sum-ii
0130-surrounded-regions
0199-binary-tree-right-side-view
0200-number-of-islands
0207-course-schedule
0210-course-schedule-ii
0226-invert-binary-tree
0236-lowest-common-ancestor-of-a-binary-tree
0257-binary-tree-paths
0261-graph-valid-tree
0297-serialize-and-deserialize-binary-tree
0417-pacific-atlantic-water-flow
0572-subtree-of-another-tree
0733-flood-fill
1544-count-good-nodes-in-binary-tree

Binary Tree

0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0113-path-sum-ii
0199-binary-tree-right-side-view
0226-invert-binary-tree
0236-lowest-common-ancestor-of-a-binary-tree
0257-binary-tree-paths
0297-serialize-and-deserialize-binary-tree
0572-subtree-of-another-tree
0784-insert-into-a-binary-search-tree
1544-count-good-nodes-in-binary-tree

Matrix

0064-minimum-path-sum
0074-search-a-2d-matrix
0130-surrounded-regions
0200-number-of-islands
0221-maximal-square
0286-walls-and-gates
0417-pacific-atlantic-water-flow
0733-flood-fill
1036-rotting-oranges

Union Find

0130-surrounded-regions
0200-number-of-islands
0261-graph-valid-tree

Graph

0207-course-schedule
0210-course-schedule-ii
0261-graph-valid-tree
0444-sequence-reconstruction

Topological Sort

0207-course-schedule
0210-course-schedule-ii
0444-sequence-reconstruction

Math

0062-unique-paths
0368-largest-divisible-subset

Combinatorics

0062-unique-paths

Sorting

0368-largest-divisible-subset

Binary Search

0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0074-search-a-2d-matrix
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0540-single-element-in-a-sorted-array
0729-my-calendar-i
0792-binary-search
0907-koko-eating-bananas

Design

0297-serialize-and-deserialize-binary-tree
0729-my-calendar-i

Segment Tree

0729-my-calendar-i

Ordered Set

0729-my-calendar-i

Two Pointers

0011-container-with-most-water
0125-valid-palindrome
0167-two-sum-ii-input-array-is-sorted
0283-move-zeroes

Greedy

0011-container-with-most-water

Sliding Window

0003-longest-substring-without-repeating-characters
0076-minimum-window-substring
0438-find-all-anagrams-in-a-string

Prefix Sum

0238-product-of-array-except-self

String Matching

0572-subtree-of-another-tree

Hash Function

0572-subtree-of-another-tree

Binary Search Tree

0784-insert-into-a-binary-search-tree

Bit Manipulation

0078-subsets
0090-subsets-ii

About

Documenting the leetcode grind. I am DFS-ing using algomonster and neetcode.

Topics

Resources

Stars

Watchers

Forks

Languages