Title: Logger Rate Limiter
Difficulty: Easy
Tags: Hash Table, Design, Data Stream
Link: https://leetcode.com/problems/logger-rate-limiter
Title: Range Module
Difficulty: Hard
Tags: Design, Segment Tree, Ordered Set
Link: https://leetcode.com/problems/range-module
Title: Height of Binary Tree After Subtree Removal Queries
Difficulty: Hard
Tags: Array, Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/height-of-binary-tree-after-subtree-removal-
queries
Title: Meeting Rooms III
Difficulty: Hard
Tags: Array, Hash Table, Sorting, Heap (Priority Queue), Simulation
Link: https://leetcode.com/problems/meeting-rooms-iii
Title: Delete Nodes And Return Forest
Difficulty: Medium
Tags: Array, Hash Table, Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/delete-nodes-and-return-forest
Title: Finding MK Average
Difficulty: Hard
Tags: Design, Queue, Heap (Priority Queue), Data Stream, Ordered Set
Link: https://leetcode.com/problems/finding-mk-average
Title: Detonate the Maximum Bombs
Difficulty: Medium
Tags: Array, Math, Depth-First Search, Breadth-First Search, Graph, Geometry
Link: https://leetcode.com/problems/detonate-the-maximum-bombs
Title: The Earliest Moment When Everyone Become Friends
Difficulty: Medium
Tags: Array, Union Find, Sorting
Link: https://leetcode.com/problems/the-earliest-moment-when-everyone-become-
friends
Title: Odd Even Jump
Difficulty: Hard
Tags: Array, Dynamic Programming, Stack, Monotonic Stack, Ordered Set
Link: https://leetcode.com/problems/odd-even-jump
Title: Minimum Area Rectangle
Difficulty: Medium
Tags: Array, Hash Table, Math, Geometry, Sorting
Link: https://leetcode.com/problems/minimum-area-rectangle
Title: Differences Between Two Objects
Difficulty: Medium
Tags:
Link: https://leetcode.com/problems/differences-between-two-objects
Title: Maximum Strictly Increasing Cells in a Matrix
Difficulty: Hard
Tags: Array, Binary Search, Dynamic Programming, Memoization, Sorting, Matrix
Link: https://leetcode.com/problems/maximum-strictly-increasing-cells-in-a-matrix
Title: Detect Squares
Difficulty: Medium
Tags: Array, Hash Table, Design, Counting
Link: https://leetcode.com/problems/detect-squares
Title: Parallel Courses
Difficulty: Medium
Tags: Graph, Topological Sort
Link: https://leetcode.com/problems/parallel-courses
Title: Count K-Subsequences of a String With Maximum Beauty
Difficulty: Hard
Tags: Hash Table, Math, String, Greedy, Combinatorics
Link: https://leetcode.com/problems/count-k-subsequences-of-a-string-with-maximum-
beauty
Title: Count Nodes Equal to Average of Subtree
Difficulty: Medium
Tags: Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/count-nodes-equal-to-average-of-subtree
Title: Count Unreachable Pairs of Nodes in an Undirected Graph
Difficulty: Medium
Tags: Depth-First Search, Breadth-First Search, Union Find, Graph
Link: https://leetcode.com/problems/count-unreachable-pairs-of-nodes-in-an-
undirected-graph
Title: Maximum Length of Semi-Decreasing Subarrays
Difficulty: Medium
Tags: Array, Hash Table, Sorting
Link: https://leetcode.com/problems/maximum-length-of-semi-decreasing-subarrays
Title: RLE Iterator
Difficulty: Medium
Tags: Array, Design, Counting, Iterator
Link: https://leetcode.com/problems/rle-iterator
Title: Number of Valid Clock Times
Difficulty: Easy
Tags: String, Enumeration
Link: https://leetcode.com/problems/number-of-valid-clock-times
Title: Robot Room Cleaner
Difficulty: Hard
Tags: Backtracking, Interactive
Link: https://leetcode.com/problems/robot-room-cleaner
Title: Employee Free Time
Difficulty: Hard
Tags: Array, Sorting, Heap (Priority Queue)
Link: https://leetcode.com/problems/employee-free-time
Title: 24 Game
Difficulty: Hard
Tags: Array, Math, Backtracking
Link: https://leetcode.com/problems/24-game
Title: Water and Jug Problem
Difficulty: Medium
Tags: Math, Depth-First Search, Breadth-First Search
Link: https://leetcode.com/problems/water-and-jug-problem
Title: Create Hello World Function
Difficulty: Easy
Tags:
Link: https://leetcode.com/problems/create-hello-world-function
Title: Single-Threaded CPU
Difficulty: Medium
Tags: Array, Sorting, Heap (Priority Queue)
Link: https://leetcode.com/problems/single-threaded-cpu
Title: Count Pairs With XOR in a Range
Difficulty: Hard
Tags: Array, Bit Manipulation, Trie
Link: https://leetcode.com/problems/count-pairs-with-xor-in-a-range
Title: Number of Ways to Build Sturdy Brick Wall
Difficulty: Medium
Tags: Array, Dynamic Programming, Bit Manipulation, Bitmask
Link: https://leetcode.com/problems/number-of-ways-to-build-sturdy-brick-wall
Title: Count Fertile Pyramids in a Land
Difficulty: Hard
Tags: Array, Dynamic Programming, Matrix
Link: https://leetcode.com/problems/count-fertile-pyramids-in-a-land
Title: Maximal Rectangle
Difficulty: Hard
Tags: Array, Dynamic Programming, Stack, Matrix, Monotonic Stack
Link: https://leetcode.com/problems/maximal-rectangle
Title: Find And Replace in String
Difficulty: Medium
Tags: Array, String, Sorting
Link: https://leetcode.com/problems/find-and-replace-in-string
Title: Minimum Difference Between Largest and Smallest Value in Three Moves
Difficulty: Medium
Tags: Array, Greedy, Sorting
Link: https://leetcode.com/problems/minimum-difference-between-largest-and-
smallest-value-in-three-moves
Title: Count of Smaller Numbers After Self
Difficulty: Hard
Tags: Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree,
Merge Sort, Ordered Set
Link: https://leetcode.com/problems/count-of-smaller-numbers-after-self
Title: Minimum Area Rectangle II
Difficulty: Medium
Tags: Array, Math, Geometry
Link: https://leetcode.com/problems/minimum-area-rectangle-ii
Title: Minimum Replacements to Sort the Array
Difficulty: Hard
Tags: Array, Math, Greedy
Link: https://leetcode.com/problems/minimum-replacements-to-sort-the-array
Title: Snapshot Array
Difficulty: Medium
Tags: Array, Hash Table, Binary Search, Design
Link: https://leetcode.com/problems/snapshot-array
Title: Meeting Rooms II
Difficulty: Medium
Tags: Array, Two Pointers, Greedy, Sorting, Heap (Priority Queue), Prefix Sum
Link: https://leetcode.com/problems/meeting-rooms-ii
Title: Find Leaves of Binary Tree
Difficulty: Medium
Tags: Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/find-leaves-of-binary-tree
Title: Employee Importance
Difficulty: Medium
Tags: Array, Hash Table, Tree, Depth-First Search, Breadth-First Search
Link: https://leetcode.com/problems/employee-importance
Title: Minimum Obstacle Removal to Reach Corner
Difficulty: Hard
Tags: Array, Breadth-First Search, Graph, Heap (Priority Queue), Matrix, Shortest
Path
Link: https://leetcode.com/problems/minimum-obstacle-removal-to-reach-corner
Title: Two Sum
Difficulty: Easy
Tags: Array, Hash Table
Link: https://leetcode.com/problems/two-sum
Title: Soup Servings
Difficulty: Medium
Tags: Math, Dynamic Programming, Probability and Statistics
Link: https://leetcode.com/problems/soup-servings
Title: Minimum Domino Rotations For Equal Row
Difficulty: Medium
Tags: Array, Greedy
Link: https://leetcode.com/problems/minimum-domino-rotations-for-equal-row
Title: Find Number of Coins to Place in Tree Nodes
Difficulty: Hard
Tags: Dynamic Programming, Tree, Depth-First Search, Sorting, Heap (Priority Queue)
Link: https://leetcode.com/problems/find-number-of-coins-to-place-in-tree-nodes
Title: Find Original Array From Doubled Array
Difficulty: Medium
Tags: Array, Hash Table, Greedy, Sorting
Link: https://leetcode.com/problems/find-original-array-from-doubled-array
Title: Verbal Arithmetic Puzzle
Difficulty: Hard
Tags: Array, Math, String, Backtracking
Link: https://leetcode.com/problems/verbal-arithmetic-puzzle
Title: Find the Closest Palindrome
Difficulty: Hard
Tags: Math, String
Link: https://leetcode.com/problems/find-the-closest-palindrome
Title: Check if a Parentheses String Can Be Valid
Difficulty: Medium
Tags: String, Stack, Greedy
Link: https://leetcode.com/problems/check-if-a-parentheses-string-can-be-valid
Title: Circle and Rectangle Overlapping
Difficulty: Medium
Tags: Math, Geometry
Link: https://leetcode.com/problems/circle-and-rectangle-overlapping
Title: Longest Repeating Substring
Difficulty: Medium
Tags: String, Binary Search, Dynamic Programming, Rolling Hash, Suffix Array, Hash
Function
Link: https://leetcode.com/problems/longest-repeating-substring
Title: Add Two Integers
Difficulty: Easy
Tags: Math
Link: https://leetcode.com/problems/add-two-integers
Title: Shortest Bridge
Difficulty: Medium
Tags: Array, Depth-First Search, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/shortest-bridge
Title: Design In-Memory File System
Difficulty: Hard
Tags: Hash Table, String, Design, Trie
Link: https://leetcode.com/problems/design-in-memory-file-system
Title: Guess the Word
Difficulty: Hard
Tags: Array, Math, String, Interactive, Game Theory
Link: https://leetcode.com/problems/guess-the-word
Title: Longest Absolute File Path
Difficulty: Medium
Tags: String, Stack, Depth-First Search
Link: https://leetcode.com/problems/longest-absolute-file-path
Title: LRU Cache
Difficulty: Medium
Tags: Hash Table, Linked List, Design, Doubly-Linked List
Link: https://leetcode.com/problems/lru-cache
Title: Maximum Number of Accepted Invitations
Difficulty: Medium
Tags: Array, Backtracking, Matrix
Link: https://leetcode.com/problems/maximum-number-of-accepted-invitations
Title: Check if There is a Valid Partition For The Array
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/check-if-there-is-a-valid-partition-for-the-
array
Title: Find All Possible Recipes from Given Supplies
Difficulty: Medium
Tags: Array, Hash Table, String, Graph, Topological Sort
Link: https://leetcode.com/problems/find-all-possible-recipes-from-given-supplies
Title: Number of Closed Islands
Difficulty: Medium
Tags: Array, Depth-First Search, Breadth-First Search, Union Find, Matrix
Link: https://leetcode.com/problems/number-of-closed-islands
Title: Longest Increasing Subsequence II
Difficulty: Hard
Tags: Array, Divide and Conquer, Dynamic Programming, Binary Indexed Tree, Segment
Tree, Queue, Monotonic Queue
Link: https://leetcode.com/problems/longest-increasing-subsequence-ii
Title: Escape a Large Maze
Difficulty: Hard
Tags: Array, Hash Table, Depth-First Search, Breadth-First Search
Link: https://leetcode.com/problems/escape-a-large-maze
Title: Escape the Spreading Fire
Difficulty: Hard
Tags: Array, Binary Search, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/escape-the-spreading-fire
Title: Number of Islands
Difficulty: Medium
Tags: Array, Depth-First Search, Breadth-First Search, Union Find, Matrix
Link: https://leetcode.com/problems/number-of-islands
Title: Smallest Sufficient Team
Difficulty: Hard
Tags: Array, Dynamic Programming, Bit Manipulation, Bitmask
Link: https://leetcode.com/problems/smallest-sufficient-team
Title: Print Binary Tree
Difficulty: Medium
Tags: Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/print-binary-tree
Title: Moving Average from Data Stream
Difficulty: Easy
Tags: Array, Design, Queue, Data Stream
Link: https://leetcode.com/problems/moving-average-from-data-stream
Title: Sequence Reconstruction
Difficulty: Medium
Tags: Array, Graph, Topological Sort
Link: https://leetcode.com/problems/sequence-reconstruction
Title: Cinema Seat Allocation
Difficulty: Medium
Tags: Array, Hash Table, Greedy, Bit Manipulation
Link: https://leetcode.com/problems/cinema-seat-allocation
Title: Text Justification
Difficulty: Hard
Tags: Array, String, Simulation
Link: https://leetcode.com/problems/text-justification
Title: Design Most Recently Used Queue
Difficulty: Medium
Tags: Array, Hash Table, Stack, Design, Binary Indexed Tree, Ordered Set
Link: https://leetcode.com/problems/design-most-recently-used-queue
Title: Find Distance in a Binary Tree
Difficulty: Medium
Tags: Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/find-distance-in-a-binary-tree
Title: Sentence Screen Fitting
Difficulty: Medium
Tags: Array, String, Dynamic Programming
Link: https://leetcode.com/problems/sentence-screen-fitting
Title: Largest Submatrix With Rearrangements
Difficulty: Medium
Tags: Array, Greedy, Sorting, Matrix
Link: https://leetcode.com/problems/largest-submatrix-with-rearrangements
Title: Next Closest Time
Difficulty: Medium
Tags: Hash Table, String, Backtracking, Enumeration
Link: https://leetcode.com/problems/next-closest-time
Title: Race Car
Difficulty: Hard
Tags: Dynamic Programming
Link: https://leetcode.com/problems/race-car
Title: Arithmetic Slices II - Subsequence
Difficulty: Hard
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/arithmetic-slices-ii-subsequence
Title: Maximum Number of Achievable Transfer Requests
Difficulty: Hard
Tags: Array, Backtracking, Bit Manipulation, Enumeration
Link: https://leetcode.com/problems/maximum-number-of-achievable-transfer-requests
Title: Pacific Atlantic Water Flow
Difficulty: Medium
Tags: Array, Depth-First Search, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/pacific-atlantic-water-flow
Title: Longest Repeating Character Replacement
Difficulty: Medium
Tags: Hash Table, String, Sliding Window
Link: https://leetcode.com/problems/longest-repeating-character-replacement
Title: Frog Position After T Seconds
Difficulty: Hard
Tags: Tree, Depth-First Search, Breadth-First Search, Graph
Link: https://leetcode.com/problems/frog-position-after-t-seconds
Title: Last Day Where You Can Still Cross
Difficulty: Hard
Tags: Array, Binary Search, Depth-First Search, Breadth-First Search, Union Find,
Matrix
Link: https://leetcode.com/problems/last-day-where-you-can-still-cross
Title: The Latest Time to Catch a Bus
Difficulty: Medium
Tags: Array, Two Pointers, Binary Search, Sorting
Link: https://leetcode.com/problems/the-latest-time-to-catch-a-bus
Title: Shortest Subarray with Sum at Least K
Difficulty: Hard
Tags: Array, Binary Search, Queue, Sliding Window, Heap (Priority Queue), Prefix
Sum, Monotonic Queue
Link: https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
Title: Design Hit Counter
Difficulty: Medium
Tags: Array, Binary Search, Design, Queue, Data Stream
Link: https://leetcode.com/problems/design-hit-counter
Title: Minimum Cost to Make Array Equal
Difficulty: Hard
Tags: Array, Binary Search, Greedy, Sorting, Prefix Sum
Link: https://leetcode.com/problems/minimum-cost-to-make-array-equal
Title: Stone Game IX
Difficulty: Medium
Tags: Array, Math, Greedy, Counting, Game Theory
Link: https://leetcode.com/problems/stone-game-ix
Title: Trapping Rain Water
Difficulty: Hard
Tags: Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack
Link: https://leetcode.com/problems/trapping-rain-water
Title: Strobogrammatic Number II
Difficulty: Medium
Tags: Array, String, Recursion
Link: https://leetcode.com/problems/strobogrammatic-number-ii
Title: Maximum Width Ramp
Difficulty: Medium
Tags: Array, Stack, Monotonic Stack
Link: https://leetcode.com/problems/maximum-width-ramp
Title: Shortest Path to Get Food
Difficulty: Medium
Tags: Array, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/shortest-path-to-get-food
Title: Maximum Number of Points with Cost
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/maximum-number-of-points-with-cost
Title: Continuous Subarrays
Difficulty: Medium
Tags: Array, Queue, Sliding Window, Heap (Priority Queue), Ordered Set, Monotonic
Queue
Link: https://leetcode.com/problems/continuous-subarrays
Title: Serialize and Deserialize N-ary Tree
Difficulty: Hard
Tags: String, Tree, Depth-First Search, Breadth-First Search
Link: https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
Title: Maximum Score of a Good Subarray
Difficulty: Hard
Tags: Array, Two Pointers, Binary Search, Stack, Monotonic Stack
Link: https://leetcode.com/problems/maximum-score-of-a-good-subarray
Title: Find Duplicate Subtrees
Difficulty: Medium
Tags: Hash Table, Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/find-duplicate-subtrees
Title: Merge Sorted Array
Difficulty: Easy
Tags: Array, Two Pointers, Sorting
Link: https://leetcode.com/problems/merge-sorted-array
Title: Unique Length-3 Palindromic Subsequences
Difficulty: Medium
Tags: Hash Table, String, Bit Manipulation, Prefix Sum
Link: https://leetcode.com/problems/unique-length-3-palindromic-subsequences
Title: Longest Increasing Path in a Matrix
Difficulty: Hard
Tags: Array, Dynamic Programming, Depth-First Search, Breadth-First Search, Graph,
Topological Sort, Memoization, Matrix
Link: https://leetcode.com/problems/longest-increasing-path-in-a-matrix
Title: Top K Frequent Words
Difficulty: Medium
Tags: Hash Table, String, Trie, Sorting, Heap (Priority Queue), Bucket Sort,
Counting
Link: https://leetcode.com/problems/top-k-frequent-words
Title: Time Needed to Inform All Employees
Difficulty: Medium
Tags: Tree, Depth-First Search, Breadth-First Search
Link: https://leetcode.com/problems/time-needed-to-inform-all-employees
Title: Merge Strings Alternately
Difficulty: Easy
Tags: Two Pointers, String
Link: https://leetcode.com/problems/merge-strings-alternately
Title: Median of Two Sorted Arrays
Difficulty: Hard
Tags: Array, Binary Search, Divide and Conquer
Link: https://leetcode.com/problems/median-of-two-sorted-arrays
Title: Random Pick with Weight
Difficulty: Medium
Tags: Array, Math, Binary Search, Prefix Sum, Randomized
Link: https://leetcode.com/problems/random-pick-with-weight
Title: Design Search Autocomplete System
Difficulty: Hard
Tags: String, Design, Trie, Sorting, Heap (Priority Queue), Data Stream
Link: https://leetcode.com/problems/design-search-autocomplete-system
Title: Implement Rand10() Using Rand7()
Difficulty: Medium
Tags: Math, Rejection Sampling, Randomized, Probability and Statistics
Link: https://leetcode.com/problems/implement-rand10-using-rand7
Title: Merge Intervals
Difficulty: Medium
Tags: Array, Sorting
Link: https://leetcode.com/problems/merge-intervals
Title: Number of Matching Subsequences
Difficulty: Medium
Tags: Array, Hash Table, String, Binary Search, Dynamic Programming, Trie, Sorting
Link: https://leetcode.com/problems/number-of-matching-subsequences
Title: Design a Stack With Increment Operation
Difficulty: Medium
Tags: Array, Stack, Design
Link: https://leetcode.com/problems/design-a-stack-with-increment-operation
Title: Redundant Connection II
Difficulty: Hard
Tags: Depth-First Search, Breadth-First Search, Union Find, Graph
Link: https://leetcode.com/problems/redundant-connection-ii
Title: Cherry Pickup
Difficulty: Hard
Tags: Array, Dynamic Programming, Matrix
Link: https://leetcode.com/problems/cherry-pickup
Title: House Robber III
Difficulty: Medium
Tags: Dynamic Programming, Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/house-robber-iii
Title: Find the Safest Path in a Grid
Difficulty: Medium
Tags: Array, Binary Search, Breadth-First Search, Union Find, Matrix
Link: https://leetcode.com/problems/find-the-safest-path-in-a-grid
Title: Shortest Path to Get All Keys
Difficulty: Hard
Tags: Array, Bit Manipulation, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/shortest-path-to-get-all-keys
Title: Largest Time for Given Digits
Difficulty: Medium
Tags: Array, String, Enumeration
Link: https://leetcode.com/problems/largest-time-for-given-digits
Title: Stream of Characters
Difficulty: Hard
Tags: Array, String, Design, Trie, Data Stream
Link: https://leetcode.com/problems/stream-of-characters
Title: Time Taken to Cross the Door
Difficulty: Hard
Tags: Array, Queue, Simulation
Link: https://leetcode.com/problems/time-taken-to-cross-the-door
Title: Longest Palindromic Substring
Difficulty: Medium
Tags: Two Pointers, String, Dynamic Programming
Link: https://leetcode.com/problems/longest-palindromic-substring
Title: Repeated Substring Pattern
Difficulty: Easy
Tags: String, String Matching
Link: https://leetcode.com/problems/repeated-substring-pattern
Title: Flipping an Image
Difficulty: Easy
Tags: Array, Two Pointers, Bit Manipulation, Matrix, Simulation
Link: https://leetcode.com/problems/flipping-an-image
Title: Recyclable and Low Fat Products
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/recyclable-and-low-fat-products
Title: Parallel Courses II
Difficulty: Hard
Tags: Dynamic Programming, Bit Manipulation, Graph, Bitmask
Link: https://leetcode.com/problems/parallel-courses-ii
Title: Jump Game VI
Difficulty: Medium
Tags: Array, Dynamic Programming, Queue, Heap (Priority Queue), Monotonic Queue
Link: https://leetcode.com/problems/jump-game-vi
Title: Valid Square
Difficulty: Medium
Tags: Math, Geometry
Link: https://leetcode.com/problems/valid-square
Title: Minimum Additions to Make Valid String
Difficulty: Medium
Tags: String, Dynamic Programming, Stack, Greedy
Link: https://leetcode.com/problems/minimum-additions-to-make-valid-string
Title: 4Sum II
Difficulty: Medium
Tags: Array, Hash Table
Link: https://leetcode.com/problems/4sum-ii
Title: Constrained Subsequence Sum
Difficulty: Hard
Tags: Array, Dynamic Programming, Queue, Sliding Window, Heap (Priority Queue),
Monotonic Queue
Link: https://leetcode.com/problems/constrained-subsequence-sum
Title: Distribute Coins in Binary Tree
Difficulty: Medium
Tags: Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/distribute-coins-in-binary-tree
Title: Longest Arithmetic Subsequence of Given Difference
Difficulty: Medium
Tags: Array, Hash Table, Dynamic Programming
Link: https://leetcode.com/problems/longest-arithmetic-subsequence-of-given-
difference
Title: Find Longest Special Substring That Occurs Thrice II
Difficulty: Medium
Tags: Hash Table, String, Binary Search, Sliding Window, Counting
Link: https://leetcode.com/problems/find-longest-special-substring-that-occurs-
thrice-ii
Title: Queue Reconstruction by Height
Difficulty: Medium
Tags: Array, Binary Indexed Tree, Segment Tree, Sorting
Link: https://leetcode.com/problems/queue-reconstruction-by-height
Title: Longest Uncommon Subsequence II
Difficulty: Medium
Tags: Array, Hash Table, Two Pointers, String, Sorting
Link: https://leetcode.com/problems/longest-uncommon-subsequence-ii
Title: Nth Magical Number
Difficulty: Hard
Tags: Math, Binary Search
Link: https://leetcode.com/problems/nth-magical-number
Title: Optimize Water Distribution in a Village
Difficulty: Hard
Tags: Union Find, Graph, Heap (Priority Queue), Minimum Spanning Tree
Link: https://leetcode.com/problems/optimize-water-distribution-in-a-village
Title: Relative Ranks
Difficulty: Easy
Tags: Array, Sorting, Heap (Priority Queue)
Link: https://leetcode.com/problems/relative-ranks
Title: Expression Add Operators
Difficulty: Hard
Tags: Math, String, Backtracking
Link: https://leetcode.com/problems/expression-add-operators
Title: Maximum Number of Jumps to Reach the Last Index
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/maximum-number-of-jumps-to-reach-the-last-index
Title: Sum of Distances in Tree
Difficulty: Hard
Tags: Dynamic Programming, Tree, Depth-First Search, Graph
Link: https://leetcode.com/problems/sum-of-distances-in-tree
Title: Construct Quad Tree
Difficulty: Medium
Tags: Array, Divide and Conquer, Tree, Matrix
Link: https://leetcode.com/problems/construct-quad-tree
Title: Longest Consecutive Sequence
Difficulty: Medium
Tags: Array, Hash Table, Union Find
Link: https://leetcode.com/problems/longest-consecutive-sequence
Title: Reorganize String
Difficulty: Medium
Tags: Hash Table, String, Greedy, Sorting, Heap (Priority Queue), Counting
Link: https://leetcode.com/problems/reorganize-string
Title: Add Two Numbers
Difficulty: Medium
Tags: Linked List, Math, Recursion
Link: https://leetcode.com/problems/add-two-numbers
Title: Koko Eating Bananas
Difficulty: Medium
Tags: Array, Binary Search
Link: https://leetcode.com/problems/koko-eating-bananas
Title: Maximum Profit in Job Scheduling
Difficulty: Hard
Tags: Array, Binary Search, Dynamic Programming, Sorting
Link: https://leetcode.com/problems/maximum-profit-in-job-scheduling
Title: Path with Maximum Probability
Difficulty: Medium
Tags: Array, Graph, Heap (Priority Queue), Shortest Path
Link: https://leetcode.com/problems/path-with-maximum-probability
Title: Path with Maximum Gold
Difficulty: Medium
Tags: Array, Backtracking, Matrix
Link: https://leetcode.com/problems/path-with-maximum-gold
Title: Course Schedule II
Difficulty: Medium
Tags: Depth-First Search, Breadth-First Search, Graph, Topological Sort
Link: https://leetcode.com/problems/course-schedule-ii
Title: Freedom Trail
Difficulty: Hard
Tags: String, Dynamic Programming, Depth-First Search, Breadth-First Search
Link: https://leetcode.com/problems/freedom-trail
Title: Greatest Common Divisor Traversal
Difficulty: Hard
Tags: Array, Math, Union Find, Number Theory
Link: https://leetcode.com/problems/greatest-common-divisor-traversal
Title: Accounts Merge
Difficulty: Medium
Tags: Array, Hash Table, String, Depth-First Search, Breadth-First Search, Union
Find, Sorting
Link: https://leetcode.com/problems/accounts-merge
Title: Trapping Rain Water II
Difficulty: Hard
Tags: Array, Breadth-First Search, Heap (Priority Queue), Matrix
Link: https://leetcode.com/problems/trapping-rain-water-ii
Title: Arithmetic Subarrays
Difficulty: Medium
Tags: Array, Hash Table, Sorting
Link: https://leetcode.com/problems/arithmetic-subarrays
Title: Rotate Image
Difficulty: Medium
Tags: Array, Math, Matrix
Link: https://leetcode.com/problems/rotate-image
Title: Longest Palindrome by Concatenating Two Letter Words
Difficulty: Medium
Tags: Array, Hash Table, String, Greedy, Counting
Link: https://leetcode.com/problems/longest-palindrome-by-concatenating-two-letter-
words
Title: Reverse Integer
Difficulty: Medium
Tags: Math
Link: https://leetcode.com/problems/reverse-integer
Title: Generate Parentheses
Difficulty: Medium
Tags: String, Dynamic Programming, Backtracking
Link: https://leetcode.com/problems/generate-parentheses
Title: Longest Common Prefix
Difficulty: Easy
Tags: String, Trie
Link: https://leetcode.com/problems/longest-common-prefix
Title: Strong Password Checker
Difficulty: Hard
Tags: String, Greedy, Heap (Priority Queue)
Link: https://leetcode.com/problems/strong-password-checker
Title: Course Schedule
Difficulty: Medium
Tags: Depth-First Search, Breadth-First Search, Graph, Topological Sort
Link: https://leetcode.com/problems/course-schedule
Title: Maximum Length of Repeated Subarray
Difficulty: Medium
Tags: Array, Binary Search, Dynamic Programming, Sliding Window, Rolling Hash, Hash
Function
Link: https://leetcode.com/problems/maximum-length-of-repeated-subarray
Title: Max Consecutive Ones
Difficulty: Easy
Tags: Array
Link: https://leetcode.com/problems/max-consecutive-ones
Title: Number of Flowers in Full Bloom
Difficulty: Hard
Tags: Array, Hash Table, Binary Search, Sorting, Prefix Sum, Ordered Set
Link: https://leetcode.com/problems/number-of-flowers-in-full-bloom
Title: Removing Minimum and Maximum From Array
Difficulty: Medium
Tags: Array, Greedy
Link: https://leetcode.com/problems/removing-minimum-and-maximum-from-array
Title: My Calendar I
Difficulty: Medium
Tags: Array, Binary Search, Design, Segment Tree, Ordered Set
Link: https://leetcode.com/problems/my-calendar-i
Title: Furthest Building You Can Reach
Difficulty: Medium
Tags: Array, Greedy, Heap (Priority Queue)
Link: https://leetcode.com/problems/furthest-building-you-can-reach
Title: Longest Increasing Subsequence
Difficulty: Medium
Tags: Array, Binary Search, Dynamic Programming
Link: https://leetcode.com/problems/longest-increasing-subsequence
Title: Number of Submatrices That Sum to Target
Difficulty: Hard
Tags: Array, Hash Table, Matrix, Prefix Sum
Link: https://leetcode.com/problems/number-of-submatrices-that-sum-to-target
Title: Remove K Digits
Difficulty: Medium
Tags: String, Stack, Greedy, Monotonic Stack
Link: https://leetcode.com/problems/remove-k-digits
Title: Evaluate Division
Difficulty: Medium
Tags: Array, String, Depth-First Search, Breadth-First Search, Union Find, Graph,
Shortest Path
Link: https://leetcode.com/problems/evaluate-division
Title: Reconstruct Itinerary
Difficulty: Hard
Tags: Depth-First Search, Graph, Eulerian Circuit
Link: https://leetcode.com/problems/reconstruct-itinerary
Title: LFU Cache
Difficulty: Hard
Tags: Hash Table, Linked List, Design, Doubly-Linked List
Link: https://leetcode.com/problems/lfu-cache
Title: Max Consecutive Ones III
Difficulty: Medium
Tags: Array, Binary Search, Sliding Window, Prefix Sum
Link: https://leetcode.com/problems/max-consecutive-ones-iii
Title: Remove Duplicate Letters
Difficulty: Medium
Tags: String, Stack, Greedy, Monotonic Stack
Link: https://leetcode.com/problems/remove-duplicate-letters
Title: Longest Substring Without Repeating Characters
Difficulty: Medium
Tags: Hash Table, String, Sliding Window
Link: https://leetcode.com/problems/longest-substring-without-repeating-characters
Title: First Missing Positive
Difficulty: Hard
Tags: Array, Hash Table
Link: https://leetcode.com/problems/first-missing-positive
Title: Kth Largest Element in an Array
Difficulty: Medium
Tags: Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect
Link: https://leetcode.com/problems/kth-largest-element-in-an-array
Title: Sliding Window Maximum
Difficulty: Hard
Tags: Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue
Link: https://leetcode.com/problems/sliding-window-maximum
Title: Find K-th Smallest Pair Distance
Difficulty: Hard
Tags: Array, Two Pointers, Binary Search, Sorting
Link: https://leetcode.com/problems/find-k-th-smallest-pair-distance
Title: Car Fleet
Difficulty: Medium
Tags: Array, Stack, Sorting, Monotonic Stack
Link: https://leetcode.com/problems/car-fleet
Title: Climbing Stairs
Difficulty: Easy
Tags: Math, Dynamic Programming, Memoization
Link: https://leetcode.com/problems/climbing-stairs
Title: Minimum Number of Taps to Open to Water a Garden
Difficulty: Hard
Tags: Array, Dynamic Programming, Greedy
Link: https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-
garden
Title: Letter Combinations of a Phone Number
Difficulty: Medium
Tags: Hash Table, String, Backtracking
Link: https://leetcode.com/problems/letter-combinations-of-a-phone-number
Title: Sudoku Solver
Difficulty: Hard
Tags: Array, Hash Table, Backtracking, Matrix
Link: https://leetcode.com/problems/sudoku-solver
Title: Decode String
Difficulty: Medium
Tags: String, Stack, Recursion
Link: https://leetcode.com/problems/decode-string
Title: Missing Ranges
Difficulty: Easy
Tags: Array
Link: https://leetcode.com/problems/missing-ranges
Title: Design Browser History
Difficulty: Medium
Tags: Array, Linked List, Stack, Design, Doubly-Linked List, Data Stream
Link: https://leetcode.com/problems/design-browser-history
Title: Unique Paths III
Difficulty: Hard
Tags: Array, Backtracking, Bit Manipulation, Matrix
Link: https://leetcode.com/problems/unique-paths-iii
Title: 3Sum
Difficulty: Medium
Tags: Array, Two Pointers, Sorting
Link: https://leetcode.com/problems/3sum
Title: Insert Delete GetRandom O(1)
Difficulty: Medium
Tags: Array, Hash Table, Math, Design, Randomized
Link: https://leetcode.com/problems/insert-delete-getrandom-o1
Title: Double a Number Represented as a Linked List
Difficulty: Medium
Tags: Linked List, Math, Stack
Link: https://leetcode.com/problems/double-a-number-represented-as-a-linked-list
Title: Add One Row to Tree
Difficulty: Medium
Tags: Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/add-one-row-to-tree
Title: Validate Binary Tree Nodes
Difficulty: Medium
Tags: Tree, Depth-First Search, Breadth-First Search, Union Find, Graph, Binary
Tree
Link: https://leetcode.com/problems/validate-binary-tree-nodes
Title: Ugly Number II
Difficulty: Medium
Tags: Hash Table, Math, Dynamic Programming, Heap (Priority Queue)
Link: https://leetcode.com/problems/ugly-number-ii
Title: Task Scheduler
Difficulty: Medium
Tags: Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting
Link: https://leetcode.com/problems/task-scheduler
Title: Parsing A Boolean Expression
Difficulty: Hard
Tags: String, Stack, Recursion
Link: https://leetcode.com/problems/parsing-a-boolean-expression
Title: Roman to Integer
Difficulty: Easy
Tags: Hash Table, Math, String
Link: https://leetcode.com/problems/roman-to-integer
Title: Minimum Cost to Hire K Workers
Difficulty: Hard
Tags: Array, Greedy, Sorting, Heap (Priority Queue)
Link: https://leetcode.com/problems/minimum-cost-to-hire-k-workers
Title: Merge Two Sorted Lists
Difficulty: Easy
Tags: Linked List, Recursion
Link: https://leetcode.com/problems/merge-two-sorted-lists
Title: Arithmetic Slices
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/arithmetic-slices
Title: Partition Array Into Two Arrays to Minimize Sum Difference
Difficulty: Hard
Tags: Array, Two Pointers, Binary Search, Dynamic Programming, Bit Manipulation,
Ordered Set, Bitmask
Link: https://leetcode.com/problems/partition-array-into-two-arrays-to-minimize-
sum-difference
Title: Combination Sum
Difficulty: Medium
Tags: Array, Backtracking
Link: https://leetcode.com/problems/combination-sum
Title: Evaluate Reverse Polish Notation
Difficulty: Medium
Tags: Array, Math, Stack
Link: https://leetcode.com/problems/evaluate-reverse-polish-notation
Title: Find Median from Data Stream
Difficulty: Hard
Tags: Two Pointers, Design, Sorting, Heap (Priority Queue), Data Stream
Link: https://leetcode.com/problems/find-median-from-data-stream
Title: Find the Maximum Sum of Node Values
Difficulty: Hard
Tags: Array, Dynamic Programming, Greedy, Bit Manipulation, Tree, Sorting
Link: https://leetcode.com/problems/find-the-maximum-sum-of-node-values
Title: Alien Dictionary
Difficulty: Hard
Tags: Array, String, Depth-First Search, Breadth-First Search, Graph, Topological
Sort
Link: https://leetcode.com/problems/alien-dictionary
Title: DI String Match
Difficulty: Easy
Tags: Array, Two Pointers, String, Greedy
Link: https://leetcode.com/problems/di-string-match
Title: Gray Code
Difficulty: Medium
Tags: Math, Backtracking, Bit Manipulation
Link: https://leetcode.com/problems/gray-code
Title: K-th Smallest Prime Fraction
Difficulty: Medium
Tags: Array, Two Pointers, Binary Search, Sorting, Heap (Priority Queue)
Link: https://leetcode.com/problems/k-th-smallest-prime-fraction
Title: Critical Connections in a Network
Difficulty: Hard
Tags: Depth-First Search, Graph, Biconnected Component
Link: https://leetcode.com/problems/critical-connections-in-a-network
Title: Container With Most Water
Difficulty: Medium
Tags: Array, Two Pointers, Greedy
Link: https://leetcode.com/problems/container-with-most-water
Title: Simplify Path
Difficulty: Medium
Tags: String, Stack
Link: https://leetcode.com/problems/simplify-path
Title: Word Break II
Difficulty: Hard
Tags: Array, Hash Table, String, Dynamic Programming, Backtracking, Trie,
Memoization
Link: https://leetcode.com/problems/word-break-ii
Title: Car Pooling
Difficulty: Medium
Tags: Array, Sorting, Heap (Priority Queue), Simulation, Prefix Sum
Link: https://leetcode.com/problems/car-pooling
Title: Cherry Pickup II
Difficulty: Hard
Tags: Array, Dynamic Programming, Matrix
Link: https://leetcode.com/problems/cherry-pickup-ii
Title: Fruit Into Baskets
Difficulty: Medium
Tags: Array, Hash Table, Sliding Window
Link: https://leetcode.com/problems/fruit-into-baskets
Title: Valid Parentheses
Difficulty: Easy
Tags: String, Stack
Link: https://leetcode.com/problems/valid-parentheses
Title: Boats to Save People
Difficulty: Medium
Tags: Array, Two Pointers, Greedy, Sorting
Link: https://leetcode.com/problems/boats-to-save-people
Title: Search in Rotated Sorted Array
Difficulty: Medium
Tags: Array, Binary Search
Link: https://leetcode.com/problems/search-in-rotated-sorted-array
Title: The Maze
Difficulty: Medium
Tags: Array, Depth-First Search, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/the-maze
Title: Maximum Swap
Difficulty: Medium
Tags: Math, Greedy
Link: https://leetcode.com/problems/maximum-swap
Title: Subarray Sum Equals K
Difficulty: Medium
Tags: Array, Hash Table, Prefix Sum
Link: https://leetcode.com/problems/subarray-sum-equals-k
Title: Group Anagrams
Difficulty: Medium
Tags: Array, Hash Table, String, Sorting
Link: https://leetcode.com/problems/group-anagrams
Title: Find Unique Binary String
Difficulty: Medium
Tags: Array, Hash Table, String, Backtracking
Link: https://leetcode.com/problems/find-unique-binary-string
Title: Insert Interval
Difficulty: Medium
Tags: Array
Link: https://leetcode.com/problems/insert-interval
Title: Dungeon Game
Difficulty: Hard
Tags: Array, Dynamic Programming, Matrix
Link: https://leetcode.com/problems/dungeon-game
Title: Fair Distribution of Cookies
Difficulty: Medium
Tags: Array, Dynamic Programming, Backtracking, Bit Manipulation, Bitmask
Link: https://leetcode.com/problems/fair-distribution-of-cookies
Title: Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Difficulty: Medium
Tags: Array, Queue, Sliding Window, Heap (Priority Queue), Ordered Set, Monotonic
Queue
Link: https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-
less-than-or-equal-to-limit
Title: Best Time to Buy and Sell Stock
Difficulty: Easy
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/best-time-to-buy-and-sell-stock
Title: Max Points on a Line
Difficulty: Hard
Tags: Array, Hash Table, Math, Geometry
Link: https://leetcode.com/problems/max-points-on-a-line
Title: Online Stock Span
Difficulty: Medium
Tags: Stack, Design, Monotonic Stack, Data Stream
Link: https://leetcode.com/problems/online-stock-span
Title: 2 Keys Keyboard
Difficulty: Medium
Tags: Math, Dynamic Programming
Link: https://leetcode.com/problems/2-keys-keyboard
Title: Number of Lines To Write String
Difficulty: Easy
Tags: Array, String
Link: https://leetcode.com/problems/number-of-lines-to-write-string
Title: Most Stones Removed with Same Row or Column
Difficulty: Medium
Tags: Hash Table, Depth-First Search, Union Find, Graph
Link: https://leetcode.com/problems/most-stones-removed-with-same-row-or-column
Title: Time Based Key-Value Store
Difficulty: Medium
Tags: Hash Table, String, Binary Search, Design
Link: https://leetcode.com/problems/time-based-key-value-store
Title: Special Array With X Elements Greater Than or Equal X
Difficulty: Easy
Tags: Array, Binary Search, Sorting
Link: https://leetcode.com/problems/special-array-with-x-elements-greater-than-or-
equal-x
Title: Join Two Arrays by ID
Difficulty: Medium
Tags:
Link: https://leetcode.com/problems/join-two-arrays-by-id
Title: Burst Balloons
Difficulty: Hard
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/burst-balloons
Title: Product of the Last K Numbers
Difficulty: Medium
Tags: Array, Math, Design, Queue, Data Stream
Link: https://leetcode.com/problems/product-of-the-last-k-numbers
Title: Palindrome Number
Difficulty: Easy
Tags: Math
Link: https://leetcode.com/problems/palindrome-number
Title: Reverse String
Difficulty: Easy
Tags: Two Pointers, String
Link: https://leetcode.com/problems/reverse-string
Title: Distinct Subsequences
Difficulty: Hard
Tags: String, Dynamic Programming
Link: https://leetcode.com/problems/distinct-subsequences
Title: Matrix Diagonal Sum
Difficulty: Easy
Tags: Array, Matrix
Link: https://leetcode.com/problems/matrix-diagonal-sum
Title: Spiral Matrix
Difficulty: Medium
Tags: Array, Matrix, Simulation
Link: https://leetcode.com/problems/spiral-matrix
Title: Number of Connected Components in an Undirected Graph
Difficulty: Medium
Tags: Depth-First Search, Breadth-First Search, Union Find, Graph
Link: https://leetcode.com/problems/number-of-connected-components-in-an-
undirected-graph
Title: Battleships in a Board
Difficulty: Medium
Tags: Array, Depth-First Search, Matrix
Link: https://leetcode.com/problems/battleships-in-a-board
Title: 4Sum
Difficulty: Medium
Tags: Array, Two Pointers, Sorting
Link: https://leetcode.com/problems/4sum
Title: Shuffle an Array
Difficulty: Medium
Tags: Array, Math, Randomized
Link: https://leetcode.com/problems/shuffle-an-array
Title: Split Array Largest Sum
Difficulty: Hard
Tags: Array, Binary Search, Dynamic Programming, Greedy, Prefix Sum
Link: https://leetcode.com/problems/split-array-largest-sum
Title: Add Two Promises
Difficulty: Easy
Tags:
Link: https://leetcode.com/problems/add-two-promises
Title: Different Ways to Add Parentheses
Difficulty: Medium
Tags: Math, String, Dynamic Programming, Recursion, Memoization
Link: https://leetcode.com/problems/different-ways-to-add-parentheses
Title: Unique Paths
Difficulty: Medium
Tags: Math, Dynamic Programming, Combinatorics
Link: https://leetcode.com/problems/unique-paths
Title: Longest Substring with At Least K Repeating Characters
Difficulty: Medium
Tags: Hash Table, String, Divide and Conquer, Sliding Window
Link: https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-
characters
Title: Increasing Order Search Tree
Difficulty: Easy
Tags: Stack, Tree, Depth-First Search, Binary Search Tree, Binary Tree
Link: https://leetcode.com/problems/increasing-order-search-tree
Title: Pow(x, n)
Difficulty: Medium
Tags: Math, Recursion
Link: https://leetcode.com/problems/powx-n
Title: Happy Number
Difficulty: Easy
Tags: Hash Table, Math, Two Pointers
Link: https://leetcode.com/problems/happy-number
Title: Move Zeroes
Difficulty: Easy
Tags: Array, Two Pointers
Link: https://leetcode.com/problems/move-zeroes
Title: House Robber
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/house-robber
Title: Coin Change
Difficulty: Medium
Tags: Array, Dynamic Programming, Breadth-First Search
Link: https://leetcode.com/problems/coin-change
Title: Score After Flipping Matrix
Difficulty: Medium
Tags: Array, Greedy, Bit Manipulation, Matrix
Link: https://leetcode.com/problems/score-after-flipping-matrix
Title: Find if Path Exists in Graph
Difficulty: Easy
Tags: Depth-First Search, Breadth-First Search, Union Find, Graph
Link: https://leetcode.com/problems/find-if-path-exists-in-graph
Title: Number of Good Pairs
Difficulty: Easy
Tags: Array, Hash Table, Math, Counting
Link: https://leetcode.com/problems/number-of-good-pairs
Title: Find Mode in Binary Search Tree
Difficulty: Easy
Tags: Tree, Depth-First Search, Binary Search Tree, Binary Tree
Link: https://leetcode.com/problems/find-mode-in-binary-search-tree
Title: Count Triplets That Can Form Two Arrays of Equal XOR
Difficulty: Medium
Tags: Array, Hash Table, Math, Bit Manipulation, Prefix Sum
Link: https://leetcode.com/problems/count-triplets-that-can-form-two-arrays-of-
equal-xor
Title: N-ary Tree Level Order Traversal
Difficulty: Medium
Tags: Tree, Breadth-First Search
Link: https://leetcode.com/problems/n-ary-tree-level-order-traversal
Title: Path With Minimum Effort
Difficulty: Medium
Tags: Array, Binary Search, Depth-First Search, Breadth-First Search, Union Find,
Heap (Priority Queue), Matrix
Link: https://leetcode.com/problems/path-with-minimum-effort
Title: Is Graph Bipartite?
Difficulty: Medium
Tags: Depth-First Search, Breadth-First Search, Union Find, Graph
Link: https://leetcode.com/problems/is-graph-bipartite
Title: Longest String Chain
Difficulty: Medium
Tags: Array, Hash Table, Two Pointers, String, Dynamic Programming
Link: https://leetcode.com/problems/longest-string-chain
Title: Perfect Squares
Difficulty: Medium
Tags: Math, Dynamic Programming, Breadth-First Search
Link: https://leetcode.com/problems/perfect-squares
Title: Coin Change II
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/coin-change-ii
Title: Permutation Sequence
Difficulty: Hard
Tags: Math, Recursion
Link: https://leetcode.com/problems/permutation-sequence
Title: Longest Palindrome
Difficulty: Easy
Tags: Hash Table, String, Greedy
Link: https://leetcode.com/problems/longest-palindrome
Title: Product Price at a Given Date
Difficulty: Medium
Tags: Database
Link: https://leetcode.com/problems/product-price-at-a-given-date
Title: Pascal's Triangle
Difficulty: Easy
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/pascals-triangle
Title: Monotonic Array
Difficulty: Easy
Tags: Array
Link: https://leetcode.com/problems/monotonic-array
Title: Count Square Submatrices with All Ones
Difficulty: Medium
Tags: Array, Dynamic Programming, Matrix
Link: https://leetcode.com/problems/count-square-submatrices-with-all-ones
Title: Edit Distance
Difficulty: Medium
Tags: String, Dynamic Programming
Link: https://leetcode.com/problems/edit-distance
Title: Frog Jump
Difficulty: Hard
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/frog-jump
Title: Find Largest Value in Each Tree Row
Difficulty: Medium
Tags: Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/find-largest-value-in-each-tree-row
Title: Decompress Run-Length Encoded List
Difficulty: Easy
Tags: Array
Link: https://leetcode.com/problems/decompress-run-length-encoded-list
Title: Binary Tree Cameras
Difficulty: Hard
Tags: Dynamic Programming, Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/binary-tree-cameras
Title: House Robber II
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/house-robber-ii
Title: Meeting Rooms
Difficulty: Easy
Tags: Array, Sorting
Link: https://leetcode.com/problems/meeting-rooms
Title: Shortest Path in a Grid with Obstacles Elimination
Difficulty: Hard
Tags: Array, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-
elimination
Title: Contains Duplicate
Difficulty: Easy
Tags: Array, Hash Table, Sorting
Link: https://leetcode.com/problems/contains-duplicate
Title: Counter
Difficulty: Easy
Tags:
Link: https://leetcode.com/problems/counter
Title: Implement Trie (Prefix Tree)
Difficulty: Medium
Tags: Hash Table, String, Design, Trie
Link: https://leetcode.com/problems/implement-trie-prefix-tree
Title: Reverse Nodes in k-Group
Difficulty: Hard
Tags: Linked List, Recursion
Link: https://leetcode.com/problems/reverse-nodes-in-k-group
Title: Number of Arithmetic Triplets
Difficulty: Easy
Tags: Array, Hash Table, Two Pointers, Enumeration
Link: https://leetcode.com/problems/number-of-arithmetic-triplets
Title: Next Greater Element III
Difficulty: Medium
Tags: Math, Two Pointers, String
Link: https://leetcode.com/problems/next-greater-element-iii
Title: Word Search
Difficulty: Medium
Tags: Array, String, Backtracking, Matrix
Link: https://leetcode.com/problems/word-search
Title: Same Tree
Difficulty: Easy
Tags: Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/same-tree
Title: Stickers to Spell Word
Difficulty: Hard
Tags: Array, String, Dynamic Programming, Backtracking, Bit Manipulation, Bitmask
Link: https://leetcode.com/problems/stickers-to-spell-word
Title: Repeated DNA Sequences
Difficulty: Medium
Tags: Hash Table, String, Bit Manipulation, Sliding Window, Rolling Hash, Hash
Function
Link: https://leetcode.com/problems/repeated-dna-sequences
Title: Permutation in String
Difficulty: Medium
Tags: Hash Table, Two Pointers, String, Sliding Window
Link: https://leetcode.com/problems/permutation-in-string
Title: Island Perimeter
Difficulty: Easy
Tags: Array, Depth-First Search, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/island-perimeter
Title: Sum of Square Numbers
Difficulty: Medium
Tags: Math, Two Pointers, Binary Search
Link: https://leetcode.com/problems/sum-of-square-numbers
Title: N-Queens II
Difficulty: Hard
Tags: Backtracking
Link: https://leetcode.com/problems/n-queens-ii
Title: Arranging Coins
Difficulty: Easy
Tags: Math, Binary Search
Link: https://leetcode.com/problems/arranging-coins
Title: Reverse String II
Difficulty: Easy
Tags: Two Pointers, String
Link: https://leetcode.com/problems/reverse-string-ii
Title: N-Queens
Difficulty: Hard
Tags: Array, Backtracking
Link: https://leetcode.com/problems/n-queens
Title: Shortest Palindrome
Difficulty: Hard
Tags: String, Rolling Hash, String Matching, Hash Function
Link: https://leetcode.com/problems/shortest-palindrome
Title: K-diff Pairs in an Array
Difficulty: Medium
Tags: Array, Hash Table, Two Pointers, Binary Search, Sorting
Link: https://leetcode.com/problems/k-diff-pairs-in-an-array
Title: Word Search II
Difficulty: Hard
Tags: Array, String, Backtracking, Trie, Matrix
Link: https://leetcode.com/problems/word-search-ii
Title: Length of Longest Subarray With at Most K Frequency
Difficulty: Medium
Tags: Array, Hash Table, Sliding Window
Link: https://leetcode.com/problems/length-of-longest-subarray-with-at-most-k-
frequency
Title: Zigzag Conversion
Difficulty: Medium
Tags: String
Link: https://leetcode.com/problems/zigzag-conversion
Title: Special Array II
Difficulty: Medium
Tags: Array, Binary Search, Prefix Sum
Link: https://leetcode.com/problems/special-array-ii
Title: Invert Binary Tree
Difficulty: Easy
Tags: Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/invert-binary-tree
Title: Valid Mountain Array
Difficulty: Easy
Tags: Array
Link: https://leetcode.com/problems/valid-mountain-array
Title: Next Permutation
Difficulty: Medium
Tags: Array, Two Pointers
Link: https://leetcode.com/problems/next-permutation
Title: Running Sum of 1d Array
Difficulty: Easy
Tags: Array, Prefix Sum
Link: https://leetcode.com/problems/running-sum-of-1d-array
Title: Candy
Difficulty: Hard
Tags: Array, Greedy
Link: https://leetcode.com/problems/candy
Title: Number of Steps to Reduce a Number in Binary Representation to One
Difficulty: Medium
Tags: String, Bit Manipulation
Link: https://leetcode.com/problems/number-of-steps-to-reduce-a-number-in-binary-
representation-to-one
Title: Find Customer Referee
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/find-customer-referee
Title: Capacity To Ship Packages Within D Days
Difficulty: Medium
Tags: Array, Binary Search
Link: https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
Title: Vertical Order Traversal of a Binary Tree
Difficulty: Hard
Tags: Hash Table, Tree, Depth-First Search, Breadth-First Search, Sorting, Binary
Tree
Link: https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
Title: Copy List with Random Pointer
Difficulty: Medium
Tags: Hash Table, Linked List
Link: https://leetcode.com/problems/copy-list-with-random-pointer
Title: Remove Nth Node From End of List
Difficulty: Medium
Tags: Linked List, Two Pointers
Link: https://leetcode.com/problems/remove-nth-node-from-end-of-list
Title: Daily Temperatures
Difficulty: Medium
Tags: Array, Stack, Monotonic Stack
Link: https://leetcode.com/problems/daily-temperatures
Title: Partition Equal Subset Sum
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/partition-equal-subset-sum
Title: 01 Matrix
Difficulty: Medium
Tags: Array, Dynamic Programming, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/01-matrix
Title: Single Number II
Difficulty: Medium
Tags: Array, Bit Manipulation
Link: https://leetcode.com/problems/single-number-ii
Title: Sqrt(x)
Difficulty: Easy
Tags: Math, Binary Search
Link: https://leetcode.com/problems/sqrtx
Title: Cheapest Flights Within K Stops
Difficulty: Medium
Tags: Dynamic Programming, Depth-First Search, Breadth-First Search, Graph, Heap
(Priority Queue), Shortest Path
Link: https://leetcode.com/problems/cheapest-flights-within-k-stops
Title: Basic Calculator
Difficulty: Hard
Tags: Math, String, Stack, Recursion
Link: https://leetcode.com/problems/basic-calculator
Title: Largest Local Values in a Matrix
Difficulty: Easy
Tags: Array, Matrix
Link: https://leetcode.com/problems/largest-local-values-in-a-matrix
Title: Largest Rectangle in Histogram
Difficulty: Hard
Tags: Array, Stack, Monotonic Stack
Link: https://leetcode.com/problems/largest-rectangle-in-histogram
Title: Largest Divisible Subset
Difficulty: Medium
Tags: Array, Math, Dynamic Programming, Sorting
Link: https://leetcode.com/problems/largest-divisible-subset
Title: Squares of a Sorted Array
Difficulty: Easy
Tags: Array, Two Pointers, Sorting
Link: https://leetcode.com/problems/squares-of-a-sorted-array
Title: Reverse Pairs
Difficulty: Hard
Tags: Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree,
Merge Sort, Ordered Set
Link: https://leetcode.com/problems/reverse-pairs
Title: Maximum Depth of Binary Tree
Difficulty: Easy
Tags: Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/maximum-depth-of-binary-tree
Title: Number of Students Unable to Eat Lunch
Difficulty: Easy
Tags: Array, Stack, Queue, Simulation
Link: https://leetcode.com/problems/number-of-students-unable-to-eat-lunch
Title: Find the Difference
Difficulty: Easy
Tags: Hash Table, String, Bit Manipulation, Sorting
Link: https://leetcode.com/problems/find-the-difference
Title: Swim in Rising Water
Difficulty: Hard
Tags: Array, Binary Search, Depth-First Search, Breadth-First Search, Union Find,
Heap (Priority Queue), Matrix
Link: https://leetcode.com/problems/swim-in-rising-water
Title: Unique Binary Search Trees II
Difficulty: Medium
Tags: Dynamic Programming, Backtracking, Tree, Binary Search Tree, Binary Tree
Link: https://leetcode.com/problems/unique-binary-search-trees-ii
Title: Lowest Common Ancestor of a Binary Search Tree
Difficulty: Medium
Tags: Tree, Depth-First Search, Binary Search Tree, Binary Tree
Link: https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
Title: Rotate Array
Difficulty: Medium
Tags: Array, Math, Two Pointers
Link: https://leetcode.com/problems/rotate-array
Title: Basic Calculator II
Difficulty: Medium
Tags: Math, String, Stack
Link: https://leetcode.com/problems/basic-calculator-ii
Title: Isomorphic Strings
Difficulty: Easy
Tags: Hash Table, String
Link: https://leetcode.com/problems/isomorphic-strings
Title: Word Ladder
Difficulty: Hard
Tags: Hash Table, String, Breadth-First Search
Link: https://leetcode.com/problems/word-ladder
Title: Rotting Oranges
Difficulty: Medium
Tags: Array, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/rotting-oranges
Title: Summary Ranges
Difficulty: Easy
Tags: Array
Link: https://leetcode.com/problems/summary-ranges
Title: Subsets
Difficulty: Medium
Tags: Array, Backtracking, Bit Manipulation
Link: https://leetcode.com/problems/subsets
Title: Length of Last Word
Difficulty: Easy
Tags: String
Link: https://leetcode.com/problems/length-of-last-word
Title: 3Sum Closest
Difficulty: Medium
Tags: Array, Two Pointers, Sorting
Link: https://leetcode.com/problems/3sum-closest
Title: Regular Expression Matching
Difficulty: Hard
Tags: String, Dynamic Programming, Recursion
Link: https://leetcode.com/problems/regular-expression-matching
Title: Minimum Window Substring
Difficulty: Hard
Tags: Hash Table, String, Sliding Window
Link: https://leetcode.com/problems/minimum-window-substring
Title: Populating Next Right Pointers in Each Node
Difficulty: Medium
Tags: Linked List, Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/populating-next-right-pointers-in-each-node
Title: Flood Fill
Difficulty: Easy
Tags: Array, Depth-First Search, Breadth-First Search, Matrix
Link: https://leetcode.com/problems/flood-fill
Title: Find K Closest Elements
Difficulty: Medium
Tags: Array, Two Pointers, Binary Search, Sliding Window, Sorting, Heap (Priority
Queue)
Link: https://leetcode.com/problems/find-k-closest-elements
Title: Sum of Beauty of All Substrings
Difficulty: Medium
Tags: Hash Table, String, Counting
Link: https://leetcode.com/problems/sum-of-beauty-of-all-substrings
Title: Add Binary
Difficulty: Easy
Tags: Math, String, Bit Manipulation, Simulation
Link: https://leetcode.com/problems/add-binary
Title: Assign Cookies
Difficulty: Easy
Tags: Array, Two Pointers, Greedy, Sorting
Link: https://leetcode.com/problems/assign-cookies
Title: First Bad Version
Difficulty: Easy
Tags: Binary Search, Interactive
Link: https://leetcode.com/problems/first-bad-version
Title: Majority Element
Difficulty: Easy
Tags: Array, Hash Table, Divide and Conquer, Sorting, Counting
Link: https://leetcode.com/problems/majority-element
Title: Allow One Function Call
Difficulty: Easy
Tags:
Link: https://leetcode.com/problems/allow-one-function-call
Title: Excel Sheet Column Title
Difficulty: Easy
Tags: Math, String
Link: https://leetcode.com/problems/excel-sheet-column-title
Title: Range Sum Query - Immutable
Difficulty: Easy
Tags: Array, Design, Prefix Sum
Link: https://leetcode.com/problems/range-sum-query-immutable
Title: Number of Recent Calls
Difficulty: Easy
Tags: Design, Queue, Data Stream
Link: https://leetcode.com/problems/number-of-recent-calls
Title: Recover Binary Search Tree
Difficulty: Medium
Tags: Tree, Depth-First Search, Binary Search Tree, Binary Tree
Link: https://leetcode.com/problems/recover-binary-search-tree
Title: Contiguous Array
Difficulty: Medium
Tags: Array, Hash Table, Prefix Sum
Link: https://leetcode.com/problems/contiguous-array
Title: Minimum Height Trees
Difficulty: Medium
Tags: Depth-First Search, Breadth-First Search, Graph, Topological Sort
Link: https://leetcode.com/problems/minimum-height-trees
Title: Remove Duplicates from Sorted List
Difficulty: Easy
Tags: Linked List
Link: https://leetcode.com/problems/remove-duplicates-from-sorted-list
Title: Reverse Vowels of a String
Difficulty: Easy
Tags: Two Pointers, String
Link: https://leetcode.com/problems/reverse-vowels-of-a-string
Title: Search Suggestions System
Difficulty: Medium
Tags: Array, String, Binary Search, Trie, Sorting, Heap (Priority Queue)
Link: https://leetcode.com/problems/search-suggestions-system
Title: Array Prototype Last
Difficulty: Easy
Tags:
Link: https://leetcode.com/problems/array-prototype-last
Title: Design Linked List
Difficulty: Medium
Tags: Linked List, Design
Link: https://leetcode.com/problems/design-linked-list
Title: Top K Frequent Elements
Difficulty: Medium
Tags: Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket
Sort, Counting, Quickselect
Link: https://leetcode.com/problems/top-k-frequent-elements
Title: Number of Unique Subjects Taught by Each Teacher
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/number-of-unique-subjects-taught-by-each-
teacher
Title: Remove Duplicates from Sorted Array
Difficulty: Easy
Tags: Array, Two Pointers
Link: https://leetcode.com/problems/remove-duplicates-from-sorted-array
Title: Find First and Last Position of Element in Sorted Array
Difficulty: Medium
Tags: Array, Binary Search
Link: https://leetcode.com/problems/find-first-and-last-position-of-element-in-
sorted-array
Title: Bitwise AND of Numbers Range
Difficulty: Medium
Tags: Bit Manipulation
Link: https://leetcode.com/problems/bitwise-and-of-numbers-range
Title: Partition Array for Maximum Sum
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/partition-array-for-maximum-sum
Title: Search a 2D Matrix
Difficulty: Medium
Tags: Array, Binary Search, Matrix
Link: https://leetcode.com/problems/search-a-2d-matrix
Title: Single Number
Difficulty: Easy
Tags: Array, Bit Manipulation
Link: https://leetcode.com/problems/single-number
Title: Function Composition
Difficulty: Easy
Tags:
Link: https://leetcode.com/problems/function-composition
Title: Design Add and Search Words Data Structure
Difficulty: Medium
Tags: String, Depth-First Search, Design, Trie
Link: https://leetcode.com/problems/design-add-and-search-words-data-structure
Title: Check if the Sentence Is Pangram
Difficulty: Easy
Tags: Hash Table, String
Link: https://leetcode.com/problems/check-if-the-sentence-is-pangram
Title: Rearrange Array Elements by Sign
Difficulty: Medium
Tags: Array, Two Pointers, Simulation
Link: https://leetcode.com/problems/rearrange-array-elements-by-sign
Title: Get the Size of a DataFrame
Difficulty: Easy
Tags:
Link: https://leetcode.com/problems/get-the-size-of-a-dataframe
Title: Sum of Subarray Minimums
Difficulty: Medium
Tags: Array, Dynamic Programming, Stack, Monotonic Stack
Link: https://leetcode.com/problems/sum-of-subarray-minimums
Title: Product of Array Except Self
Difficulty: Medium
Tags: Array, Prefix Sum
Link: https://leetcode.com/problems/product-of-array-except-self
Title: Subsets II
Difficulty: Medium
Tags: Array, Backtracking, Bit Manipulation
Link: https://leetcode.com/problems/subsets-ii
Title: Defanging an IP Address
Difficulty: Easy
Tags: String
Link: https://leetcode.com/problems/defanging-an-ip-address
Title: Destination City
Difficulty: Easy
Tags: Array, Hash Table, String
Link: https://leetcode.com/problems/destination-city
Title: Minimum Path Sum
Difficulty: Medium
Tags: Array, Dynamic Programming, Matrix
Link: https://leetcode.com/problems/minimum-path-sum
Title: Sort Characters By Frequency
Difficulty: Medium
Tags: Hash Table, String, Sorting, Heap (Priority Queue), Bucket Sort, Counting
Link: https://leetcode.com/problems/sort-characters-by-frequency
Title: Intersection of Two Arrays II
Difficulty: Easy
Tags: Array, Hash Table, Two Pointers, Binary Search, Sorting
Link: https://leetcode.com/problems/intersection-of-two-arrays-ii
Title: Palindromic Substrings
Difficulty: Medium
Tags: Two Pointers, String, Dynamic Programming
Link: https://leetcode.com/problems/palindromic-substrings
Title: Gas Station
Difficulty: Medium
Tags: Array, Greedy
Link: https://leetcode.com/problems/gas-station
Title: Diameter of Binary Tree
Difficulty: Easy
Tags: Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/diameter-of-binary-tree
Title: How Many Numbers Are Smaller Than the Current Number
Difficulty: Easy
Tags: Array, Hash Table, Sorting, Counting
Link: https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-
number
Title: Target Sum
Difficulty: Medium
Tags: Array, Dynamic Programming, Backtracking
Link: https://leetcode.com/problems/target-sum
Title: Find the Maximum Achievable Number
Difficulty: Easy
Tags: Math
Link: https://leetcode.com/problems/find-the-maximum-achievable-number
Title: Third Maximum Number
Difficulty: Easy
Tags: Array, Sorting
Link: https://leetcode.com/problems/third-maximum-number
Title: Rank Scores
Difficulty: Medium
Tags: Database
Link: https://leetcode.com/problems/rank-scores
Title: Rising Temperature
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/rising-temperature
Title: Find Peak Element
Difficulty: Medium
Tags: Array, Binary Search
Link: https://leetcode.com/problems/find-peak-element
Title: Number of Provinces
Difficulty: Medium
Tags: Depth-First Search, Breadth-First Search, Union Find, Graph
Link: https://leetcode.com/problems/number-of-provinces
Title: Reverse Linked List
Difficulty: Easy
Tags: Linked List, Recursion
Link: https://leetcode.com/problems/reverse-linked-list
Title: Longest Valid Parentheses
Difficulty: Hard
Tags: String, Dynamic Programming, Stack
Link: https://leetcode.com/problems/longest-valid-parentheses
Title: Network Delay Time
Difficulty: Medium
Tags: Depth-First Search, Breadth-First Search, Graph, Heap (Priority Queue),
Shortest Path
Link: https://leetcode.com/problems/network-delay-time
Title: Best Time to Buy and Sell Stock with Cooldown
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
Title: Construct Binary Tree from Preorder and Inorder Traversal
Difficulty: Medium
Tags: Array, Hash Table, Divide and Conquer, Tree, Binary Tree
Link: https://leetcode.com/problems/construct-binary-tree-from-preorder-and-
inorder-traversal
Title: Managers with at Least 5 Direct Reports
Difficulty: Medium
Tags: Database
Link: https://leetcode.com/problems/managers-with-at-least-5-direct-reports
Title: Score of a String
Difficulty: Easy
Tags: String
Link: https://leetcode.com/problems/score-of-a-string
Title: Fizz Buzz
Difficulty: Easy
Tags: Math, String, Simulation
Link: https://leetcode.com/problems/fizz-buzz
Title: Merge k Sorted Lists
Difficulty: Hard
Tags: Linked List, Divide and Conquer, Heap (Priority Queue), Merge Sort
Link: https://leetcode.com/problems/merge-k-sorted-lists
Title: Middle of the Linked List
Difficulty: Easy
Tags: Linked List, Two Pointers
Link: https://leetcode.com/problems/middle-of-the-linked-list
Title: Swap Nodes in Pairs
Difficulty: Medium
Tags: Linked List, Recursion
Link: https://leetcode.com/problems/swap-nodes-in-pairs
Title: Maximum Average Subarray I
Difficulty: Easy
Tags: Array, Sliding Window
Link: https://leetcode.com/problems/maximum-average-subarray-i
Title: Palindrome Partitioning
Difficulty: Medium
Tags: String, Dynamic Programming, Backtracking
Link: https://leetcode.com/problems/palindrome-partitioning
Title: Set Mismatch
Difficulty: Easy
Tags: Array, Hash Table, Bit Manipulation, Sorting
Link: https://leetcode.com/problems/set-mismatch
Title: Minimum Remove to Make Valid Parentheses
Difficulty: Medium
Tags: String, Stack
Link: https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
Title: Binary Subarrays With Sum
Difficulty: Medium
Tags: Array, Hash Table, Sliding Window, Prefix Sum
Link: https://leetcode.com/problems/binary-subarrays-with-sum
Title: Shuffle the Array
Difficulty: Easy
Tags: Array
Link: https://leetcode.com/problems/shuffle-the-array
Title: Minimum Number of Days to Make m Bouquets
Difficulty: Medium
Tags: Array, Binary Search
Link: https://leetcode.com/problems/minimum-number-of-days-to-make-m-bouquets
Title: Search Insert Position
Difficulty: Easy
Tags: Array, Binary Search
Link: https://leetcode.com/problems/search-insert-position
Title: Maximum Points You Can Obtain from Cards
Difficulty: Medium
Tags: Array, Sliding Window, Prefix Sum
Link: https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards
Title: Frequency of the Most Frequent Element
Difficulty: Medium
Tags: Array, Binary Search, Greedy, Sliding Window, Sorting, Prefix Sum
Link: https://leetcode.com/problems/frequency-of-the-most-frequent-element
Title: Remove Element
Difficulty: Easy
Tags: Array, Two Pointers
Link: https://leetcode.com/problems/remove-element
Title: Employees Earning More Than Their Managers
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/employees-earning-more-than-their-managers
Title: Average Time of Process per Machine
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/average-time-of-process-per-machine
Title: Find Minimum in Rotated Sorted Array
Difficulty: Medium
Tags: Array, Binary Search
Link: https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
Title: Reorder List
Difficulty: Medium
Tags: Linked List, Two Pointers, Stack, Recursion
Link: https://leetcode.com/problems/reorder-list
Title: Range Sum of BST
Difficulty: Easy
Tags: Tree, Depth-First Search, Binary Search Tree, Binary Tree
Link: https://leetcode.com/problems/range-sum-of-bst
Title: Linked List Cycle II
Difficulty: Medium
Tags: Hash Table, Linked List, Two Pointers
Link: https://leetcode.com/problems/linked-list-cycle-ii
Title: Search a 2D Matrix II
Difficulty: Medium
Tags: Array, Binary Search, Divide and Conquer, Matrix
Link: https://leetcode.com/problems/search-a-2d-matrix-ii
Title: Subarray Product Less Than K
Difficulty: Medium
Tags: Array, Sliding Window
Link: https://leetcode.com/problems/subarray-product-less-than-k
Title: All Nodes Distance K in Binary Tree
Difficulty: Medium
Tags: Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
Title: Plus One
Difficulty: Easy
Tags: Array, Math
Link: https://leetcode.com/problems/plus-one
Title: Minimum Falling Path Sum
Difficulty: Medium
Tags: Array, Dynamic Programming, Matrix
Link: https://leetcode.com/problems/minimum-falling-path-sum
Title: Sort Colors
Difficulty: Medium
Tags: Array, Two Pointers, Sorting
Link: https://leetcode.com/problems/sort-colors
Title: Minimum Add to Make Parentheses Valid
Difficulty: Medium
Tags: String, Stack, Greedy
Link: https://leetcode.com/problems/minimum-add-to-make-parentheses-valid
Title: Permutations
Difficulty: Medium
Tags: Array, Backtracking
Link: https://leetcode.com/problems/permutations
Title: Jump Game
Difficulty: Medium
Tags: Array, Dynamic Programming, Greedy
Link: https://leetcode.com/problems/jump-game
Title: Best Time to Buy and Sell Stock III
Difficulty: Hard
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
Title: Reverse Bits
Difficulty: Easy
Tags: Divide and Conquer, Bit Manipulation
Link: https://leetcode.com/problems/reverse-bits
Title: Rotate String
Difficulty: Easy
Tags: String, String Matching
Link: https://leetcode.com/problems/rotate-string
Title: Longest Common Subsequence
Difficulty: Medium
Tags: String, Dynamic Programming
Link: https://leetcode.com/problems/longest-common-subsequence
Title: To Be Or Not To Be
Difficulty: Easy
Tags:
Link: https://leetcode.com/problems/to-be-or-not-to-be
Title: Minimum Depth of Binary Tree
Difficulty: Easy
Tags: Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/minimum-depth-of-binary-tree
Title: H-Index
Difficulty: Medium
Tags: Array, Sorting, Counting Sort
Link: https://leetcode.com/problems/h-index
Title: Binary Tree Paths
Difficulty: Easy
Tags: String, Backtracking, Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/binary-tree-paths
Title: Add Strings
Difficulty: Easy
Tags: Math, String, Simulation
Link: https://leetcode.com/problems/add-strings
Title: Find the Index of the First Occurrence in a String
Difficulty: Easy
Tags: Two Pointers, String, String Matching
Link: https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-
string
Title: Create a DataFrame from List
Difficulty: Easy
Tags:
Link: https://leetcode.com/problems/create-a-dataframe-from-list
Title: Remove All Adjacent Duplicates In String
Difficulty: Easy
Tags: String, Stack
Link: https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
Title: Find All Anagrams in a String
Difficulty: Medium
Tags: Hash Table, String, Sliding Window
Link: https://leetcode.com/problems/find-all-anagrams-in-a-string
Title: Single Element in a Sorted Array
Difficulty: Medium
Tags: Array, Binary Search
Link: https://leetcode.com/problems/single-element-in-a-sorted-array
Title: Balanced Binary Tree
Difficulty: Easy
Tags: Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/balanced-binary-tree
Title: Maximum Number of Vowels in a Substring of Given Length
Difficulty: Medium
Tags: String, Sliding Window
Link: https://leetcode.com/problems/maximum-number-of-vowels-in-a-substring-of-
given-length
Title: Max Number of K-Sum Pairs
Difficulty: Medium
Tags: Array, Hash Table, Two Pointers, Sorting
Link: https://leetcode.com/problems/max-number-of-k-sum-pairs
Title: Linked List Cycle
Difficulty: Easy
Tags: Hash Table, Linked List, Two Pointers
Link: https://leetcode.com/problems/linked-list-cycle
Title: Add Digits
Difficulty: Easy
Tags: Math, Simulation, Number Theory
Link: https://leetcode.com/problems/add-digits
Title: Rotate List
Difficulty: Medium
Tags: Linked List, Two Pointers
Link: https://leetcode.com/problems/rotate-list
Title: String to Integer (atoi)
Difficulty: Medium
Tags: String
Link: https://leetcode.com/problems/string-to-integer-atoi
Title: Jewels and Stones
Difficulty: Easy
Tags: Hash Table, String
Link: https://leetcode.com/problems/jewels-and-stones
Title: Find the Smallest Divisor Given a Threshold
Difficulty: Medium
Tags: Array, Binary Search
Link: https://leetcode.com/problems/find-the-smallest-divisor-given-a-threshold
Title: Max Area of Island
Difficulty: Medium
Tags: Array, Depth-First Search, Breadth-First Search, Union Find, Matrix
Link: https://leetcode.com/problems/max-area-of-island
Title: Is Subsequence
Difficulty: Easy
Tags: Two Pointers, String, Dynamic Programming
Link: https://leetcode.com/problems/is-subsequence
Title: Count Complete Tree Nodes
Difficulty: Easy
Tags: Binary Search, Bit Manipulation, Tree, Binary Tree
Link: https://leetcode.com/problems/count-complete-tree-nodes
Title: Duplicate Emails
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/duplicate-emails
Title: Article Views I
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/article-views-i
Title: Valid Anagram
Difficulty: Easy
Tags: Hash Table, String, Sorting
Link: https://leetcode.com/problems/valid-anagram
Title: Sort List
Difficulty: Medium
Tags: Linked List, Two Pointers, Divide and Conquer, Sorting, Merge Sort
Link: https://leetcode.com/problems/sort-list
Title: Wildcard Matching
Difficulty: Hard
Tags: String, Dynamic Programming, Greedy, Recursion
Link: https://leetcode.com/problems/wildcard-matching
Title: Minimum Size Subarray Sum
Difficulty: Medium
Tags: Array, Binary Search, Sliding Window, Prefix Sum
Link: https://leetcode.com/problems/minimum-size-subarray-sum
Title: Word Break
Difficulty: Medium
Tags: Array, Hash Table, String, Dynamic Programming, Trie, Memoization
Link: https://leetcode.com/problems/word-break
Title: Combine Two Tables
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/combine-two-tables
Title: Insert into a Binary Search Tree
Difficulty: Medium
Tags: Tree, Binary Search Tree, Binary Tree
Link: https://leetcode.com/problems/insert-into-a-binary-search-tree
Title: Maximum Subarray
Difficulty: Medium
Tags: Array, Divide and Conquer, Dynamic Programming
Link: https://leetcode.com/problems/maximum-subarray
Title: Valid Sudoku
Difficulty: Medium
Tags: Array, Hash Table, Matrix
Link: https://leetcode.com/problems/valid-sudoku
Title: Word Pattern
Difficulty: Easy
Tags: Hash Table, String
Link: https://leetcode.com/problems/word-pattern
Title: Decode Ways
Difficulty: Medium
Tags: String, Dynamic Programming
Link: https://leetcode.com/problems/decode-ways
Title: Find Common Characters
Difficulty: Easy
Tags: Array, Hash Table, String
Link: https://leetcode.com/problems/find-common-characters
Title: Find the Duplicate Number
Difficulty: Medium
Tags: Array, Two Pointers, Binary Search, Bit Manipulation
Link: https://leetcode.com/problems/find-the-duplicate-number
Title: Lowest Common Ancestor of a Binary Tree
Difficulty: Medium
Tags: Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
Title: Valid Palindrome II
Difficulty: Easy
Tags: Two Pointers, String, Greedy
Link: https://leetcode.com/problems/valid-palindrome-ii
Title: Symmetric Tree
Difficulty: Easy
Tags: Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/symmetric-tree
Title: Peak Index in a Mountain Array
Difficulty: Medium
Tags: Array, Binary Search
Link: https://leetcode.com/problems/peak-index-in-a-mountain-array
Title: Non-overlapping Intervals
Difficulty: Medium
Tags: Array, Dynamic Programming, Greedy, Sorting
Link: https://leetcode.com/problems/non-overlapping-intervals
Title: Find the Highest Altitude
Difficulty: Easy
Tags: Array, Prefix Sum
Link: https://leetcode.com/problems/find-the-highest-altitude
Title: Palindrome Linked List
Difficulty: Easy
Tags: Linked List, Two Pointers, Stack, Recursion
Link: https://leetcode.com/problems/palindrome-linked-list
Title: Reverse Linked List II
Difficulty: Medium
Tags: Linked List
Link: https://leetcode.com/problems/reverse-linked-list-ii
Title: First Unique Character in a String
Difficulty: Easy
Tags: Hash Table, String, Queue, Counting
Link: https://leetcode.com/problems/first-unique-character-in-a-string
Title: Jump Game II
Difficulty: Medium
Tags: Array, Dynamic Programming, Greedy
Link: https://leetcode.com/problems/jump-game-ii
Title: Big Countries
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/big-countries
Title: Intersection of Two Arrays
Difficulty: Easy
Tags: Array, Hash Table, Two Pointers, Binary Search, Sorting
Link: https://leetcode.com/problems/intersection-of-two-arrays
Title: Product Sales Analysis I
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/product-sales-analysis-i
Title: Concatenation of Array
Difficulty: Easy
Tags: Array, Simulation
Link: https://leetcode.com/problems/concatenation-of-array
Title: Flatten Binary Tree to Linked List
Difficulty: Medium
Tags: Linked List, Stack, Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/flatten-binary-tree-to-linked-list
Title: Remove Duplicates from Sorted Array II
Difficulty: Medium
Tags: Array, Two Pointers
Link: https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii
Title: Second Highest Salary
Difficulty: Medium
Tags: Database
Link: https://leetcode.com/problems/second-highest-salary
Title: Set Matrix Zeroes
Difficulty: Medium
Tags: Array, Hash Table, Matrix
Link: https://leetcode.com/problems/set-matrix-zeroes
Title: Binary Tree Inorder Traversal
Difficulty: Easy
Tags: Stack, Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/binary-tree-inorder-traversal
Title: Valid Palindrome
Difficulty: Easy
Tags: Two Pointers, String
Link: https://leetcode.com/problems/valid-palindrome
Title: Ransom Note
Difficulty: Easy
Tags: Hash Table, String, Counting
Link: https://leetcode.com/problems/ransom-note
Title: Maximum Product Subarray
Difficulty: Medium
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/maximum-product-subarray
Title: Validate Binary Search Tree
Difficulty: Medium
Tags: Tree, Depth-First Search, Binary Search Tree, Binary Tree
Link: https://leetcode.com/problems/validate-binary-search-tree
Title: Delete the Middle Node of a Linked List
Difficulty: Medium
Tags: Linked List, Two Pointers
Link: https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list
Title: Unique Number of Occurrences
Difficulty: Easy
Tags: Array, Hash Table
Link: https://leetcode.com/problems/unique-number-of-occurrences
Title: Next Greater Element I
Difficulty: Easy
Tags: Array, Hash Table, Stack, Monotonic Stack
Link: https://leetcode.com/problems/next-greater-element-i
Title: Implement Queue using Stacks
Difficulty: Easy
Tags: Stack, Design, Queue
Link: https://leetcode.com/problems/implement-queue-using-stacks
Title: Average Selling Price
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/average-selling-price
Title: Min Stack
Difficulty: Medium
Tags: Stack, Design
Link: https://leetcode.com/problems/min-stack
Title: Missing Number
Difficulty: Easy
Tags: Array, Hash Table, Math, Binary Search, Bit Manipulation, Sorting
Link: https://leetcode.com/problems/missing-number
Title: Majority Element II
Difficulty: Medium
Tags: Array, Hash Table, Sorting, Counting
Link: https://leetcode.com/problems/majority-element-ii
Title: Path Sum
Difficulty: Easy
Tags: Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/path-sum
Title: Binary Tree Zigzag Level Order Traversal
Difficulty: Medium
Tags: Tree, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
Title: Combination Sum II
Difficulty: Medium
Tags: Array, Backtracking
Link: https://leetcode.com/problems/combination-sum-ii
Title: Fibonacci Number
Difficulty: Easy
Tags: Math, Dynamic Programming, Recursion, Memoization
Link: https://leetcode.com/problems/fibonacci-number
Title: Integer to Roman
Difficulty: Medium
Tags: Hash Table, Math, String
Link: https://leetcode.com/problems/integer-to-roman
Title: Binary Tree Maximum Path Sum
Difficulty: Hard
Tags: Dynamic Programming, Tree, Depth-First Search, Binary Tree
Link: https://leetcode.com/problems/binary-tree-maximum-path-sum
Title: Kth Smallest Element in a BST
Difficulty: Medium
Tags: Tree, Depth-First Search, Binary Search Tree, Binary Tree
Link: https://leetcode.com/problems/kth-smallest-element-in-a-bst
Title: Employee Bonus
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/employee-bonus
Title: Can Place Flowers
Difficulty: Easy
Tags: Array, Greedy
Link: https://leetcode.com/problems/can-place-flowers
Title: Binary Tree Right Side View
Difficulty: Medium
Tags: Tree, Depth-First Search, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/binary-tree-right-side-view
Title: Binary Tree Level Order Traversal
Difficulty: Medium
Tags: Tree, Breadth-First Search, Binary Tree
Link: https://leetcode.com/problems/binary-tree-level-order-traversal
Title: Best Time to Buy and Sell Stock II
Difficulty: Medium
Tags: Array, Dynamic Programming, Greedy
Link: https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
Title: Replace Employee ID With The Unique Identifier
Difficulty: Easy
Tags: Database
Link: https://leetcode.com/problems/replace-employee-id-with-the-unique-identifier
Title: Binary Search
Difficulty: Easy
Tags: Array, Binary Search
Link: https://leetcode.com/problems/binary-search
Title: Continuous Subarray Sum
Difficulty: Medium
Tags: Array, Hash Table, Math, Prefix Sum
Link: https://leetcode.com/problems/continuous-subarray-sum
Title: Replace Words
Difficulty: Medium
Tags: Array, Hash Table, String, Trie
Link: https://leetcode.com/problems/replace-words
Title: Hand of Straights
Difficulty: Medium
Tags: Array, Hash Table, Greedy, Sorting
Link: https://leetcode.com/problems/hand-of-straights
Title: Minimum Time to Finish the Race
Difficulty: Hard
Tags: Array, Dynamic Programming
Link: https://leetcode.com/problems/minimum-time-to-finish-the-race