Skip to content

Latest commit

 

History

276 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

String

0028-find-the-index-of-the-first-occurrence-in-a-string
0387-first-unique-character-in-a-string
0796-rotate-string
2390-removing-stars-from-a-string

Stack

0042-trapping-rain-water
2390-removing-stars-from-a-string

Simulation

0867-transpose-matrix
1929-concatenation-of-array
2390-removing-stars-from-a-string
2679-sum-in-a-matrix

Array

0042-trapping-rain-water
0053-maximum-subarray
0055-jump-game
0074-search-a-2d-matrix
0075-sort-colors
0088-merge-sorted-array
0108-convert-sorted-array-to-binary-search-tree
0136-single-number
0137-single-number-ii
0169-majority-element
0189-rotate-array
0198-house-robber
0213-house-robber-ii
0215-kth-largest-element-in-an-array
0238-product-of-array-except-self
0240-search-a-2d-matrix-ii
0283-move-zeroes
0347-top-k-frequent-elements
0373-find-k-pairs-with-smallest-sums
0378-kth-smallest-element-in-a-sorted-matrix
0518-coin-change-ii
0867-transpose-matrix
0973-k-closest-points-to-origin
0977-squares-of-a-sorted-array
1046-last-stone-weight
1464-maximum-product-of-two-elements-in-an-array
1929-concatenation-of-array
2029-stone-game-ix
2679-sum-in-a-matrix
2996-smallest-missing-integer-greater-than-sequential-prefix-sum
3718-smallest-missing-multiple-of-k
3731-find-missing-elements

Binary Search

0074-search-a-2d-matrix
0240-search-a-2d-matrix-ii
0378-kth-smallest-element-in-a-sorted-matrix

Divide and Conquer

0053-maximum-subarray
0108-convert-sorted-array-to-binary-search-tree
0169-majority-element
0215-kth-largest-element-in-an-array
0240-search-a-2d-matrix-ii
0347-top-k-frequent-elements
0973-k-closest-points-to-origin

Matrix

0074-search-a-2d-matrix
0240-search-a-2d-matrix-ii
0378-kth-smallest-element-in-a-sorted-matrix
0867-transpose-matrix
2679-sum-in-a-matrix

Sorting

0075-sort-colors
0088-merge-sorted-array
0169-majority-element
0215-kth-largest-element-in-an-array
0295-find-median-from-data-stream
0347-top-k-frequent-elements
0378-kth-smallest-element-in-a-sorted-matrix
0973-k-closest-points-to-origin
0977-squares-of-a-sorted-array
1464-maximum-product-of-two-elements-in-an-array
2679-sum-in-a-matrix
2996-smallest-missing-integer-greater-than-sequential-prefix-sum
3536-maximum-product-of-two-digits
3731-find-missing-elements

Heap (Priority Queue)

0215-kth-largest-element-in-an-array
0295-find-median-from-data-stream
0347-top-k-frequent-elements
0373-find-k-pairs-with-smallest-sums
0378-kth-smallest-element-in-a-sorted-matrix
0703-kth-largest-element-in-a-stream
0973-k-closest-points-to-origin
1046-last-stone-weight
1464-maximum-product-of-two-elements-in-an-array
2679-sum-in-a-matrix

Tree

0098-validate-binary-search-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0112-path-sum
0703-kth-largest-element-in-a-stream

Depth-First Search

0098-validate-binary-search-tree
0101-symmetric-tree
0110-balanced-binary-tree
0112-path-sum

Binary Search Tree

0098-validate-binary-search-tree
0108-convert-sorted-array-to-binary-search-tree
0703-kth-largest-element-in-a-stream

Binary Tree

0098-validate-binary-search-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0112-path-sum
0703-kth-largest-element-in-a-stream

Two Pointers

0019-remove-nth-node-from-end-of-list
0028-find-the-index-of-the-first-occurrence-in-a-string
0042-trapping-rain-water
0061-rotate-list
0075-sort-colors
0088-merge-sorted-array
0141-linked-list-cycle
0142-linked-list-cycle-ii
0189-rotate-array
0202-happy-number
0283-move-zeroes
0295-find-median-from-data-stream
0977-squares-of-a-sorted-array

Math

0029-divide-two-integers
0050-powx-n
0070-climbing-stairs
0189-rotate-array
0202-happy-number
0231-power-of-two
0342-power-of-four
0973-k-closest-points-to-origin
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1510-stone-game-iv
2029-stone-game-ix
2235-add-two-integers
3345-smallest-divisible-digit-product-i
3536-maximum-product-of-two-digits
3622-check-divisibility-by-digit-sum-and-product
3658-gcd-of-odd-and-even-sums

Breadth-First Search

0101-symmetric-tree
0102-binary-tree-level-order-traversal
0112-path-sum

Hash Table

0141-linked-list-cycle
0142-linked-list-cycle-ii
0169-majority-element
0202-happy-number
0347-top-k-frequent-elements
0387-first-unique-character-in-a-string
2996-smallest-missing-integer-greater-than-sequential-prefix-sum
3718-smallest-missing-multiple-of-k
3731-find-missing-elements

Linked List

0019-remove-nth-node-from-end-of-list
0061-rotate-list
0083-remove-duplicates-from-sorted-list
0141-linked-list-cycle
0142-linked-list-cycle-ii
0237-delete-node-in-a-linked-list

Prefix Sum

0238-product-of-array-except-self

String Matching

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

Bit Manipulation

0029-divide-two-integers
0136-single-number
0137-single-number-ii
0231-power-of-two
0342-power-of-four

Quickselect

0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements
0973-k-closest-points-to-origin

Recursion

0050-powx-n
0231-power-of-two
0342-power-of-four

Dynamic Programming

0042-trapping-rain-water
0053-maximum-subarray
0055-jump-game
0070-climbing-stairs
0198-house-robber
0213-house-robber-ii
0518-coin-change-ii
1510-stone-game-iv

Design

0295-find-median-from-data-stream
0703-kth-largest-element-in-a-stream

Data Stream

0295-find-median-from-data-stream
0703-kth-largest-element-in-a-stream

Bucket Sort

0347-top-k-frequent-elements

Counting

0169-majority-element
0347-top-k-frequent-elements
0387-first-unique-character-in-a-string
2029-stone-game-ix

Knapsack Problem

0518-coin-change-ii

Complete Knapsack

0518-coin-change-ii

Monotonic Stack

0042-trapping-rain-water

Enumeration

3345-smallest-divisible-digit-product-i

Greedy

0055-jump-game
2029-stone-game-ix

Geometry

0973-k-closest-points-to-origin

K-D Tree

0973-k-closest-points-to-origin

Floyd's Cycle Finding Algorithm

0142-linked-list-cycle-ii
0202-happy-number

Minimax

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

Game Theory

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

Nim Game

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

Sprague–Grundy Theorem

1510-stone-game-iv

Zero-Sum Game

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

Queue

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

Database

0183-customers-who-never-order

Number Theory

3658-gcd-of-odd-and-even-sums

Memoization

0070-climbing-stairs

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages