Skip to content

PremSaiArroju/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

507 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

Leet Code Problems

String

0742-to-lower-case
3396-valid-word

Array

0055-jump-game
0056-merge-intervals
0121-best-time-to-buy-and-sell-stock
0948-sort-an-array

Sorting

0056-merge-intervals
0948-sort-an-array

Divide and Conquer

0948-sort-an-array

Heap (Priority Queue)

0948-sort-an-array

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0948-sort-an-array

Dynamic Programming

0055-jump-game
0121-best-time-to-buy-and-sell-stock

Greedy

0055-jump-game

LeetCode Topics

Linked List

0002-add-two-numbers
0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0083-remove-duplicates-from-sorted-list
0092-reverse-linked-list-ii
0116-populating-next-right-pointers-in-each-node
0141-linked-list-cycle
0206-reverse-linked-list
1411-convert-binary-number-in-a-linked-list-to-integer

Math

0002-add-two-numbers
0007-reverse-integer
0012-integer-to-roman
0013-roman-to-integer
0066-plus-one
0150-evaluate-reverse-polish-notation
0172-factorial-trailing-zeroes
0202-happy-number
0231-power-of-two
0268-missing-number
0342-power-of-four
0371-sum-of-two-integers
0380-insert-delete-getrandom-o1
0504-base-7
1411-convert-binary-number-in-a-linked-list-to-integer

Recursion

0002-add-two-numbers
0021-merge-two-sorted-lists
0206-reverse-linked-list
0231-power-of-two
0342-power-of-four

Array

0011-container-with-most-water
0015-3sum
0027-remove-element
0036-valid-sudoku
0042-trapping-rain-water
0045-jump-game-ii
0055-jump-game
0066-plus-one
0068-text-justification
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0108-convert-sorted-array-to-binary-search-tree
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0128-longest-consecutive-sequence
0135-candy
0150-evaluate-reverse-polish-notation
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0209-minimum-size-subarray-sum
0219-contains-duplicate-ii
0228-summary-ranges
0238-product-of-array-except-self
0268-missing-number
0274-h-index
0283-move-zeroes
0380-insert-delete-getrandom-o1
0560-subarray-sum-equals-k
2681-put-marbles-in-bags

Two Pointers

0011-container-with-most-water
0015-3sum
0019-remove-nth-node-from-end-of-list
0027-remove-element
0042-trapping-rain-water
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0125-valid-palindrome
0141-linked-list-cycle
0151-reverse-words-in-a-string
0167-two-sum-ii-input-array-is-sorted
0202-happy-number
0283-move-zeroes
0392-is-subsequence

Sorting

0015-3sum
0088-merge-sorted-array
0169-majority-element
0268-missing-number
0274-h-index
2681-put-marbles-in-bags

Hash Table

0012-integer-to-roman
0013-roman-to-integer
0036-valid-sudoku
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0128-longest-consecutive-sequence
0141-linked-list-cycle
0169-majority-element
0202-happy-number
0205-isomorphic-strings
0219-contains-duplicate-ii
0268-missing-number
0290-word-pattern
0380-insert-delete-getrandom-o1
0560-subarray-sum-equals-k

Divide and Conquer

0105-construct-binary-tree-from-preorder-and-inorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0108-convert-sorted-array-to-binary-search-tree
0169-majority-element
0191-number-of-1-bits

Counting

0169-majority-element

Dynamic Programming

0042-trapping-rain-water
0045-jump-game-ii
0055-jump-game
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0392-is-subsequence

Greedy

0011-container-with-most-water
0045-jump-game-ii
0055-jump-game
0122-best-time-to-buy-and-sell-stock-ii
0135-candy
2681-put-marbles-in-bags

Counting Sort

0274-h-index

String

0006-zigzag-conversion
0012-integer-to-roman
0013-roman-to-integer
0068-text-justification
0071-simplify-path
0125-valid-palindrome
0151-reverse-words-in-a-string
0205-isomorphic-strings
0290-word-pattern
0392-is-subsequence

Prefix Sum

0209-minimum-size-subarray-sum
0238-product-of-array-except-self
0560-subarray-sum-equals-k

Simulation

0068-text-justification

Matrix

0036-valid-sudoku

Stack

0042-trapping-rain-water
0071-simplify-path
0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0150-evaluate-reverse-polish-notation

Monotonic Stack

0042-trapping-rain-water

Design

0380-insert-delete-getrandom-o1

Randomized

0380-insert-delete-getrandom-o1

Binary Search

0167-two-sum-ii-input-array-is-sorted
0209-minimum-size-subarray-sum
0222-count-complete-tree-nodes
0268-missing-number

Database

0180-consecutive-numbers
0585-investments-in-2016
1452-restaurant-growth
1480-movie-rating
1670-patients-with-a-condition

Tree

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0108-convert-sorted-array-to-binary-search-tree
0112-path-sum
0116-populating-next-right-pointers-in-each-node
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0199-binary-tree-right-side-view
0222-count-complete-tree-nodes
0226-invert-binary-tree
0637-average-of-levels-in-binary-tree

Binary Search Tree

0098-validate-binary-search-tree
0108-convert-sorted-array-to-binary-search-tree

Binary Tree

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0106-construct-binary-tree-from-inorder-and-postorder-traversal
0108-convert-sorted-array-to-binary-search-tree
0112-path-sum
0116-populating-next-right-pointers-in-each-node
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0199-binary-tree-right-side-view
0222-count-complete-tree-nodes
0226-invert-binary-tree
0637-average-of-levels-in-binary-tree

Heap (Priority Queue)

2681-put-marbles-in-bags

Sliding Window

0209-minimum-size-subarray-sum
0219-contains-duplicate-ii

Union Find

0128-longest-consecutive-sequence

Depth-First Search

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0112-path-sum
0116-populating-next-right-pointers-in-each-node
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0199-binary-tree-right-side-view
0226-invert-binary-tree
0637-average-of-levels-in-binary-tree

Breadth-First Search

0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0112-path-sum
0116-populating-next-right-pointers-in-each-node
0199-binary-tree-right-side-view
0226-invert-binary-tree
0637-average-of-levels-in-binary-tree

Bit Manipulation

0191-number-of-1-bits
0222-count-complete-tree-nodes
0231-power-of-two
0268-missing-number
0342-power-of-four
0371-sum-of-two-integers
0476-number-complement

About

Leet Code Problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors