Skip to content

Latest commit

 

History

190 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

Two Pointers

0016-3sum-closest
0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0283-move-zeroes
0392-is-subsequence
2161-partition-array-according-to-given-pivot
3302-find-the-lexicographically-smallest-valid-sequence
3734-lexicographically-smallest-palindromic-permutation-greater-than-target

String

0006-zigzag-conversion
0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0115-distinct-subsequences
0392-is-subsequence
0940-distinct-subsequences-ii
1927-sum-game
2904-shortest-and-lexicographically-smallest-beautiful-string
3302-find-the-lexicographically-smallest-valid-sequence
3720-lexicographically-smallest-permutation-greater-than-target
3734-lexicographically-smallest-palindromic-permutation-greater-than-target

Dynamic Programming

0115-distinct-subsequences
0392-is-subsequence
0940-distinct-subsequences-ii
1140-stone-game-ii
3302-find-the-lexicographically-smallest-valid-sequence

Array

0001-two-sum
0014-longest-common-prefix
0016-3sum-closest
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0268-missing-number
0283-move-zeroes
1140-stone-game-ii
1386-cinema-seat-allocation
2029-stone-game-ix
2091-removing-minimum-and-maximum-from-array
2161-partition-array-according-to-given-pivot
2948-make-lexicographically-smallest-array-by-swapping-elements
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
3731-find-missing-elements
3875-construct-uniform-parity-array-i
3876-construct-uniform-parity-array-ii
3903-smallest-stable-index-i

Hash Table

0001-two-sum
0013-roman-to-integer
0268-missing-number
1386-cinema-seat-allocation
3471-find-the-largest-almost-missing-integer
3720-lexicographically-smallest-permutation-greater-than-target
3731-find-missing-elements

Math

0007-reverse-integer
0009-palindrome-number
0013-roman-to-integer
0268-missing-number
1140-stone-game-ii
1927-sum-game
2029-stone-game-ix
3116-kth-smallest-amount-with-single-denomination-combination
3622-check-divisibility-by-digit-sum-and-product
3870-count-commas-in-range
3871-count-commas-in-range-ii
3875-construct-uniform-parity-array-i
3876-construct-uniform-parity-array-ii

Binary Search

0035-search-insert-position
0268-missing-number
3116-kth-smallest-amount-with-single-denomination-combination

Bit Manipulation

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

Sorting

0016-3sum-closest
0268-missing-number
2948-make-lexicographically-smallest-array-by-swapping-elements
3731-find-missing-elements

Stack

0020-valid-parentheses

Trie

0014-longest-common-prefix

Linked List

0021-merge-two-sorted-lists

Recursion

0021-merge-two-sorted-lists

Database

0176-second-highest-salary

Simulation

2161-partition-array-according-to-given-pivot
3069-distribute-elements-into-two-arrays-i

Depth-First Search

3310-remove-methods-from-project

Breadth-First Search

3310-remove-methods-from-project

Graph Theory

3310-remove-methods-from-project

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string

Z Algorithm

0028-find-the-index-of-the-first-occurrence-in-a-string

Knuth–Morris–Pratt Algorithm

0028-find-the-index-of-the-first-occurrence-in-a-string

Boyer–Moore String-Search Algorithm

0028-find-the-index-of-the-first-occurrence-in-a-string

Greedy

1386-cinema-seat-allocation
1927-sum-game
2029-stone-game-ix
2091-removing-minimum-and-maximum-from-array
3302-find-the-lexicographically-smallest-valid-sequence
3720-lexicographically-smallest-permutation-greater-than-target

Minimax

1140-stone-game-ii
2029-stone-game-ix

Prefix Sum

1140-stone-game-ii
3903-smallest-stable-index-i

Game Theory

1140-stone-game-ii
1927-sum-game
2029-stone-game-ix

Zero-Sum Game

1140-stone-game-ii
2029-stone-game-ix

Counting

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

Nim Game

2029-stone-game-ix

Combinatorics

3116-kth-smallest-amount-with-single-denomination-combination

Number Theory

3116-kth-smallest-amount-with-single-denomination-combination

Sliding Window

2904-shortest-and-lexicographically-smallest-beautiful-string

Enumeration

3720-lexicographically-smallest-permutation-greater-than-target
3734-lexicographically-smallest-palindromic-permutation-greater-than-target

Union-Find

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

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages