Skip to content

vintech018/leetcode-solutions

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

0001-two-sum
0015-3sum
0189-rotate-array
0268-missing-number
0283-move-zeroes
0485-max-consecutive-ones
1353-find-resultant-array-after-removing-anagrams
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
2169-simple-bank-system
2244-number-of-laser-beams-in-a-bank
2392-successful-pairs-of-spells-and-potions
3383-taking-maximum-energy-from-the-mystic-dungeon
3437-maximum-total-damage-with-spell-casting
3581-the-two-sneaky-numbers-of-digitville
3612-adjacent-increasing-subarrays-detection-i
3616-make-array-elements-equal-to-zero
3619-adjacent-increasing-subarrays-detection-ii
3620-maximum-number-of-distinct-elements-after-operations
3622-maximum-frequency-of-an-element-after-performing-operations-i
3640-maximum-frequency-of-an-element-after-performing-operations-ii
3794-find-the-minimum-amount-of-time-to-brew-potions
3851-find-sum-of-array-product-of-magical-sequences

Two Pointers

0015-3sum
0189-rotate-array
0283-move-zeroes
2392-successful-pairs-of-spells-and-potions
3437-maximum-total-damage-with-spell-casting

Binary Search

0268-missing-number
2392-successful-pairs-of-spells-and-potions
3437-maximum-total-damage-with-spell-casting
3619-adjacent-increasing-subarrays-detection-ii
3622-maximum-frequency-of-an-element-after-performing-operations-i
3640-maximum-frequency-of-an-element-after-performing-operations-ii

Sorting

0015-3sum
0268-missing-number
1353-find-resultant-array-after-removing-anagrams
2392-successful-pairs-of-spells-and-potions
3437-maximum-total-damage-with-spell-casting
3620-maximum-number-of-distinct-elements-after-operations
3622-maximum-frequency-of-an-element-after-performing-operations-i
3640-maximum-frequency-of-an-element-after-performing-operations-ii

Simulation

2169-simple-bank-system
3616-make-array-elements-equal-to-zero
3768-check-if-digits-are-equal-in-string-after-operations-i
3794-find-the-minimum-amount-of-time-to-brew-potions

Prefix Sum

3383-taking-maximum-energy-from-the-mystic-dungeon
3616-make-array-elements-equal-to-zero
3622-maximum-frequency-of-an-element-after-performing-operations-i
3640-maximum-frequency-of-an-element-after-performing-operations-ii
3794-find-the-minimum-amount-of-time-to-brew-potions

Hash Table

0001-two-sum
0268-missing-number
1353-find-resultant-array-after-removing-anagrams
2169-simple-bank-system
2174-next-greater-numerically-balanced-number
3437-maximum-total-damage-with-spell-casting
3581-the-two-sneaky-numbers-of-digitville

Dynamic Programming

1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
3233-maximize-the-number-of-partitions-after-operations
3437-maximum-total-damage-with-spell-casting
3851-find-sum-of-array-product-of-magical-sequences

Counting

2174-next-greater-numerically-balanced-number
3437-maximum-total-damage-with-spell-casting

Math

0189-rotate-array
0268-missing-number
1817-calculate-money-in-leetcode-bank
2174-next-greater-numerically-balanced-number
2244-number-of-laser-beams-in-a-bank
3581-the-two-sneaky-numbers-of-digitville
3676-smallest-number-with-all-set-bits
3768-check-if-digits-are-equal-in-string-after-operations-i
3851-find-sum-of-array-product-of-magical-sequences

Bit Manipulation

0268-missing-number
3233-maximize-the-number-of-partitions-after-operations
3676-smallest-number-with-all-set-bits
3851-find-sum-of-array-product-of-magical-sequences

Combinatorics

3768-check-if-digits-are-equal-in-string-after-operations-i
3851-find-sum-of-array-product-of-magical-sequences

Bitmask

3233-maximize-the-number-of-partitions-after-operations
3851-find-sum-of-array-product-of-magical-sequences

String

1353-find-resultant-array-after-removing-anagrams
1747-lexicographically-smallest-string-after-applying-operations
2244-number-of-laser-beams-in-a-bank
3233-maximize-the-number-of-partitions-after-operations
3768-check-if-digits-are-equal-in-string-after-operations-i

Greedy

1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array
3620-maximum-number-of-distinct-elements-after-operations

Depth-First Search

1747-lexicographically-smallest-string-after-applying-operations

Breadth-First Search

1747-lexicographically-smallest-string-after-applying-operations

Enumeration

1747-lexicographically-smallest-string-after-applying-operations
2174-next-greater-numerically-balanced-number

Sliding Window

3622-maximum-frequency-of-an-element-after-performing-operations-i
3640-maximum-frequency-of-an-element-after-performing-operations-ii

Number Theory

3768-check-if-digits-are-equal-in-string-after-operations-i

Backtracking

2174-next-greater-numerically-balanced-number

Design

2169-simple-bank-system

Matrix

2244-number-of-laser-beams-in-a-bank

Stack

1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array

Monotonic Stack

1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array

About

Daily Streaks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published