Skip to content
VisheshKamblePublic

About

Solving problems daily

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

512 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Time I Wont Stop

LeetCode Topics

Tree

0100-same-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0111-minimum-depth-of-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0129-sum-root-to-leaf-numbers
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0230-kth-smallest-element-in-a-bst
0236-lowest-common-ancestor-of-a-binary-tree
0297-serialize-and-deserialize-binary-tree
0543-diameter-of-binary-tree
0572-subtree-of-another-tree
0653-two-sum-iv-input-is-a-bst
1569-number-of-ways-to-reorder-array-to-get-same-bst
3841-palindromic-path-queries-in-a-tree

Depth-First Search

0100-same-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0129-sum-root-to-leaf-numbers
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0230-kth-smallest-element-in-a-bst
0236-lowest-common-ancestor-of-a-binary-tree
0297-serialize-and-deserialize-binary-tree
0543-diameter-of-binary-tree
0572-subtree-of-another-tree
0653-two-sum-iv-input-is-a-bst
1254-number-of-closed-islands
3619-count-islands-with-total-value-divisible-by-k
3841-palindromic-path-queries-in-a-tree

Binary Tree

0100-same-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0111-minimum-depth-of-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0129-sum-root-to-leaf-numbers
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0230-kth-smallest-element-in-a-bst
0236-lowest-common-ancestor-of-a-binary-tree
0297-serialize-and-deserialize-binary-tree
0543-diameter-of-binary-tree
0572-subtree-of-another-tree
0653-two-sum-iv-input-is-a-bst
1569-number-of-ways-to-reorder-array-to-get-same-bst

Binary Lifting

0236-lowest-common-ancestor-of-a-binary-tree

Lowest Common Ancestor

0236-lowest-common-ancestor-of-a-binary-tree

Binary Search Tree

0230-kth-smallest-element-in-a-bst
0349-intersection-of-two-arrays
0653-two-sum-iv-input-is-a-bst
1477-find-two-non-overlapping-sub-arrays-each-with-target-sum
1539-kth-missing-positive-number
1569-number-of-ways-to-reorder-array-to-get-same-bst
1658-minimum-operations-to-reduce-x-to-zero
2089-find-target-indices-after-sorting-array
2333-minimum-sum-of-squared-difference

Array

0001-two-sum
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0150-evaluate-reverse-polish-notation
0189-rotate-array
0349-intersection-of-two-arrays
0453-minimum-moves-to-equal-array-elements
0877-stone-game
1254-number-of-closed-islands
1477-find-two-non-overlapping-sub-arrays-each-with-target-sum
1480-running-sum-of-1d-array
1539-kth-missing-positive-number
1569-number-of-ways-to-reorder-array-to-get-same-bst
1658-minimum-operations-to-reduce-x-to-zero
1807-evaluate-the-bracket-pairs-of-a-string
2089-find-target-indices-after-sorting-array
2267-check-if-there-is-a-valid-parentheses-string-path
2333-minimum-sum-of-squared-difference
2778-sum-of-squares-of-special-elements
2897-apply-operations-on-array-to-maximize-sum-of-squares
2913-subarrays-distinct-element-sum-of-squares-i
2916-subarrays-distinct-element-sum-of-squares-ii
3524-find-x-value-of-array-i
3525-find-x-value-of-array-ii
3550-smallest-index-with-digit-sum-equal-to-index
3551-minimum-swaps-to-sort-by-digit-sum
3619-count-islands-with-total-value-divisible-by-k
3644-maximum-k-to-sort-a-permutation
3665-twisted-mirror-path-count
3727-maximum-alternating-sum-of-squares
3841-palindromic-path-queries-in-a-tree
3882-minimum-xor-path-in-a-grid
3886-sum-of-sortable-integers
3942-minimum-operations-to-sort-a-permutation

Hash Table

0001-two-sum
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0127-word-ladder
0138-copy-list-with-random-pointer
0349-intersection-of-two-arrays
0653-two-sum-iv-input-is-a-bst
0771-jewels-and-stones
1096-brace-expansion-ii
1477-find-two-non-overlapping-sub-arrays-each-with-target-sum
1520-maximum-number-of-non-overlapping-substrings
1658-minimum-operations-to-reduce-x-to-zero
1807-evaluate-the-bracket-pairs-of-a-string
2897-apply-operations-on-array-to-maximize-sum-of-squares
2913-subarrays-distinct-element-sum-of-squares-i
2916-subarrays-distinct-element-sum-of-squares-ii
3551-minimum-swaps-to-sort-by-digit-sum

Dynamic Programming

0022-generate-parentheses
0032-longest-valid-parentheses
0124-binary-tree-maximum-path-sum
0678-valid-parenthesis-string
0877-stone-game
1477-find-two-non-overlapping-sub-arrays-each-with-target-sum
1569-number-of-ways-to-reorder-array-to-get-same-bst
2267-check-if-there-is-a-valid-parentheses-string-path
3524-find-x-value-of-array-i
3665-twisted-mirror-path-count
3882-minimum-xor-path-in-a-grid

Sliding Window

1477-find-two-non-overlapping-sub-arrays-each-with-target-sum
1658-minimum-operations-to-reduce-x-to-zero

Math

0150-evaluate-reverse-polish-notation
0189-rotate-array
0412-fizz-buzz
0453-minimum-moves-to-equal-array-elements
0877-stone-game
1401-circle-and-rectangle-overlapping
1569-number-of-ways-to-reorder-array-to-get-same-bst
2409-count-days-spent-together
3524-find-x-value-of-array-i
3525-find-x-value-of-array-ii
3550-smallest-index-with-digit-sum-equal-to-index
3723-maximize-sum-of-squares-of-digits
3886-sum-of-sortable-integers

Minimax

0877-stone-game

Game Theory

0877-stone-game

Zero-Sum Game

0877-stone-game

Divide and Conquer

0105-construct-binary-tree-from-preorder-and-inorder-traversal
1569-number-of-ways-to-reorder-array-to-get-same-bst
3841-palindromic-path-queries-in-a-tree

String

0020-valid-parentheses
0022-generate-parentheses
0032-longest-valid-parentheses
0127-word-ladder
0297-serialize-and-deserialize-binary-tree
0301-remove-invalid-parentheses
0412-fizz-buzz
0678-valid-parenthesis-string
0771-jewels-and-stones
0856-score-of-parentheses
1021-remove-outermost-parentheses
1047-remove-all-adjacent-duplicates-in-string
1096-brace-expansion-ii
1111-maximum-nesting-depth-of-two-valid-parentheses-strings
1190-reverse-substrings-between-each-pair-of-parentheses
1520-maximum-number-of-non-overlapping-substrings
1541-minimum-insertions-to-balance-a-parentheses-string
1614-maximum-nesting-depth-of-the-parentheses
1807-evaluate-the-bracket-pairs-of-a-string
2409-count-days-spent-together
2810-faulty-keyboard
3174-clear-digits
3330-find-the-original-typed-string-i
3498-reverse-degree-of-a-string
3746-minimum-string-length-after-balanced-removals
3841-palindromic-path-queries-in-a-tree
3863-minimum-operations-to-sort-a-string
3970-shortest-path-with-at-most-k-consecutive-identical-characters

Breadth-First Search

0100-same-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0127-word-ladder
0297-serialize-and-deserialize-binary-tree
0301-remove-invalid-parentheses
0653-two-sum-iv-input-is-a-bst
1096-brace-expansion-ii
1254-number-of-closed-islands
3619-count-islands-with-total-value-divisible-by-k

Design

0155-min-stack
0297-serialize-and-deserialize-binary-tree

Greedy

0678-valid-parenthesis-string
1520-maximum-number-of-non-overlapping-substrings
1541-minimum-insertions-to-balance-a-parentheses-string
2333-minimum-sum-of-squared-difference
2897-apply-operations-on-array-to-maximize-sum-of-squares
3723-maximize-sum-of-squares-of-digits
3727-maximum-alternating-sum-of-squares

Sorting

