Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

160 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCodeProblems

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

LeetCode Topics

Array

0380-insert-delete-getrandom-o1
0486-predict-the-winner
0628-maximum-product-of-three-numbers
0877-stone-game
1140-stone-game-ii
1260-shift-2d-grid
1288-remove-covered-intervals
1331-rank-transform-of-an-array
1464-maximum-product-of-two-elements-in-an-array
1979-find-greatest-common-divisor-of-array
3336-find-the-number-of-subsequences-with-equal-gcd
3501-maximize-active-section-with-trade-ii
3513-number-of-unique-xor-triplets-i
3532-path-existence-queries-in-a-graph-i
3731-find-missing-elements

Hash Table

0003-longest-substring-without-repeating-characters
0205-isomorphic-strings
0242-valid-anagram
0299-bulls-and-cows
0380-insert-delete-getrandom-o1
1331-rank-transform-of-an-array
3518-smallest-palindromic-rearrangement-ii
3532-path-existence-queries-in-a-graph-i
3731-find-missing-elements

Math

0380-insert-delete-getrandom-o1
0486-predict-the-winner
0628-maximum-product-of-three-numbers
0877-stone-game
1140-stone-game-ii
1510-stone-game-iv
1979-find-greatest-common-divisor-of-array
3014-minimum-number-of-pushes-to-type-word-i
3336-find-the-number-of-subsequences-with-equal-gcd
3345-smallest-divisible-digit-product-i
3348-smallest-divisible-digit-product-ii
3513-number-of-unique-xor-triplets-i
3518-smallest-palindromic-rearrangement-ii
3536-maximum-product-of-two-digits
3658-gcd-of-odd-and-even-sums
3754-concatenate-non-zero-digits-and-multiply-by-sum-i
3756-concatenate-non-zero-digits-and-multiply-by-sum-ii

Design

0380-insert-delete-getrandom-o1

Randomized

0380-insert-delete-getrandom-o1

Sorting

0242-valid-anagram
0628-maximum-product-of-three-numbers
1288-remove-covered-intervals
1331-rank-transform-of-an-array
1464-maximum-product-of-two-elements-in-an-array
3517-smallest-palindromic-rearrangement-i
3536-maximum-product-of-two-digits
3731-find-missing-elements

Binary Search

3501-maximize-active-section-with-trade-ii
3532-path-existence-queries-in-a-graph-i

Union-Find

2685-count-the-number-of-complete-components
3532-path-existence-queries-in-a-graph-i

Graph Theory

2685-count-the-number-of-complete-components
3310-remove-methods-from-project
3532-path-existence-queries-in-a-graph-i

String

0003-longest-substring-without-repeating-characters
0205-isomorphic-strings
0214-shortest-palindrome
0242-valid-anagram
0299-bulls-and-cows
1081-smallest-subsequence-of-distinct-characters
3014-minimum-number-of-pushes-to-type-word-i
3302-find-the-lexicographically-smallest-valid-sequence
3348-smallest-divisible-digit-product-ii
3499-maximize-active-section-with-trade-i
3501-maximize-active-section-with-trade-ii
3517-smallest-palindromic-rearrangement-i
3518-smallest-palindromic-rearrangement-ii
3756-concatenate-non-zero-digits-and-multiply-by-sum-ii

Prefix Sum

1140-stone-game-ii
3756-concatenate-non-zero-digits-and-multiply-by-sum-ii

Depth-First Search

2685-count-the-number-of-complete-components
3310-remove-methods-from-project

Breadth-First Search

2685-count-the-number-of-complete-components
3310-remove-methods-from-project

Enumeration

1291-sequential-digits
3345-smallest-divisible-digit-product-i
3499-maximize-active-section-with-trade-i

Dynamic Programming

0486-predict-the-winner
0877-stone-game
1140-stone-game-ii
1510-stone-game-iv
3302-find-the-lexicographically-smallest-valid-sequence
3336-find-the-number-of-subsequences-with-equal-gcd

Number Theory

1979-find-greatest-common-divisor-of-array
3336-find-the-number-of-subsequences-with-equal-gcd
3348-smallest-divisible-digit-product-ii
3658-gcd-of-odd-and-even-sums

Stack

1081-smallest-subsequence-of-distinct-characters

Greedy

1081-smallest-subsequence-of-distinct-characters
3014-minimum-number-of-pushes-to-type-word-i
3302-find-the-lexicographically-smallest-valid-sequence
3348-smallest-divisible-digit-product-ii

Monotonic Stack

1081-smallest-subsequence-of-distinct-characters

Matrix

1260-shift-2d-grid

Simulation

1260-shift-2d-grid

Segment Tree

3501-maximize-active-section-with-trade-ii

Bit Manipulation

3513-number-of-unique-xor-triplets-i

Rolling Hash

0214-shortest-palindrome

String Matching

0214-shortest-palindrome

Hash Function

0214-shortest-palindrome

Counting

0299-bulls-and-cows
3518-smallest-palindromic-rearrangement-ii

Database

0175-combine-two-tables
0176-second-highest-salary

Heap (Priority Queue)

1464-maximum-product-of-two-elements-in-an-array

Sliding Window

0003-longest-substring-without-repeating-characters

Combinatorics

3518-smallest-palindromic-rearrangement-ii

Counting Sort

3517-smallest-palindromic-rearrangement-i

Recursion

0486-predict-the-winner

Game Theory

0486-predict-the-winner
0877-stone-game
1140-stone-game-ii
1510-stone-game-iv

Backtracking

3348-smallest-divisible-digit-product-ii

Two Pointers

3302-find-the-lexicographically-smallest-valid-sequence

Minimax

1140-stone-game-ii
1510-stone-game-iv

Zero-Sum Game

1140-stone-game-ii
1510-stone-game-iv

Nim Game

1510-stone-game-iv

Sprague–Grundy Theorem

1510-stone-game-iv

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages