Skip to content

ChanHaoHao/Leetcode

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

Array

0088-merge-sorted-array
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0169-majority-element
0189-rotate-array
0952-word-subsets
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
2292-counting-words-with-a-given-prefix
2533-bitwise-xor-of-all-pairings
2766-find-the-prefix-common-array-of-two-arrays
2792-neighboring-bitwise-xor
3309-count-prefix-and-suffix-pairs-i

String

0952-word-subsets
1502-construct-k-palindrome-strings
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
2221-check-if-a-parentheses-string-can-be-valid
2292-counting-words-with-a-given-prefix
3309-count-prefix-and-suffix-pairs-i
3455-minimum-length-of-string-after-operations

Prefix Sum

1895-minimum-number-of-operations-to-move-all-balls-to-each-box

Trie

3309-count-prefix-and-suffix-pairs-i

Rolling Hash

3309-count-prefix-and-suffix-pairs-i

String Matching

2292-counting-words-with-a-given-prefix
3309-count-prefix-and-suffix-pairs-i

Hash Function

3309-count-prefix-and-suffix-pairs-i

Hash Table

0169-majority-element
0952-word-subsets
1502-construct-k-palindrome-strings
2766-find-the-prefix-common-array-of-two-arrays
3455-minimum-length-of-string-after-operations

Greedy

0122-best-time-to-buy-and-sell-stock-ii
1502-construct-k-palindrome-strings
2221-check-if-a-parentheses-string-can-be-valid
2509-minimize-xor

Counting

0169-majority-element
1502-construct-k-palindrome-strings
3455-minimum-length-of-string-after-operations

Two Pointers

0088-merge-sorted-array
0189-rotate-array

Sorting

0088-merge-sorted-array
0169-majority-element

Divide and Conquer

0169-majority-element

Stack

2221-check-if-a-parentheses-string-can-be-valid

Math

0189-rotate-array

Bit Manipulation

2509-minimize-xor
2533-bitwise-xor-of-all-pairings
2766-find-the-prefix-common-array-of-two-arrays
2792-neighboring-bitwise-xor

Dynamic Programming

0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii

Brainteaser

2533-bitwise-xor-of-all-pairings

Breadth-First Search

1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid

Graph

1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid

Heap (Priority Queue)

1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid

Matrix

1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid

Shortest Path

1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published