0349-intersection-of-two-arrays
1096-brace-expansion-ii
1520-maximum-number-of-non-overlapping-substrings
2089-find-target-indices-after-sorting-array
2333-minimum-sum-of-squared-difference
3551-minimum-swaps-to-sort-by-digit-sum
3727-maximum-alternating-sum-of-squares
3886-sum-of-sortable-integers

DP on Trees

0124-binary-tree-maximum-path-sum
0543-diameter-of-binary-tree

String Matching

0572-subtree-of-another-tree

Hash Function

0572-subtree-of-another-tree

Stack

0020-valid-parentheses
0032-longest-valid-parentheses
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0150-evaluate-reverse-polish-notation
0155-min-stack
0678-valid-parenthesis-string
0856-score-of-parentheses
1021-remove-outermost-parentheses
1047-remove-all-adjacent-duplicates-in-string
1096-brace-expansion-ii
1111-maximum-nesting-depth-of-two-valid-parentheses-strings
1190-reverse-substrings-between-each-pair-of-parentheses
1541-minimum-insertions-to-balance-a-parentheses-string
1614-maximum-nesting-depth-of-the-parentheses
3174-clear-digits
3746-minimum-string-length-after-balanced-removals

Geometry

1401-circle-and-rectangle-overlapping

Simulation

0412-fizz-buzz
2810-faulty-keyboard
3174-clear-digits
3498-reverse-degree-of-a-string

Two Pointers

0189-rotate-array
0349-intersection-of-two-arrays
0653-two-sum-iv-input-is-a-bst

Linked List

0138-copy-list-with-random-pointer

Prefix Sum

1480-running-sum-of-1d-array
1658-minimum-operations-to-reduce-x-to-zero

Segment Tree

2913-subarrays-distinct-element-sum-of-squares-i
2916-subarrays-distinct-element-sum-of-squares-ii
3525-find-x-value-of-array-ii
3841-palindromic-path-queries-in-a-tree

Backtracking

0022-generate-parentheses
0301-remove-invalid-parentheses
1096-brace-expansion-ii

Bracket Sequences

0020-valid-parentheses
0022-generate-parentheses
0032-longest-valid-parentheses
0678-valid-parenthesis-string
0856-score-of-parentheses
1021-remove-outermost-parentheses
1111-maximum-nesting-depth-of-two-valid-parentheses-strings
1190-reverse-substrings-between-each-pair-of-parentheses
1541-minimum-insertions-to-balance-a-parentheses-string
1614-maximum-nesting-depth-of-the-parentheses
2267-check-if-there-is-a-valid-parentheses-string-path

Matrix

1254-number-of-closed-islands
2267-check-if-there-is-a-valid-parentheses-string-path
3619-count-islands-with-total-value-divisible-by-k
3665-twisted-mirror-path-count
3882-minimum-xor-path-in-a-grid

Counting

3746-minimum-string-length-after-balanced-removals

Bidirectional Search

0127-word-ladder

Heap (Priority Queue)

2333-minimum-sum-of-squared-difference
3970-shortest-path-with-at-most-k-consecutive-identical-characters

Enumeration

2778-sum-of-squares-of-special-elements
3886-sum-of-sortable-integers

Bit Manipulation

2897-apply-operations-on-array-to-maximize-sum-of-squares
3644-maximum-k-to-sort-a-permutation
3841-palindromic-path-queries-in-a-tree
3882-minimum-xor-path-in-a-grid

Binary Indexed Tree

2913-subarrays-distinct-element-sum-of-squares-i
2916-subarrays-distinct-element-sum-of-squares-ii
3841-palindromic-path-queries-in-a-tree

Union-Find

1254-number-of-closed-islands
1569-number-of-ways-to-reorder-array-to-get-same-bst
3619-count-islands-with-total-value-divisible-by-k

Memoization

1569-number-of-ways-to-reorder-array-to-get-same-bst

Combinatorics

1569-number-of-ways-to-reorder-array-to-get-same-bst

Fermat's Little Theorem

1569-number-of-ways-to-reorder-array-to-get-same-bst

Graph Theory

3970-shortest-path-with-at-most-k-consecutive-identical-characters

Shortest Path

3970-shortest-path-with-at-most-k-consecutive-identical-characters

About

Solving problems daily

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages