Skip to content

πŸ‘‹ Welcome, hello! I’m a passionate coder who thrives on solving problems every single day. πŸ’‘ On LeetCode, I’m currently among the top 6,000 global coders , where I continuously sharpen my skills and master every concept through dedication and deep practice.

Notifications You must be signed in to change notification settings

JVRC03/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

A collection of LeetCode questions to ace the coding interview! - Created using LeetHub v2

LeetCode Topics

Array

0204-count-primes
0436-find-right-interval
0454-4sum-ii
0457-circular-array-loop
0477-total-hamming-distance
0532-k-diff-pairs-in-an-array
0554-brick-wall
0594-longest-harmonious-subsequence
0624-maximum-distance-in-arrays
0636-exclusive-time-of-functions
0713-subarray-product-less-than-k
0718-maximum-length-of-repeated-subarray
0829-subdomain-visit-count
0853-most-profit-assigning-work
0870-magic-squares-in-grid
0917-boats-to-save-people
0940-fruit-into-baskets
0944-smallest-range-i
0966-binary-subarrays-with-sum
0991-array-of-doubled-pairs
0992-delete-columns-to-make-sorted-ii
1006-vowel-spellchecker
1009-pancake-sorting
1028-interval-list-intersections
1046-max-consecutive-ones-iii
1047-maximize-sum-of-array-after-k-negations
1049-minimum-domino-rotations-for-equal-row
1138-grumpy-bookstore-owner
1183-statistics-from-a-large-sample
1232-sum-of-mutated-array-closest-to-target
1242-matrix-block-sum
1272-invalid-transactions
1284-four-divisors
1294-range-frequency-queries
1335-maximum-candies-allocated-to-k-children
1364-tuple-with-same-product
1370-count-number-of-nice-subarrays
1395-minimum-time-visiting-all-points
1408-find-the-smallest-divisor-given-a-threshold
1435-xor-queries-of-a-subarray
1455-filter-restaurants-by-vegan-friendly-price-and-distance
1510-find-lucky-integer-in-an-array
1511-count-number-of-teams
1538-maximum-points-you-can-obtain-from-cards
1581-the-k-strongest-values-in-an-array
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1709-alert-using-same-key-card-three-or-more-times-in-a-one-hour-period
1787-sum-of-absolute-differences-in-a-sorted-array
1813-maximum-erasure-value
1830-count-good-meals
1860-find-kth-largest-xor-coordinate-value
1866-restore-the-array-from-adjacent-pairs
1911-minimum-elements-to-add-to-form-a-given-sum
1923-sentence-similarity-iii
1940-maximum-xor-for-each-query
1956-maximum-element-after-decreasing-and-rearranging
1983-maximum-population-year
1984-maximum-distance-between-a-pair-of-values
2077-largest-number-after-mutating-substring
2103-find-all-groups-of-farmland
2146-check-if-word-can-be-placed-in-crossword
2179-most-beautiful-item-for-each-query
2204-find-subsequence-of-length-k-with-the-largest-sum
2212-removing-minimum-and-maximum-from-array
2220-find-all-possible-recipes-from-given-supplies
2237-longest-palindrome-by-concatenating-two-letter-words
2240-intervals-between-identical-elements
2338-minimum-consecutive-cards-to-pick-up
2339-k-divisible-elements-subarrays
2355-maximum-consecutive-floors-without-special-floors
2356-largest-combination-with-bitwise-and-greater-than-zero
2366-maximum-bags-with-full-capacity-of-rocks
2387-partition-array-such-that-maximum-difference-is-k
2402-maximum-xor-after-operations
2432-number-of-zero-filled-subarrays
2437-maximum-number-of-groups-entering-a-competition
2478-longest-nice-subarray
2497-maximum-matching-of-players-with-trainers
2503-longest-subarray-with-maximum-bitwise-and
2519-find-the-original-array-of-prefix-xor
2529-range-product-queries-of-powers
2609-distinct-prime-factors-of-product-of-array
2626-count-the-number-of-good-subarrays
2662-check-knight-tour-configuration
2706-minimum-score-by-changing-two-elements
2713-find-the-divisibility-array-of-a-string
2721-sum-of-distances
2724-convert-an-array-into-a-2d-array-with-conditions
2751-sliding-subarray-beauty
2792-neighboring-bitwise-xor
2801-difference-of-number-of-distinct-values-on-diagonals
2873-prime-pairs-with-target-sum
3171-minimum-equal-sum-of-two-arrays-after-replacing-zeros
3194-find-words-containing-character
3202-high-access-employees
3213-count-subarrays-where-max-element-appears-at-least-k-times
3225-length-of-longest-subarray-with-at-most-k-frequency
3241-divide-array-into-arrays-with-max-difference
3249-minimum-number-of-operations-to-make-array-xor-equal-to-k
3251-maximum-area-of-longest-diagonal-rectangle
3299-find-the-maximum-number-of-elements-in-subset
3380-shortest-subarray-with-or-at-least-k-ii
3390-minimum-rectangles-to-cover-points
3413-find-the-first-player-to-win-k-games-in-a-row
3416-sum-of-digit-differences-of-all-pairs
3444-find-the-number-of-good-pairs-ii
3461-find-the-minimum-area-to-cover-all-ones-i
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3507-find-the-count-of-numbers-which-are-not-special
3510-maximize-the-total-height-of-unique-towers
3591-shift-distance-between-two-strings
3760-assign-elements-to-groups-with-constraints
3779-eat-pizzas
3788-maximum-unique-subarray-sum-after-deletion
3790-fruits-into-baskets-ii
3819-count-covered-buildings
3869-smallest-index-with-digit-sum-equal-to-index
3876-transform-array-to-all-equal-elements

Hash Table

0395-longest-substring-with-at-least-k-repeating-characters
0409-longest-palindrome
0423-reconstruct-original-digits-from-english
0454-4sum-ii
0457-circular-array-loop
0532-k-diff-pairs-in-an-array
0554-brick-wall
0594-longest-harmonious-subsequence
0829-subdomain-visit-count
0870-magic-squares-in-grid
0900-reordered-power-of-2
0940-fruit-into-baskets
0966-binary-subarrays-with-sum
0991-array-of-doubled-pairs
1006-vowel-spellchecker
1272-invalid-transactions
1294-range-frequency-queries
1364-tuple-with-same-product
1370-count-number-of-nice-subarrays
1510-find-lucky-integer-in-an-array
1557-check-if-a-string-contains-all-binary-codes-of-size-k
1709-alert-using-same-key-card-three-or-more-times-in-a-one-hour-period
1743-count-substrings-that-differ-by-one-character
1813-maximum-erasure-value
1830-count-good-meals
1866-restore-the-array-from-adjacent-pairs
2204-find-subsequence-of-length-k-with-the-largest-sum
2220-find-all-possible-recipes-from-given-supplies
2237-longest-palindrome-by-concatenating-two-letter-words
2240-intervals-between-identical-elements
2338-minimum-consecutive-cards-to-pick-up
2339-k-divisible-elements-subarrays
2356-largest-combination-with-bitwise-and-greater-than-zero
2609-distinct-prime-factors-of-product-of-array
2626-count-the-number-of-good-subarrays
2721-sum-of-distances
2724-convert-an-array-into-a-2d-array-with-conditions
2751-sliding-subarray-beauty
2801-difference-of-number-of-distinct-values-on-diagonals
2978-check-if-strings-can-be-made-equal-with-operations-ii
3202-high-access-employees
3225-length-of-longest-subarray-with-at-most-k-frequency
3267-find-longest-special-substring-that-occurs-thrice-i
3299-find-the-maximum-number-of-elements-in-subset
3395-minimum-length-of-anagram-concatenation
3416-sum-of-digit-differences-of-all-pairs
3444-find-the-number-of-good-pairs-ii
3445-lexicographically-minimum-string-after-removing-stars
3502-count-substrings-with-k-frequency-characters-i
3573-count-substrings-that-can-be-rearranged-to-contain-a-string-i
3760-assign-elements-to-groups-with-constraints
3788-maximum-unique-subarray-sum-after-deletion
3819-count-covered-buildings
3857-find-maximum-number-of-non-intersecting-substrings
3905-partition-string

Math

0067-add-binary
0204-count-primes
0231-power-of-two
0326-power-of-three
0342-power-of-four
0423-reconstruct-original-digits-from-english
0477-total-hamming-distance
0492-construct-the-rectangle
0633-sum-of-square-numbers
0870-magic-squares-in-grid
0900-reordered-power-of-2
0944-smallest-range-i
1103-moving-stones-until-consecutive
1183-statistics-from-a-large-sample
1276-closest-divisors
1284-four-divisors
1370-count-number-of-nice-subarrays
1395-minimum-time-visiting-all-points
1411-convert-binary-number-in-a-linked-list-to-integer
1448-maximum-69-number
1515-find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k
1787-sum-of-absolute-differences-in-a-sorted-array
2033-the-number-of-full-rounds-you-have-played
2402-maximum-xor-after-operations
2432-number-of-zero-filled-subarrays
2437-maximum-number-of-groups-entering-a-competition
2496-count-days-spent-together
2544-minimum-addition-to-make-integer-beautiful
2609-distinct-prime-factors-of-product-of-array
2610-closest-prime-numbers-in-range
2704-maximum-difference-by-remapping-a-digit
2713-find-the-divisibility-array-of-a-string
2873-prime-pairs-with-target-sum
3172-divisible-and-non-divisible-sums-difference
3270-minimum-moves-to-capture-the-queen
3416-sum-of-digit-differences-of-all-pairs
3507-find-the-count-of-numbers-which-are-not-special
3600-find-the-k-th-character-in-string-game-i
3869-smallest-index-with-digit-sum-equal-to-index

Matrix

0870-magic-squares-in-grid
1242-matrix-block-sum
1860-find-kth-largest-xor-coordinate-value
2103-find-all-groups-of-farmland
2146-check-if-word-can-be-placed-in-crossword
2662-check-knight-tour-configuration
2801-difference-of-number-of-distinct-values-on-diagonals
3461-find-the-minimum-area-to-cover-all-ones-i

Sorting

0436-find-right-interval
0532-k-diff-pairs-in-an-array
0594-longest-harmonious-subsequence
0853-most-profit-assigning-work
0900-reordered-power-of-2
0917-boats-to-save-people
0991-array-of-doubled-pairs
1009-pancake-sorting
1047-maximize-sum-of-array-after-k-negations
1232-sum-of-mutated-array-closest-to-target
1272-invalid-transactions
1455-filter-restaurants-by-vegan-friendly-price-and-distance
1581-the-k-strongest-values-in-an-array
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1709-alert-using-same-key-card-three-or-more-times-in-a-one-hour-period
1860-find-kth-largest-xor-coordinate-value
1956-maximum-element-after-decreasing-and-rearranging
2179-most-beautiful-item-for-each-query
2204-find-subsequence-of-length-k-with-the-largest-sum
2355-maximum-consecutive-floors-without-special-floors
2366-maximum-bags-with-full-capacity-of-rocks
2387-partition-array-such-that-maximum-difference-is-k
2497-maximum-matching-of-players-with-trainers
2706-minimum-score-by-changing-two-elements
2978-check-if-strings-can-be-made-equal-with-operations-ii
3202-high-access-employees
3241-divide-array-into-arrays-with-max-difference
3390-minimum-rectangles-to-cover-points
3510-maximize-the-total-height-of-unique-towers
3779-eat-pizzas
3819-count-covered-buildings

String

0067-add-binary
0395-longest-substring-with-at-least-k-repeating-characters
0402-remove-k-digits
0409-longest-palindrome
0423-reconstruct-original-digits-from-english
0647-palindromic-substrings
0649-dota2-senate
0829-subdomain-visit-count
0992-delete-columns-to-make-sorted-ii
1006-vowel-spellchecker
1272-invalid-transactions
1302-delete-characters-to-make-fancy-string
1321-get-equal-substrings-within-budget
1557-check-if-a-string-contains-all-binary-codes-of-size-k
1648-minimum-insertions-to-balance-a-parentheses-string
1667-find-kth-bit-in-nth-binary-string
1709-alert-using-same-key-card-three-or-more-times-in-a-one-hour-period
1739-split-two-strings-to-make-palindrome
1743-count-substrings-that-differ-by-one-character
1782-smallest-string-with-a-given-numeric-value
1923-sentence-similarity-iii
2033-the-number-of-full-rounds-you-have-played
2077-largest-number-after-mutating-substring
2220-find-all-possible-recipes-from-given-supplies
2237-longest-palindrome-by-concatenating-two-letter-words
2239-execution-of-all-suffix-instructions-staying-in-a-grid
2317-count-collisions-on-a-road
2346-largest-3-same-digit-number-in-string
2464-time-needed-to-rearrange-a-binary-string
2496-count-days-spent-together
2713-find-the-divisibility-array-of-a-string
2786-find-the-longest-semi-repetitive-substring
2978-check-if-strings-can-be-made-equal-with-operations-ii
3150-shortest-and-lexicographically-smallest-beautiful-string
3174-minimum-number-of-changes-to-make-binary-string-beautiful
3194-find-words-containing-character
3202-high-access-employees
3267-find-longest-special-substring-that-occurs-thrice-i
3395-minimum-length-of-anagram-concatenation
3396-valid-word
3445-lexicographically-minimum-string-after-removing-stars
3502-count-substrings-with-k-frequency-characters-i
3573-count-substrings-that-can-be-rearranged-to-contain-a-string-i
3591-shift-distance-between-two-strings
3617-find-the-original-typed-string-i
3793-longest-palindrome-after-substring-concatenation-i
3857-find-maximum-number-of-non-intersecting-substrings
3905-partition-string

Greedy

0402-remove-k-digits
0409-longest-palindrome
0624-maximum-distance-in-arrays
0649-dota2-senate
0853-most-profit-assigning-work
0917-boats-to-save-people
0991-array-of-doubled-pairs
0992-delete-columns-to-make-sorted-ii
1009-pancake-sorting
1047-maximize-sum-of-array-after-k-negations
1049-minimum-domino-rotations-for-equal-row
1448-maximum-69-number
1515-find-the-minimum-number-of-fibonacci-numbers-whose-sum-is-k
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1648-minimum-insertions-to-balance-a-parentheses-string
1782-smallest-string-with-a-given-numeric-value
1911-minimum-elements-to-add-to-form-a-given-sum
1956-maximum-element-after-decreasing-and-rearranging
2077-largest-number-after-mutating-substring
2212-removing-minimum-and-maximum-from-array
2237-longest-palindrome-by-concatenating-two-letter-words
2366-maximum-bags-with-full-capacity-of-rocks
2387-partition-array-such-that-maximum-difference-is-k
2437-maximum-number-of-groups-entering-a-competition
2497-maximum-matching-of-players-with-trainers
2509-minimize-xor
2544-minimum-addition-to-make-integer-beautiful
2704-maximum-difference-by-remapping-a-digit
2706-minimum-score-by-changing-two-elements
3171-minimum-equal-sum-of-two-arrays-after-replacing-zeros
3241-divide-array-into-arrays-with-max-difference
3390-minimum-rectangles-to-cover-points
3445-lexicographically-minimum-string-after-removing-stars
3510-maximize-the-total-height-of-unique-towers
3779-eat-pizzas
3788-maximum-unique-subarray-sum-after-deletion
3857-find-maximum-number-of-non-intersecting-substrings
3876-transform-array-to-all-equal-elements

Stack

0402-remove-k-digits
0636-exclusive-time-of-functions
1648-minimum-insertions-to-balance-a-parentheses-string
2317-count-collisions-on-a-road
3445-lexicographically-minimum-string-after-removing-stars

Binary Search

0436-find-right-interval
0532-k-diff-pairs-in-an-array
0633-sum-of-square-numbers
0713-subarray-product-less-than-k
0718-maximum-length-of-repeated-subarray
0853-most-profit-assigning-work
1046-max-consecutive-ones-iii
1232-sum-of-mutated-array-closest-to-target
1294-range-frequency-queries
1321-get-equal-substrings-within-budget
1335-maximum-candies-allocated-to-k-children
1408-find-the-smallest-divisor-given-a-threshold
1984-maximum-distance-between-a-pair-of-values
2179-most-beautiful-item-for-each-query
2437-maximum-number-of-groups-entering-a-competition
3267-find-longest-special-substring-that-occurs-thrice-i
3790-fruits-into-baskets-ii

Sliding Window

0395-longest-substring-with-at-least-k-repeating-characters
0594-longest-harmonious-subsequence
0713-subarray-product-less-than-k
0718-maximum-length-of-repeated-subarray
0940-fruit-into-baskets
0966-binary-subarrays-with-sum
1046-max-consecutive-ones-iii
1138-grumpy-bookstore-owner
1321-get-equal-substrings-within-budget
1370-count-number-of-nice-subarrays
1538-maximum-points-you-can-obtain-from-cards
1813-maximum-erasure-value
2338-minimum-consecutive-cards-to-pick-up
2478-longest-nice-subarray
2626-count-the-number-of-good-subarrays
2751-sliding-subarray-beauty
2786-find-the-longest-semi-repetitive-substring
3150-shortest-and-lexicographically-smallest-beautiful-string
3213-count-subarrays-where-max-element-appears-at-least-k-times
3225-length-of-longest-subarray-with-at-most-k-frequency
3267-find-longest-special-substring-that-occurs-thrice-i
3380-shortest-subarray-with-or-at-least-k-ii
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3502-count-substrings-with-k-frequency-characters-i
3573-count-substrings-that-can-be-rearranged-to-contain-a-string-i

Two Pointers

0457-circular-array-loop
0532-k-diff-pairs-in-an-array
0633-sum-of-square-numbers
0647-palindromic-substrings
0853-most-profit-assigning-work
0917-boats-to-save-people
1009-pancake-sorting
1028-interval-list-intersections
1581-the-k-strongest-values-in-an-array
1739-split-two-strings-to-make-palindrome
1923-sentence-similarity-iii
1984-maximum-distance-between-a-pair-of-values
2497-maximum-matching-of-players-with-trainers
3793-longest-palindrome-after-substring-concatenation-i

Bit Manipulation

0067-add-binary
0201-bitwise-and-of-numbers-range
0231-power-of-two
0342-power-of-four
0401-binary-watch
0477-total-hamming-distance
1435-xor-queries-of-a-subarray
1557-check-if-a-string-contains-all-binary-codes-of-size-k
1860-find-kth-largest-xor-coordinate-value
1940-maximum-xor-for-each-query
2356-largest-combination-with-bitwise-and-greater-than-zero
2402-maximum-xor-after-operations
2478-longest-nice-subarray
2503-longest-subarray-with-maximum-bitwise-and
2509-minimize-xor
2519-find-the-original-array-of-prefix-xor
2529-range-product-queries-of-powers
2792-neighboring-bitwise-xor
3249-minimum-number-of-operations-to-make-array-xor-equal-to-k
3380-shortest-subarray-with-or-at-least-k-ii
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3600-find-the-k-th-character-in-string-game-i

Queue

0649-dota2-senate
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Prefix Sum

0713-subarray-product-less-than-k
0966-binary-subarrays-with-sum
1046-max-consecutive-ones-iii
1242-matrix-block-sum
1321-get-equal-substrings-within-budget
1370-count-number-of-nice-subarrays
1435-xor-queries-of-a-subarray
1538-maximum-points-you-can-obtain-from-cards
1787-sum-of-absolute-differences-in-a-sorted-array
1860-find-kth-largest-xor-coordinate-value
1940-maximum-xor-for-each-query
1983-maximum-population-year
2240-intervals-between-identical-elements
2529-range-product-queries-of-powers
2721-sum-of-distances
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i
3591-shift-distance-between-two-strings

Rolling Hash

0718-maximum-length-of-repeated-subarray
1557-check-if-a-string-contains-all-binary-codes-of-size-k
2339-k-divisible-elements-subarrays

Hash Function

0718-maximum-length-of-repeated-subarray
1557-check-if-a-string-contains-all-binary-codes-of-size-k
2339-k-divisible-elements-subarrays

Brainteaser

1103-moving-stones-until-consecutive
2503-longest-subarray-with-maximum-bitwise-and

Simulation

0067-add-binary
1667-find-kth-bit-in-nth-binary-string
2239-execution-of-all-suffix-instructions-staying-in-a-grid
2317-count-collisions-on-a-road
2464-time-needed-to-rearrange-a-binary-string
2662-check-knight-tour-configuration
3413-find-the-first-player-to-win-k-games-in-a-row
3600-find-the-k-th-character-in-string-game-i
3790-fruits-into-baskets-ii
3905-partition-string

Counting

0594-longest-harmonious-subsequence
0829-subdomain-visit-count
0900-reordered-power-of-2
1364-tuple-with-same-product
1510-find-lucky-integer-in-an-array
1983-maximum-population-year
2237-longest-palindrome-by-concatenating-two-letter-words
2356-largest-combination-with-bitwise-and-greater-than-zero
3267-find-longest-special-substring-that-occurs-thrice-i
3395-minimum-length-of-anagram-concatenation
3416-sum-of-digit-differences-of-all-pairs

Divide and Conquer

0395-longest-substring-with-at-least-k-repeating-characters
1860-find-kth-largest-xor-coordinate-value

Heap (Priority Queue)

1860-find-kth-largest-xor-coordinate-value
2204-find-subsequence-of-length-k-with-the-largest-sum
3445-lexicographically-minimum-string-after-removing-stars

Quickselect

1860-find-kth-largest-xor-coordinate-value

Dynamic Programming

0647-palindromic-substrings
0718-maximum-length-of-repeated-subarray
1511-count-number-of-teams
1743-count-substrings-that-differ-by-one-character
2464-time-needed-to-rearrange-a-binary-string
3793-longest-palindrome-after-substring-concatenation-i
3857-find-maximum-number-of-non-intersecting-substrings

Trie

2339-k-divisible-elements-subarrays
3905-partition-string

Enumeration

0204-count-primes
0900-reordered-power-of-2
1212-sequential-digits
1743-count-substrings-that-differ-by-one-character
2146-check-if-word-can-be-placed-in-crossword
2339-k-divisible-elements-subarrays
2873-prime-pairs-with-target-sum
3270-minimum-moves-to-capture-the-queen
3299-find-the-maximum-number-of-elements-in-subset
3793-longest-palindrome-after-substring-concatenation-i

Number Theory

0204-count-primes
2609-distinct-prime-factors-of-product-of-array
2610-closest-prime-numbers-in-range
2873-prime-pairs-with-target-sum
3507-find-the-count-of-numbers-which-are-not-special

Geometry

1395-minimum-time-visiting-all-points

Recursion

0231-power-of-two
0326-power-of-three
0342-power-of-four
1667-find-kth-bit-in-nth-binary-string
3600-find-the-k-th-character-in-string-game-i

Line Sweep

1028-interval-list-intersections

Linked List

1411-convert-binary-number-in-a-linked-list-to-integer

Depth-First Search

1157-insufficient-nodes-in-root-to-leaf-paths
1866-restore-the-array-from-adjacent-pairs
2103-find-all-groups-of-farmland
2582-minimum-score-of-a-path-between-two-cities
2662-check-knight-tour-configuration

Database

1670-patients-with-a-condition

Breadth-First Search

2103-find-all-groups-of-farmland
2582-minimum-score-of-a-path-between-two-cities
2662-check-knight-tour-configuration

Backtracking

0401-binary-watch

Segment Tree

1294-range-frequency-queries
1511-count-number-of-teams
3790-fruits-into-baskets-ii

Ordered Set

3790-fruits-into-baskets-ii

Binary Indexed Tree

1511-count-number-of-teams

Probability and Statistics

1183-statistics-from-a-large-sample

Design

1294-range-frequency-queries

Graph

1661-minimum-number-of-vertices-to-reach-all-nodes
1738-maximal-network-rank
2220-find-all-possible-recipes-from-given-supplies
2582-minimum-score-of-a-path-between-two-cities

Topological Sort

2220-find-all-possible-recipes-from-given-supplies

Union Find

2582-minimum-score-of-a-path-between-two-cities

Tree

1157-insufficient-nodes-in-root-to-leaf-paths

Binary Tree

1157-insufficient-nodes-in-root-to-leaf-paths

Monotonic Stack

0402-remove-k-digits

About

πŸ‘‹ Welcome, hello! I’m a passionate coder who thrives on solving problems every single day. πŸ’‘ On LeetCode, I’m currently among the top 6,000 global coders , where I continuously sharpen my skills and master every concept through dedication and deep practice.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages