Skip to content

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

Notifications You must be signed in to change notification settings

mehdikhfifi/midoux05-leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
0079-word-search
0122-best-time-to-buy-and-sell-stock-ii
0123-best-time-to-buy-and-sell-stock-iii
0136-single-number
0198-house-robber
0213-house-robber-ii
0322-coin-change
0413-arithmetic-slices
0473-matchsticks-to-square
0658-find-k-closest-elements
0698-partition-to-k-equal-sum-subsets
0787-sliding-puzzle
0853-most-profit-assigning-work
0948-sort-an-array
1025-minimum-cost-for-tickets
1468-check-if-n-and-its-double-exist
1755-defuse-the-bomb
1972-rotating-the-box
2089-maximum-matrix-sum
2375-minimum-obstacle-removal-to-reach-corner
2552-maximum-sum-of-distinct-subarrays-with-length-k
2640-maximum-number-of-integers-to-choose-from-a-range-i
2711-minimum-time-to-visit-a-cell-in-a-grid
3517-shortest-distance-after-road-addition-queries-i

Hash Table

0001-two-sum
1468-check-if-n-and-its-double-exist
2552-maximum-sum-of-distinct-subarrays-with-length-k
2640-maximum-number-of-integers-to-choose-from-a-range-i

Linked List

0002-add-two-numbers

Math

0002-add-two-numbers
0062-unique-paths
0263-ugly-number
0279-perfect-squares
0357-count-numbers-with-unique-digits

Recursion

0002-add-two-numbers

Sliding Window

0413-arithmetic-slices
0658-find-k-closest-elements
1755-defuse-the-bomb
2552-maximum-sum-of-distinct-subarrays-with-length-k

Dynamic Programming

0062-unique-paths
0095-unique-binary-search-trees-ii
0122-best-time-to-buy-and-sell-stock-ii
0123-best-time-to-buy-and-sell-stock-iii
0198-house-robber
0213-house-robber-ii
0279-perfect-squares
0322-coin-change
0357-count-numbers-with-unique-digits
0413-arithmetic-slices
0473-matchsticks-to-square
0698-partition-to-k-equal-sum-subsets
0803-cheapest-flights-within-k-stops
1025-minimum-cost-for-tickets
1474-longest-zigzag-path-in-a-binary-tree

Combinatorics

0062-unique-paths

Two Pointers

0658-find-k-closest-elements
0853-most-profit-assigning-work
1468-check-if-n-and-its-double-exist
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1972-rotating-the-box
2414-move-pieces-to-obtain-a-string

Matrix

0079-word-search
0787-sliding-puzzle
1972-rotating-the-box
2089-maximum-matrix-sum
2375-minimum-obstacle-removal-to-reach-corner
2711-minimum-time-to-visit-a-cell-in-a-grid

Greedy

0122-best-time-to-buy-and-sell-stock-ii
0853-most-profit-assigning-work
2089-maximum-matrix-sum
2640-maximum-number-of-integers-to-choose-from-a-range-i

Breadth-First Search

0102-binary-tree-level-order-traversal
0279-perfect-squares
0322-coin-change
0547-number-of-provinces
0787-sliding-puzzle
0803-cheapest-flights-within-k-stops
2375-minimum-obstacle-removal-to-reach-corner
2711-minimum-time-to-visit-a-cell-in-a-grid
3517-shortest-distance-after-road-addition-queries-i

Depth-First Search

0079-word-search
0110-balanced-binary-tree
0547-number-of-provinces
0803-cheapest-flights-within-k-stops
1474-longest-zigzag-path-in-a-binary-tree
2201-valid-arrangement-of-pairs

Graph

0547-number-of-provinces
0803-cheapest-flights-within-k-stops
2201-valid-arrangement-of-pairs
2375-minimum-obstacle-removal-to-reach-corner
2711-minimum-time-to-visit-a-cell-in-a-grid
3189-find-champion-ii
3517-shortest-distance-after-road-addition-queries-i

Heap (Priority Queue)

0658-find-k-closest-elements
0803-cheapest-flights-within-k-stops
0948-sort-an-array
2375-minimum-obstacle-removal-to-reach-corner
2711-minimum-time-to-visit-a-cell-in-a-grid

Shortest Path

0803-cheapest-flights-within-k-stops
2375-minimum-obstacle-removal-to-reach-corner
2711-minimum-time-to-visit-a-cell-in-a-grid

Bit Manipulation

0136-single-number
0473-matchsticks-to-square
0698-partition-to-k-equal-sum-subsets

Union Find

0547-number-of-provinces

Binary Search

0004-median-of-two-sorted-arrays
0658-find-k-closest-elements
0853-most-profit-assigning-work
1468-check-if-n-and-its-double-exist
2640-maximum-number-of-integers-to-choose-from-a-range-i

Divide and Conquer

0004-median-of-two-sorted-arrays
0948-sort-an-array

Eulerian Circuit

2201-valid-arrangement-of-pairs

String

0079-word-search
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
2414-move-pieces-to-obtain-a-string

String Matching

1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence

Sorting

0658-find-k-closest-elements
0853-most-profit-assigning-work
0948-sort-an-array
1468-check-if-n-and-its-double-exist
2640-maximum-number-of-integers-to-choose-from-a-range-i

Backtracking

0079-word-search
0095-unique-binary-search-trees-ii
0357-count-numbers-with-unique-digits
0473-matchsticks-to-square
0698-partition-to-k-equal-sum-subsets

Tree

0095-unique-binary-search-trees-ii
0102-binary-tree-level-order-traversal
0110-balanced-binary-tree
1474-longest-zigzag-path-in-a-binary-tree

Binary Search Tree

0095-unique-binary-search-trees-ii

Binary Tree

0095-unique-binary-search-trees-ii
0102-binary-tree-level-order-traversal
0110-balanced-binary-tree
1474-longest-zigzag-path-in-a-binary-tree

Bitmask

0473-matchsticks-to-square
0698-partition-to-k-equal-sum-subsets

Memoization

0698-partition-to-k-equal-sum-subsets

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0948-sort-an-array

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published