Skip to content

Latest commit

 

History

638 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A2SV_Solved_Questions

LeetCode Topics

Math

0009-palindrome-number
0012-integer-to-roman
0013-roman-to-integer
0050-powx-n
0202-happy-number
0268-missing-number
0342-power-of-four
0380-insert-delete-getrandom-o1
0486-predict-the-winner
0509-fibonacci-number
0633-sum-of-square-numbers
0781-rabbits-in-forest
0976-largest-perimeter-triangle
1922-count-good-numbers
2177-find-three-consecutive-integers-that-sum-to-a-given-number
2413-smallest-even-multiple
2469-convert-the-temperature

Number Theory

2413-smallest-even-multiple

Array

0001-two-sum
0014-longest-common-prefix
0039-combination-sum
0040-combination-sum-ii
0046-permutations
0047-permutations-ii
0049-group-anagrams
0051-n-queens
0053-maximum-subarray
0054-spiral-matrix
0055-jump-game
0073-set-matrix-zeroes
0078-subsets
0090-subsets-ii
0128-longest-consecutive-sequence
0136-single-number
0167-two-sum-ii-input-array-is-sorted
0179-largest-number
0217-contains-duplicate
0229-majority-element-ii
0268-missing-number
0283-move-zeroes
0304-range-sum-query-2d-immutable
0347-top-k-frequent-elements
0349-intersection-of-two-arrays
0380-insert-delete-getrandom-o1
0442-find-all-duplicates-in-an-array
0485-max-consecutive-ones
0486-predict-the-winner
0498-diagonal-traverse
0560-subarray-sum-equals-k
0599-minimum-index-sum-of-two-lists
0609-find-duplicate-file-in-system
0641-design-circular-deque
0643-maximum-average-subarray-i
0661-image-smoother
0690-employee-importance
0722-remove-comments
0739-daily-temperatures
0781-rabbits-in-forest
0811-subdomain-visit-count
0832-flipping-an-image
0860-lemonade-change
0867-transpose-matrix
0881-boats-to-save-people
0974-subarray-sums-divisible-by-k
0976-largest-perimeter-triangle
0985-sum-of-even-numbers-after-queries
1029-two-city-scheduling
1160-find-words-that-can-be-formed-by-characters
1351-count-negative-numbers-in-a-sorted-matrix
1365-how-many-numbers-are-smaller-than-the-current-number
1413-minimum-value-to-get-positive-step-by-step-sum
1441-build-an-array-with-stack-operations
1472-design-browser-history
1493-longest-subarray-of-1s-after-deleting-one-element
1528-shuffle-string
1598-crawler-log-folder
1886-determine-whether-matrix-can-be-obtained-by-rotation
1893-check-if-all-the-integers-in-a-range-are-covered
2007-find-original-array-from-doubled-array
2176-count-equal-and-divisible-pairs-in-an-array
2305-fair-distribution-of-cookies
2418-sort-the-people
2491-divide-players-into-teams-of-equal-skill
2553-separate-the-digits-in-an-array
3191-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3527-find-the-most-common-response

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0012-integer-to-roman
0013-roman-to-integer
0049-group-anagrams
0073-set-matrix-zeroes
0128-longest-consecutive-sequence
0202-happy-number
0217-contains-duplicate
0229-majority-element-ii
0242-valid-anagram
0268-missing-number
0290-word-pattern
0347-top-k-frequent-elements
0349-intersection-of-two-arrays
0380-insert-delete-getrandom-o1
0383-ransom-note
0438-find-all-anagrams-in-a-string
0442-find-all-duplicates-in-an-array
0451-sort-characters-by-frequency
0560-subarray-sum-equals-k
0599-minimum-index-sum-of-two-lists
0609-find-duplicate-file-in-system
0653-two-sum-iv-input-is-a-bst
0690-employee-importance
0781-rabbits-in-forest
0811-subdomain-visit-count
0974-subarray-sums-divisible-by-k
1160-find-words-that-can-be-formed-by-characters
1365-how-many-numbers-are-smaller-than-the-current-number
1893-check-if-all-the-integers-in-a-range-are-covered
2007-find-original-array-from-doubled-array
2418-sort-the-people
2491-divide-players-into-teams-of-equal-skill
2526-find-consecutive-integers-from-a-data-stream
2671-frequency-tracker
3438-find-valid-pair-of-adjacent-digits-in-string
3527-find-the-most-common-response

Binary Search

0167-two-sum-ii-input-array-is-sorted
0268-missing-number
0349-intersection-of-two-arrays
0633-sum-of-square-numbers
1351-count-negative-numbers-in-a-sorted-matrix

Bit Manipulation

0078-subsets
0090-subsets-ii
0136-single-number
0268-missing-number
0342-power-of-four
0832-flipping-an-image
0868-binary-gap
2305-fair-distribution-of-cookies
3191-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Sorting

0047-permutations-ii
0049-group-anagrams
0179-largest-number
0217-contains-duplicate
0229-majority-element-ii
0242-valid-anagram
0268-missing-number
0347-top-k-frequent-elements
0349-intersection-of-two-arrays
0442-find-all-duplicates-in-an-array
0451-sort-characters-by-frequency
0881-boats-to-save-people
0976-largest-perimeter-triangle
1029-two-city-scheduling
1365-how-many-numbers-are-smaller-than-the-current-number
2007-find-original-array-from-doubled-array
2418-sort-the-people
2491-divide-players-into-teams-of-equal-skill

String

0003-longest-substring-without-repeating-characters
0012-integer-to-roman
0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0049-group-anagrams
0071-simplify-path
0179-largest-number
0242-valid-anagram
0290-word-pattern
0383-ransom-note
0438-find-all-anagrams-in-a-string
0451-sort-characters-by-frequency
0599-minimum-index-sum-of-two-lists
0609-find-duplicate-file-in-system
0722-remove-comments
0811-subdomain-visit-count
0856-score-of-parentheses
1160-find-words-that-can-be-formed-by-characters
1528-shuffle-string
1598-crawler-log-folder
2390-removing-stars-from-a-string
2418-sort-the-people
3438-find-valid-pair-of-adjacent-digits-in-string
3527-find-the-most-common-response

Trie

0014-longest-common-prefix

Prefix Sum

0304-range-sum-query-2d-immutable
0560-subarray-sum-equals-k
0974-subarray-sums-divisible-by-k
1413-minimum-value-to-get-positive-step-by-step-sum
1893-check-if-all-the-integers-in-a-range-are-covered
3191-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Counting

0229-majority-element-ii
0347-top-k-frequent-elements
0383-ransom-note
0451-sort-characters-by-frequency
0811-subdomain-visit-count
1160-find-words-that-can-be-formed-by-characters
2526-find-consecutive-integers-from-a-data-stream
3438-find-valid-pair-of-adjacent-digits-in-string
3527-find-the-most-common-response

Simulation

0054-spiral-matrix
0498-diagonal-traverse
0832-flipping-an-image
0867-transpose-matrix
0985-sum-of-even-numbers-after-queries
1441-build-an-array-with-stack-operations
2177-find-three-consecutive-integers-that-sum-to-a-given-number
2390-removing-stars-from-a-string
2553-separate-the-digits-in-an-array

Two Pointers

0028-find-the-index-of-the-first-occurrence-in-a-string
0167-two-sum-ii-input-array-is-sorted
0202-happy-number
0283-move-zeroes
0349-intersection-of-two-arrays
0633-sum-of-square-numbers
0653-two-sum-iv-input-is-a-bst
0832-flipping-an-image
0881-boats-to-save-people
2491-divide-players-into-teams-of-equal-skill

Divide and Conquer

0053-maximum-subarray
0347-top-k-frequent-elements

Heap (Priority Queue)

0347-top-k-frequent-elements
0451-sort-characters-by-frequency

Bucket Sort

0347-top-k-frequent-elements
0451-sort-characters-by-frequency

Quickselect

0347-top-k-frequent-elements

Design

0304-range-sum-query-2d-immutable
0380-insert-delete-getrandom-o1
0641-design-circular-deque
0707-design-linked-list
0933-number-of-recent-calls
1472-design-browser-history
2526-find-consecutive-integers-from-a-data-stream
2671-frequency-tracker

Randomized

0380-insert-delete-getrandom-o1

Matrix

0054-spiral-matrix
0073-set-matrix-zeroes
0304-range-sum-query-2d-immutable
0498-diagonal-traverse
0661-image-smoother
0832-flipping-an-image
0867-transpose-matrix
1351-count-negative-numbers-in-a-sorted-matrix
1886-determine-whether-matrix-can-be-obtained-by-rotation

Greedy

0055-jump-game
0179-largest-number
0781-rabbits-in-forest
0860-lemonade-change
0881-boats-to-save-people
0976-largest-perimeter-triangle
1029-two-city-scheduling
2007-find-original-array-from-doubled-array

Recursion

0050-powx-n
0203-remove-linked-list-elements
0342-power-of-four
0486-predict-the-winner
0509-fibonacci-number
1922-count-good-numbers
2487-remove-nodes-from-linked-list

Counting Sort

1365-how-many-numbers-are-smaller-than-the-current-number

Backtracking

0039-combination-sum
0040-combination-sum-ii
0046-permutations
0047-permutations-ii
0051-n-queens
0052-n-queens-ii
0077-combinations
0078-subsets
0090-subsets-ii
2305-fair-distribution-of-cookies

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string
0572-subtree-of-another-tree

Sliding Window

0003-longest-substring-without-repeating-characters
0438-find-all-anagrams-in-a-string
0643-maximum-average-subarray-i
1493-longest-subarray-of-1s-after-deleting-one-element
3191-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Dynamic Programming

0053-maximum-subarray
0055-jump-game
0486-predict-the-winner
0509-fibonacci-number
1493-longest-subarray-of-1s-after-deleting-one-element
2305-fair-distribution-of-cookies

Union-Find

0128-longest-consecutive-sequence
0547-number-of-provinces
1971-find-if-path-exists-in-graph

Linked List

0203-remove-linked-list-elements
0237-delete-node-in-a-linked-list
0328-odd-even-linked-list
0641-design-circular-deque
0707-design-linked-list
1472-design-browser-history
2487-remove-nodes-from-linked-list

Stack

0020-valid-parentheses
0071-simplify-path
0739-daily-temperatures
0856-score-of-parentheses
1441-build-an-array-with-stack-operations
1472-design-browser-history
1598-crawler-log-folder
2390-removing-stars-from-a-string
2487-remove-nodes-from-linked-list

Doubly-Linked List

1472-design-browser-history

Data Stream

0933-number-of-recent-calls
1472-design-browser-history
2526-find-consecutive-integers-from-a-data-stream

Depth-First Search

0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0547-number-of-provinces
0572-subtree-of-another-tree
0653-two-sum-iv-input-is-a-bst
0690-employee-importance
0841-keys-and-rooms
1971-find-if-path-exists-in-graph

Breadth-First Search

0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0547-number-of-provinces
0653-two-sum-iv-input-is-a-bst
0690-employee-importance
0841-keys-and-rooms
1971-find-if-path-exists-in-graph

Graph Theory

0547-number-of-provinces
0841-keys-and-rooms
1791-find-center-of-star-graph
1971-find-if-path-exists-in-graph

Queue

0641-design-circular-deque
0933-number-of-recent-calls
2526-find-consecutive-integers-from-a-data-stream
3191-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Monotonic Stack

0739-daily-temperatures
2487-remove-nodes-from-linked-list

Tree

0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0572-subtree-of-another-tree
0653-two-sum-iv-input-is-a-bst
0690-employee-importance

Memoization

0509-fibonacci-number

Binary Tree

0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0572-subtree-of-another-tree
0653-two-sum-iv-input-is-a-bst

Game Theory

0486-predict-the-winner

Hash Function

0572-subtree-of-another-tree

Binary Search Tree

0653-two-sum-iv-input-is-a-bst

Bitmask

2305-fair-distribution-of-cookies

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages