Skip to content

Latest commit

 

History

242 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode-Solutions

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

LeetCode Topics

Array

0001-two-sum
0004-median-of-two-sorted-arrays
0011-container-with-most-water
0078-subsets
0088-merge-sorted-array
0217-contains-duplicate
0414-third-maximum-number
0448-find-all-numbers-disappeared-in-an-array
0485-max-consecutive-ones
0500-keyboard-row
0561-array-partition
0566-reshape-the-matrix
0628-maximum-product-of-three-numbers
0746-min-cost-climbing-stairs
0812-largest-triangle-area
0877-stone-game
1260-shift-2d-grid
1331-rank-transform-of-an-array
1464-maximum-product-of-two-elements-in-an-array
1979-find-greatest-common-divisor-of-array
2029-stone-game-ix
2996-smallest-missing-integer-greater-than-sequential-prefix-sum
3069-distribute-elements-into-two-arrays-i
3731-find-missing-elements

Hash Table

0001-two-sum
0012-integer-to-roman
0013-roman-to-integer
0205-isomorphic-strings
0217-contains-duplicate
0290-word-pattern
0387-first-unique-character-in-a-string
0389-find-the-difference
0448-find-all-numbers-disappeared-in-an-array
0500-keyboard-row
1331-rank-transform-of-an-array
2996-smallest-missing-integer-greater-than-sequential-prefix-sum
3016-minimum-number-of-pushes-to-type-word-ii
3090-maximum-length-substring-with-two-occurrences
3731-find-missing-elements

Linked List

0002-add-two-numbers
0061-rotate-list
0092-reverse-linked-list-ii

Math

0002-add-two-numbers
0007-reverse-integer
0009-palindrome-number
0012-integer-to-roman
0013-roman-to-integer
0050-powx-n
0263-ugly-number
0628-maximum-product-of-three-numbers
0728-self-dividing-numbers
0812-largest-triangle-area
0877-stone-game
1137-n-th-tribonacci-number
1979-find-greatest-common-divisor-of-array
2029-stone-game-ix
2469-convert-the-temperature
3014-minimum-number-of-pushes-to-type-word-i
3345-smallest-divisible-digit-product-i
3658-gcd-of-odd-and-even-sums

Recursion

0002-add-two-numbers
0050-powx-n

Geometry

0812-largest-triangle-area

Sorting

0088-merge-sorted-array
0217-contains-duplicate
0389-find-the-difference
0414-third-maximum-number
0561-array-partition
0628-maximum-product-of-three-numbers
1331-rank-transform-of-an-array
1464-maximum-product-of-two-elements-in-an-array
2996-smallest-missing-integer-greater-than-sequential-prefix-sum
3016-minimum-number-of-pushes-to-type-word-ii
3731-find-missing-elements

Two Pointers

0011-container-with-most-water
0061-rotate-list
0088-merge-sorted-array
0345-reverse-vowels-of-a-string

Greedy

0011-container-with-most-water
0561-array-partition
2029-stone-game-ix
3014-minimum-number-of-pushes-to-type-word-i
3016-minimum-number-of-pushes-to-type-word-ii

String

0012-integer-to-roman
0013-roman-to-integer
0205-isomorphic-strings
0290-word-pattern
0345-reverse-vowels-of-a-string
0387-first-unique-character-in-a-string
0389-find-the-difference
0500-keyboard-row
3014-minimum-number-of-pushes-to-type-word-i
3016-minimum-number-of-pushes-to-type-word-ii
3090-maximum-length-substring-with-two-occurrences

Binary Search

0004-median-of-two-sorted-arrays
0278-first-bad-version
0374-guess-number-higher-or-lower

Interactive

0278-first-bad-version
0374-guess-number-higher-or-lower

Queue

0387-first-unique-character-in-a-string

Counting

0387-first-unique-character-in-a-string
2029-stone-game-ix
3016-minimum-number-of-pushes-to-type-word-ii

Stack

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Tree

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Depth-First Search

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Binary Tree

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Number Theory

1979-find-greatest-common-divisor-of-array
3658-gcd-of-odd-and-even-sums

Concurrency

1114-print-in-order
1115-print-foobar-alternately

Database

0608-tree-node

Matrix

0566-reshape-the-matrix
1260-shift-2d-grid

Simulation

0566-reshape-the-matrix
1260-shift-2d-grid
3069-distribute-elements-into-two-arrays-i

Bit Manipulation

0078-subsets
0389-find-the-difference

Heap (Priority Queue)

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

Backtracking

0078-subsets

Dynamic Programming

0746-min-cost-climbing-stairs
0877-stone-game
1137-n-th-tribonacci-number

Game Theory

0877-stone-game
2029-stone-game-ix

Enumeration

3345-smallest-divisible-digit-product-i

Memoization

1137-n-th-tribonacci-number

Sliding Window

3090-maximum-length-substring-with-two-occurrences

Counting Sort

0561-array-partition

Minimax

2029-stone-game-ix

Nim Game

2029-stone-game-ix

Zero-Sum Game

2029-stone-game-ix

Divide and Conquer

0004-median-of-two-sorted-arrays

About

A collection of LeetCode questions to ace the coding interview! - Created using [LeetHub v2](https://github.com/arunbhardwaj/LeetHub-2.0)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages