Skip to content

SangHyuck7/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Algorithm

LeetCode Topics

Array

0036-valid-sudoku
0059-spiral-matrix-ii
0066-plus-one
0088-merge-sorted-array
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0406-queue-reconstruction-by-height
0413-arithmetic-slices
0463-island-perimeter
0506-relative-ranks
0861-flipping-an-image
0958-sort-array-by-parity-ii
1386-shift-2d-grid
1392-find-the-difference-of-two-arrays
1547-destination-city
1704-special-positions-in-a-binary-matrix
1742-widest-vertical-area-between-two-points-containing-no-points
1786-count-the-number-of-consistent-strings
1829-maximum-units-on-a-truck
1845-largest-submatrix-with-rearrangements
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
1923-sentence-similarity-iii
2159-two-out-of-three
2454-largest-local-values-in-a-matrix
2581-divide-players-into-teams-of-equal-skill
3221-find-the-peaks
3463-alternating-groups-i

String

0028-find-the-index-of-the-first-occurrence-in-a-string
0290-word-pattern
0535-encode-and-decode-tinyurl
0567-permutation-in-string
1205-defanging-an-ip-address
1547-destination-city
1666-make-the-string-great
1746-largest-substring-between-two-equal-characters
1786-count-the-number-of-consistent-strings
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
1920-determine-color-of-a-chessboard-square
1923-sentence-similarity-iii
2401-count-asterisks
3379-score-of-a-string
3453-generate-binary-strings-without-adjacent-zeros

Matrix

0036-valid-sudoku
0059-spiral-matrix-ii
0463-island-perimeter
0861-flipping-an-image
1386-shift-2d-grid
1704-special-positions-in-a-binary-matrix
1845-largest-submatrix-with-rearrangements
2454-largest-local-values-in-a-matrix

Simulation

0059-spiral-matrix-ii
0258-add-digits
0861-flipping-an-image
1386-shift-2d-grid
1642-water-bottles

Tree

0105-construct-binary-tree-from-preorder-and-inorder-traversal
0111-minimum-depth-of-binary-tree
0114-flatten-binary-tree-to-linked-list
0129-sum-root-to-leaf-numbers
0199-binary-tree-right-side-view

Depth-First Search

0111-minimum-depth-of-binary-tree
0114-flatten-binary-tree-to-linked-list
0129-sum-root-to-leaf-numbers
0199-binary-tree-right-side-view
0386-lexicographical-numbers
0463-island-perimeter

Binary Tree

0105-construct-binary-tree-from-preorder-and-inorder-traversal
0111-minimum-depth-of-binary-tree
0114-flatten-binary-tree-to-linked-list
0129-sum-root-to-leaf-numbers
0199-binary-tree-right-side-view

Linked List

0114-flatten-binary-tree-to-linked-list
0142-linked-list-cycle-ii
0143-reorder-list
1765-merge-in-between-linked-lists

Two Pointers

0028-find-the-index-of-the-first-occurrence-in-a-string
0088-merge-sorted-array
0142-linked-list-cycle-ii
0143-reorder-list
0567-permutation-in-string
0861-flipping-an-image
0958-sort-array-by-parity-ii
1923-sentence-similarity-iii
2481-strictly-palindromic-number
2581-divide-players-into-teams-of-equal-skill

Stack

0114-flatten-binary-tree-to-linked-list
0143-reorder-list
1666-make-the-string-great

Recursion

0143-reorder-list
1013-fibonacci-number
3453-generate-binary-strings-without-adjacent-zeros

Sorting

0088-merge-sorted-array
0406-queue-reconstruction-by-height
0506-relative-ranks
0958-sort-array-by-parity-ii
1742-widest-vertical-area-between-two-points-containing-no-points
1829-maximum-units-on-a-truck
1845-largest-submatrix-with-rearrangements
2581-divide-players-into-teams-of-equal-skill

Hash Table

0036-valid-sudoku
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0142-linked-list-cycle-ii
0290-word-pattern
0535-encode-and-decode-tinyurl
0567-permutation-in-string
1392-find-the-difference-of-two-arrays
1547-destination-city
1746-largest-substring-between-two-equal-characters
1786-count-the-number-of-consistent-strings
2159-two-out-of-three
2581-divide-players-into-teams-of-equal-skill

Divide and Conquer

0105-construct-binary-tree-from-preorder-and-inorder-traversal

Breadth-First Search

0111-minimum-depth-of-binary-tree
0199-binary-tree-right-side-view
0279-perfect-squares
0463-island-perimeter

Math

0066-plus-one
0258-add-digits
0263-ugly-number
0279-perfect-squares
0292-nim-game
1013-fibonacci-number
1642-water-bottles
1920-determine-color-of-a-chessboard-square
2481-strictly-palindromic-number
2812-find-the-maximum-achievable-number

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string

Number Theory

0258-add-digits

Dynamic Programming

0279-perfect-squares
0413-arithmetic-slices
1013-fibonacci-number

Brainteaser

0292-nim-game
2481-strictly-palindromic-number

Game Theory

0292-nim-game

Binary Indexed Tree

0406-queue-reconstruction-by-height

Segment Tree

0406-queue-reconstruction-by-height

Bit Manipulation

0861-flipping-an-image
1786-count-the-number-of-consistent-strings
2159-two-out-of-three
2323-minimum-bit-flips-to-convert-number
3453-generate-binary-strings-without-adjacent-zeros

Greedy

1829-maximum-units-on-a-truck
1845-largest-submatrix-with-rearrangements

Enumeration

3221-find-the-peaks

Memoization

1013-fibonacci-number

Heap (Priority Queue)

0506-relative-ranks

Sliding Window

0567-permutation-in-string
3463-alternating-groups-i

Design

0535-encode-and-decode-tinyurl

Hash Function

0535-encode-and-decode-tinyurl

Counting

1786-count-the-number-of-consistent-strings

Trie

0386-lexicographical-numbers

About

LeetCode 알고리즘 문제 풀이 저장소

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published