Skip to content

Latest commit

 

History

355 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode

LeetCode Topics

Linked List

0002-add-two-numbers
0024-swap-nodes-in-pairs
0141-linked-list-cycle
0142-linked-list-cycle-ii
0234-palindrome-linked-list
0328-odd-even-linked-list
0528-swapping-nodes-in-a-linked-list
0725-split-linked-list-in-parts
2903-insert-greatest-common-divisors-in-linked-list
3501-delete-nodes-from-linked-list-present-in-array

Two Pointers

0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0141-linked-list-cycle
0142-linked-list-cycle-ii
0234-palindrome-linked-list
0528-swapping-nodes-in-a-linked-list
0979-di-string-match
2442-number-of-arithmetic-triplets
2917-count-pairs-whose-sum-is-less-than-target

Stack

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0225-implement-stack-using-queues
0234-palindrome-linked-list
0933-increasing-order-search-tree
1802-number-of-students-unable-to-eat-lunch

Recursion

0002-add-two-numbers
0024-swap-nodes-in-pairs
0234-palindrome-linked-list
1951-find-the-winner-of-the-circular-game

Math

0002-add-two-numbers
0007-reverse-integer
1444-number-of-steps-to-reduce-a-number-to-zero
1610-xor-operation-in-an-array
1635-number-of-good-pairs
1642-water-bottles
1951-find-the-winner-of-the-circular-game
1993-sum-of-all-subset-xor-totals
2903-insert-greatest-common-divisors-in-linked-list
3476-find-minimum-operations-to-make-all-elements-divisible-by-three

Hash Table

0049-group-anagrams
0141-linked-list-cycle
0142-linked-list-cycle-ii
0387-first-unique-character-in-a-string
0782-jewels-and-stones
0920-uncommon-words-from-two-sentences
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs
1786-count-the-number-of-consistent-strings
2406-decode-the-message
2442-number-of-arithmetic-triplets
2502-sort-the-people
3501-delete-nodes-from-linked-list-present-in-array

Simulation

1642-water-bottles
1802-number-of-students-unable-to-eat-lunch
1951-find-the-winner-of-the-circular-game
2006-find-the-student-that-will-replace-the-chalk
2048-build-array-from-permutation
2058-concatenation-of-array
2076-sum-of-digits-of-string-after-convert
2137-final-value-of-variable-after-performing-operations

Array

0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0049-group-anagrams
0624-maximum-distance-in-arrays
0979-di-string-match
1435-xor-queries-of-a-subarray
1482-how-many-numbers-are-smaller-than-the-current-number
1528-kids-with-the-greatest-number-of-candies
1580-shuffle-the-array
1635-number-of-good-pairs
1742-widest-vertical-area-between-two-points-containing-no-points
1786-count-the-number-of-consistent-strings
1791-richest-customer-wealth
1802-number-of-students-unable-to-eat-lunch
1839-decode-xored-array
1951-find-the-winner-of-the-circular-game
1993-sum-of-all-subset-xor-totals
2006-find-the-student-that-will-replace-the-chalk
2048-build-array-from-permutation
2058-concatenation-of-array
2137-final-value-of-variable-after-performing-operations
2148-minimum-number-of-moves-to-seat-everyone
2442-number-of-arithmetic-triplets
2454-largest-local-values-in-a-matrix
2502-sort-the-people
2503-longest-subarray-with-maximum-bitwise-and
2917-count-pairs-whose-sum-is-less-than-target
3093-sum-of-values-at-indices-with-k-set-bits
3194-find-words-containing-character
3476-find-minimum-operations-to-make-all-elements-divisible-by-three
3501-delete-nodes-from-linked-list-present-in-array

Backtracking

1993-sum-of-all-subset-xor-totals

Bit Manipulation

0222-count-complete-tree-nodes
0476-number-complement
1435-xor-queries-of-a-subarray
1444-number-of-steps-to-reduce-a-number-to-zero
1610-xor-operation-in-an-array
1786-count-the-number-of-consistent-strings
1839-decode-xored-array
1993-sum-of-all-subset-xor-totals
2323-minimum-bit-flips-to-convert-number
2503-longest-subarray-with-maximum-bitwise-and
3093-sum-of-values-at-indices-with-k-set-bits

Combinatorics

1993-sum-of-all-subset-xor-totals

Enumeration

1993-sum-of-all-subset-xor-totals
2442-number-of-arithmetic-triplets

String

0049-group-anagrams
0387-first-unique-character-in-a-string
0782-jewels-and-stones
0920-uncommon-words-from-two-sentences
0979-di-string-match
1786-count-the-number-of-consistent-strings
2076-sum-of-digits-of-string-after-convert
2137-final-value-of-variable-after-performing-operations
2406-decode-the-message
2502-sort-the-people
3194-find-words-containing-character

Counting

0387-first-unique-character-in-a-string
0920-uncommon-words-from-two-sentences
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs
1786-count-the-number-of-consistent-strings

Matrix

1791-richest-customer-wealth
2454-largest-local-values-in-a-matrix

Greedy

0011-container-with-most-water
0624-maximum-distance-in-arrays
0979-di-string-match
2148-minimum-number-of-moves-to-seat-everyone

Sorting

0049-group-anagrams
1482-how-many-numbers-are-smaller-than-the-current-number
1742-widest-vertical-area-between-two-points-containing-no-points
2148-minimum-number-of-moves-to-seat-everyone
2502-sort-the-people
2917-count-pairs-whose-sum-is-less-than-target

Binary Search

0222-count-complete-tree-nodes
2006-find-the-student-that-will-replace-the-chalk
2917-count-pairs-whose-sum-is-less-than-target

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0222-count-complete-tree-nodes
0226-invert-binary-tree
0617-merge-two-binary-trees
0783-search-in-a-binary-search-tree
0789-kth-largest-element-in-a-stream
0933-increasing-order-search-tree
0975-range-sum-of-bst
1498-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
2384-root-equals-sum-of-children
2416-evaluate-boolean-binary-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree
0617-merge-two-binary-trees
0933-increasing-order-search-tree
0975-range-sum-of-bst
1498-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
2416-evaluate-boolean-binary-tree

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0222-count-complete-tree-nodes
0226-invert-binary-tree
0617-merge-two-binary-trees
0783-search-in-a-binary-search-tree
0789-kth-largest-element-in-a-stream
0933-increasing-order-search-tree
0975-range-sum-of-bst
1498-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
2384-root-equals-sum-of-children
2416-evaluate-boolean-binary-tree

Binary Search Tree

0783-search-in-a-binary-search-tree
0789-kth-largest-element-in-a-stream
0933-increasing-order-search-tree
0975-range-sum-of-bst

Breadth-First Search

0100-same-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0226-invert-binary-tree
0617-merge-two-binary-trees
1498-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree

Design

0225-implement-stack-using-queues
0789-kth-largest-element-in-a-stream

Heap (Priority Queue)

0789-kth-largest-element-in-a-stream

Data Stream

0789-kth-largest-element-in-a-stream

Prefix Sum

1435-xor-queries-of-a-subarray
2006-find-the-student-that-will-replace-the-chalk

Number Theory

2903-insert-greatest-common-divisors-in-linked-list

Brainteaser

2503-longest-subarray-with-maximum-bitwise-and

Queue

0225-implement-stack-using-queues
0387-first-unique-character-in-a-string
1802-number-of-students-unable-to-eat-lunch
1951-find-the-winner-of-the-circular-game

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages