Skip to content

Latest commit

 

History

160 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Math

1140-stone-game-ii
1201-ugly-number-iii
1510-stone-game-iv
1563-stone-game-v
1872-stone-game-viii
1927-sum-game
2029-stone-game-ix
3116-kth-smallest-amount-with-single-denomination-combination
3345-smallest-divisible-digit-product-i
3348-smallest-divisible-digit-product-ii
3377-digit-operations-to-make-two-integers-equal
3622-check-divisibility-by-digit-sum-and-product

Enumeration

3345-smallest-divisible-digit-product-i
3720-lexicographically-smallest-permutation-greater-than-target
3734-lexicographically-smallest-palindromic-permutation-greater-than-target

String

1927-sum-game
2213-longest-substring-of-one-repeating-character
2904-shortest-and-lexicographically-smallest-beautiful-string
3090-maximum-length-substring-with-two-occurrences
3302-find-the-lexicographically-smallest-valid-sequence
3348-smallest-divisible-digit-product-ii
3720-lexicographically-smallest-permutation-greater-than-target
3734-lexicographically-smallest-palindromic-permutation-greater-than-target

Backtracking

3348-smallest-divisible-digit-product-ii

Greedy

1386-cinema-seat-allocation
1927-sum-game
2029-stone-game-ix
3302-find-the-lexicographically-smallest-valid-sequence
3348-smallest-divisible-digit-product-ii
3720-lexicographically-smallest-permutation-greater-than-target

Number Theory

1201-ugly-number-iii
3116-kth-smallest-amount-with-single-denomination-combination
3348-smallest-divisible-digit-product-ii
3377-digit-operations-to-make-two-integers-equal

Graph Theory

2039-the-time-when-the-network-becomes-idle
3377-digit-operations-to-make-two-integers-equal

Heap (Priority Queue)

3377-digit-operations-to-make-two-integers-equal

Shortest Path

3377-digit-operations-to-make-two-integers-equal

Two Pointers

3302-find-the-lexicographically-smallest-valid-sequence
3734-lexicographically-smallest-palindromic-permutation-greater-than-target

Dynamic Programming

1140-stone-game-ii
1340-jump-game-v
1510-stone-game-iv
1563-stone-game-v
1872-stone-game-viii
3302-find-the-lexicographically-smallest-valid-sequence

Array

1140-stone-game-ii
1340-jump-game-v
1386-cinema-seat-allocation
1563-stone-game-v
1872-stone-game-viii
2029-stone-game-ix
2039-the-time-when-the-network-becomes-idle
2213-longest-substring-of-one-repeating-character
2948-make-lexicographically-smallest-array-by-swapping-elements
2958-length-of-longest-subarray-with-at-most-k-frequency
2996-smallest-missing-integer-greater-than-sequential-prefix-sum
3069-distribute-elements-into-two-arrays-i
3116-kth-smallest-amount-with-single-denomination-combination
3471-find-the-largest-almost-missing-integer
3702-longest-subsequence-with-non-zero-bitwise-xor
3718-smallest-missing-multiple-of-k

Minimax

1140-stone-game-ii
1510-stone-game-iv
1872-stone-game-viii
2029-stone-game-ix

Prefix Sum

1140-stone-game-ii
1872-stone-game-viii

Game Theory

1140-stone-game-ii
1510-stone-game-iv
1563-stone-game-v
1872-stone-game-viii
1927-sum-game
2029-stone-game-ix

Zero-Sum Game

1140-stone-game-ii
1510-stone-game-iv
1872-stone-game-viii
2029-stone-game-ix

Nim Game

1510-stone-game-iv
2029-stone-game-ix

Sprague–Grundy Theorem

1510-stone-game-iv

Hash Table

1386-cinema-seat-allocation
2958-length-of-longest-subarray-with-at-most-k-frequency
2996-smallest-missing-integer-greater-than-sequential-prefix-sum
3090-maximum-length-substring-with-two-occurrences
3471-find-the-largest-almost-missing-integer
3718-smallest-missing-multiple-of-k
3720-lexicographically-smallest-permutation-greater-than-target

Sorting

1340-jump-game-v
2948-make-lexicographically-smallest-array-by-swapping-elements
2996-smallest-missing-integer-greater-than-sequential-prefix-sum

Sliding Window

2904-shortest-and-lexicographically-smallest-beautiful-string
2958-length-of-longest-subarray-with-at-most-k-frequency
3090-maximum-length-substring-with-two-occurrences

Segment Tree

2213-longest-substring-of-one-repeating-character

Ordered Set

2213-longest-substring-of-one-repeating-character

Bit Manipulation

1386-cinema-seat-allocation
3116-kth-smallest-amount-with-single-denomination-combination
3702-longest-subsequence-with-non-zero-bitwise-xor

Counting

2029-stone-game-ix
3720-lexicographically-smallest-permutation-greater-than-target

Breadth-First Search

2039-the-time-when-the-network-becomes-idle

Simulation

3069-distribute-elements-into-two-arrays-i

Binary Search

1201-ugly-number-iii
3116-kth-smallest-amount-with-single-denomination-combination

Combinatorics

1201-ugly-number-iii
3116-kth-smallest-amount-with-single-denomination-combination

Least Common Multiple

1201-ugly-number-iii

Euclidean Algorithm

1201-ugly-number-iii

Greatest Common Divisor

1201-ugly-number-iii

Inclusion-Exclusion Principle

1201-ugly-number-iii

Stack

0901-online-stock-span

Design

0901-online-stock-span

Monotonic Stack

0901-online-stock-span

Data Stream

0901-online-stock-span

Union-Find

2948-make-lexicographically-smallest-array-by-swapping-elements

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages