Skip to content

Utkarshs19/My_leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My_leetcode

all the leetcode questions

LeetCode Topics

Math

1426-find-n-unique-integers-sum-up-to-zero
1440-convert-integer-to-the-sum-of-two-no-zero-integers
1448-maximum-69-number
2432-number-of-zero-filled-subarrays
3606-minimum-element-after-replacement-with-digit-sum
3625-stone-removal-game
3676-smallest-number-with-all-set-bits
3702-maximum-subarray-with-equal-products
3830-find-closest-person

Greedy

1448-maximum-69-number
1834-minimum-number-of-people-to-teach
1917-maximum-average-pass-ratio
2520-using-a-robot-to-print-the-lexicographically-smallest-string
3445-lexicographically-minimum-string-after-removing-stars
3691-minimum-operations-to-make-columns-strictly-increasing

String

0424-longest-repeating-character-replacement
0524-longest-word-in-dictionary-through-deleting
0720-longest-word-in-dictionary
0827-expressive-words
0839-short-encoding-of-words
0851-goat-latin
0858-masking-personal-information
1273-compare-strings-by-frequency-of-the-smallest-character
1320-remove-all-adjacent-duplicates-in-string-ii
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1737-maximum-nesting-depth-of-the-parentheses
1923-sentence-similarity-iii
2520-using-a-robot-to-print-the-lexicographically-smallest-string
2580-circular-sentence
2691-count-vowel-strings-in-ranges
3245-find-beautiful-indices-in-the-given-array-i
3349-maximum-length-substring-with-two-occurrences
3356-shortest-uncommon-substring-in-an-array
3426-minimum-number-of-chairs-in-a-waiting-room
3445-lexicographically-minimum-string-after-removing-stars
3566-find-the-sequence-of-strings-appeared-on-the-screen
3595-rearrange-k-substrings-to-form-target-string
3634-find-mirror-score-of-a-string
3683-find-the-lexicographically-largest-string-from-the-box-i
3707-find-the-most-common-response
3797-design-spreadsheet

Stack

1320-remove-all-adjacent-duplicates-in-string-ii
1737-maximum-nesting-depth-of-the-parentheses
2227-sum-of-subarray-ranges
2520-using-a-robot-to-print-the-lexicographically-smallest-string
3445-lexicographically-minimum-string-after-removing-stars
3634-find-mirror-score-of-a-string

Simulation

0498-diagonal-traverse
1041-available-captures-for-rook
1400-find-winner-on-a-tic-tac-toe-game
2408-number-of-people-aware-of-a-secret
2587-design-memory-allocator
3426-minimum-number-of-chairs-in-a-waiting-room
3566-find-the-sequence-of-strings-appeared-on-the-screen
3625-stone-removal-game
3634-find-mirror-score-of-a-string
3708-zigzag-grid-traversal-with-skip

Array

0036-valid-sudoku
0498-diagonal-traverse
0524-longest-word-in-dictionary-through-deleting
0720-longest-word-in-dictionary
0827-expressive-words
0839-short-encoding-of-words
1041-available-captures-for-rook
1273-compare-strings-by-frequency-of-the-smallest-character
1400-find-winner-on-a-tic-tac-toe-game
1402-count-square-submatrices-with-all-ones
1426-find-n-unique-integers-sum-up-to-zero
1586-longest-subarray-of-1s-after-deleting-one-element
1834-minimum-number-of-people-to-teach
1917-maximum-average-pass-ratio
1923-sentence-similarity-iii
2012-process-tasks-using-servers
2227-sum-of-subarray-ranges
2432-number-of-zero-filled-subarrays
2567-closest-nodes-queries-in-a-binary-search-tree
2587-design-memory-allocator
2691-count-vowel-strings-in-ranges
3170-find-indices-with-index-and-value-difference-ii
3251-maximum-area-of-longest-diagonal-rectangle
3356-shortest-uncommon-substring-in-an-array
3430-count-days-without-meetings
3461-find-the-minimum-area-to-cover-all-ones-i
3579-maximum-possible-number-by-binary-concatenation
3594-identify-the-largest-outlier-in-an-array
3606-minimum-element-after-replacement-with-digit-sum
3691-minimum-operations-to-make-columns-strictly-increasing
3702-maximum-subarray-with-equal-products
3707-find-the-most-common-response
3708-zigzag-grid-traversal-with-skip
3748-sort-matrix-by-diagonals
3797-design-spreadsheet

Dynamic Programming

1402-count-square-submatrices-with-all-ones
1586-longest-subarray-of-1s-after-deleting-one-element
2408-number-of-people-aware-of-a-secret

Matrix

0036-valid-sudoku
0498-diagonal-traverse
1041-available-captures-for-rook
1400-find-winner-on-a-tic-tac-toe-game
1402-count-square-submatrices-with-all-ones
3461-find-the-minimum-area-to-cover-all-ones-i
3691-minimum-operations-to-make-columns-strictly-increasing
3708-zigzag-grid-traversal-with-skip
3748-sort-matrix-by-diagonals
3797-design-spreadsheet

Hash Table

0036-valid-sudoku
0424-longest-repeating-character-replacement
0720-longest-word-in-dictionary
0839-short-encoding-of-words
1273-compare-strings-by-frequency-of-the-smallest-character
1400-find-winner-on-a-tic-tac-toe-game
1834-minimum-number-of-people-to-teach
2520-using-a-robot-to-print-the-lexicographically-smallest-string
2587-design-memory-allocator
3349-maximum-length-substring-with-two-occurrences
3356-shortest-uncommon-substring-in-an-array
3445-lexicographically-minimum-string-after-removing-stars
3594-identify-the-largest-outlier-in-an-array
3595-rearrange-k-substrings-to-form-target-string
3634-find-mirror-score-of-a-string
3707-find-the-most-common-response
3797-design-spreadsheet

Counting

3594-identify-the-largest-outlier-in-an-array
3707-find-the-most-common-response

Sliding Window

0424-longest-repeating-character-replacement
1586-longest-subarray-of-1s-after-deleting-one-element
3349-maximum-length-substring-with-two-occurrences
3702-maximum-subarray-with-equal-products

Heap (Priority Queue)

1917-maximum-average-pass-ratio
2012-process-tasks-using-servers
3445-lexicographically-minimum-string-after-removing-stars

Two Pointers

0524-longest-word-in-dictionary-through-deleting
0827-expressive-words
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1923-sentence-similarity-iii
3170-find-indices-with-index-and-value-difference-ii
3245-find-beautiful-indices-in-the-given-array-i
3683-find-the-lexicographically-largest-string-from-the-box-i

Binary Search

1273-compare-strings-by-frequency-of-the-smallest-character
2567-closest-nodes-queries-in-a-binary-search-tree
3245-find-beautiful-indices-in-the-given-array-i

Rolling Hash

3245-find-beautiful-indices-in-the-given-array-i

String Matching

1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
3245-find-beautiful-indices-in-the-given-array-i

Hash Function

3245-find-beautiful-indices-in-the-given-array-i

Prefix Sum

2691-count-vowel-strings-in-ranges

Sorting

0524-longest-word-in-dictionary-through-deleting
0720-longest-word-in-dictionary
1273-compare-strings-by-frequency-of-the-smallest-character
3430-count-days-without-meetings
3595-rearrange-k-substrings-to-form-target-string
3748-sort-matrix-by-diagonals

Tree

2567-closest-nodes-queries-in-a-binary-search-tree

Depth-First Search

2567-closest-nodes-queries-in-a-binary-search-tree

Binary Search Tree

2567-closest-nodes-queries-in-a-binary-search-tree

Binary Tree

2567-closest-nodes-queries-in-a-binary-search-tree

Design

2587-design-memory-allocator
3797-design-spreadsheet

Bit Manipulation

3579-maximum-possible-number-by-binary-concatenation
3676-smallest-number-with-all-set-bits

Enumeration

3579-maximum-possible-number-by-binary-concatenation
3594-identify-the-largest-outlier-in-an-array
3683-find-the-lexicographically-largest-string-from-the-box-i
3702-maximum-subarray-with-equal-products

Number Theory

3702-maximum-subarray-with-equal-products

Trie

0720-longest-word-in-dictionary
0839-short-encoding-of-words
3356-shortest-uncommon-substring-in-an-array

Monotonic Stack

2227-sum-of-subarray-ranges

Queue

2408-number-of-people-aware-of-a-secret

About

all the leetcode questions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published