Recent interview Questions for Amazon
Prepare better for google
if you want to save time even more SUBSCRIBE to get questions from most frequently asked to least
- Number of Ways to Reorder Array to Get Same BST
- Minimum Cost For Tickets
- Merge Two 2D Arrays by Summing Values
- Watering Plants II
- Rotated Digits
- Peak Index in a Mountain Array
- Subarray Sums Divisible by K
- Encode String with Shortest Length
- Shortest Path to Get Food
- The Maze III
- Redundant Connection
- Compare Strings by Frequency of the Smallest Character
- 01 Matrix
- Check if the Sentence Is Pangram
- Reordered Power of 2
- Minimum Cost to Connect Sticks
- Sum of Mutated Array Closest to Target
- Longest Repeating Substring
- Swap Adjacent in LR String
- All Paths from Source Lead to Destination
- Running Sum of 1d Array
- Distinct Subsequences II
- Minimum Flips in Binary Tree to Get Result
- Evaluate Division
- Unique Paths
- Permutations II
- Network Delay Time
- Binary Tree Longest Consecutive Sequence II
- Number of Recent Calls
- Avoid Flood in The City
- Escape the Spreading Fire
- Maximum Non Negative Product in a Matrix
- Find Median from Data Stream
- Longest Word in Dictionary through Deleting
- Minimize Max Distance to Gas Station
- Missing Number
- Contains Duplicate
- Push Dominoes
- Rotate Image
- Erect the Fence
- Longest Absolute File Path
- Serialize and Deserialize Binary Tree
- Linked List Random Node
- Permutation Sequence
- N-Queens II
- Minimum Number of Operations to Move All Balls to Each Box
- Range Sum of BST
- My Calendar I
- Create Binary Tree From Descriptions
- Build a Matrix With Conditions
- Recover Binary Search Tree
- Recyclable and Low Fat Products
- Exam Room
- All People Report to the Given Manager
- Maximum Beauty of an Array After Applying Operation
- Rising Temperature
- N-ary Tree Preorder Traversal
- Random Pick with Weight
- Map of Highest Peak
- Largest Time for Given Digits
- Remove All Adjacent Duplicates In String
- Maximum Score After Splitting a String
- Find if Path Exists in Graph
- Degree of an Array
- Daily Temperatures
- Odd Even Linked List
- Remove Element
- Richest Customer Wealth
- Super Ugly Number
- K-diff Pairs in an Array
- Minimum Area Rectangle
- Valid Phone Numbers
- Find the Most Competitive Subsequence
- Count of Smaller Numbers After Self
- Find Duplicate File in System
- Game of Life
- Insert Interval
- Create Hello World Function
- Maximum XOR With an Element From Array
- Group Shifted Strings
- Build Binary Expression Tree From Infix Expression
- Number of Digit One
- Product of Array Except Self
- Shuffle an Array
- Encode and Decode TinyURL
- Minimum Increment Operations to Make Array Beautiful
- Trapping Rain Water II
- Recover the Original Array
- Best Time to Buy and Sell Stock with Cooldown
- Minimum Path Sum
- Group Anagrams
- Number of Longest Increasing Subsequence
- Find All Possible Recipes from Given Supplies
- Partition Equal Subset Sum
- Count Number of Distinct Integers After Reverse Operations
- Letter Tile Possibilities
- K Inverse Pairs Array
- Minimum Absolute Difference Between Elements With Constraint
- Maximum Length of Semi-Decreasing Subarrays
- Regular Expression Matching
- Average Time of Process per Machine
- Strong Password Checker
- Find Words That Can Be Formed by Characters
- Merge Sorted Array
- Robot Return to Origin
- Shuffle the Array
- Sort an Array
- Frog Jump II
- Smallest Good Base
- Pacific Atlantic Water Flow
- Maximum Font to Fit a Sentence in a Screen
- Campus Bikes
- Employee Importance
- Correct a Binary Tree
- The Earliest and Latest Rounds Where Players Compete
- Create Maximum Number
- Flood Fill
- Design HashMap
- Lonely Pixel I
- Find All Duplicates in an Array
- Basic Calculator III
- Clone Graph
- Path Sum
- Maximum Employees to Be Invited to a Meeting
- Last Day Where You Can Still Cross
- Largest Submatrix With Rearrangements
- Number of Islands II
- Valid Palindrome II
- Shortest Path with Alternating Colors
- Maximum Score Words Formed by Letters
- Find Winner on a Tic Tac Toe Game
- Find Distance in a Binary Tree
- Longest Arithmetic Subsequence
- Reorganize String
- Heaters
- Subsets
- Minimum Time to Build Blocks
- Binary Tree Right Side View
- Optimal Account Balancing
- All Possible Full Binary Trees
- Two Sum II - Input Array Is Sorted
- Find K-th Smallest Pair Distance
- Checking Existence of Edge Length Limited Paths II
- Relative Sort Array
- Bricks Falling When Hit
- Reverse String
- Pizza With 3n Slices
- Count Good Numbers
- Complete Binary Tree Inserter
- Tiling a Rectangle with the Fewest Squares
- Flatten a Multilevel Doubly Linked List
- Longest Common Subsequence Between Sorted Arrays
- Palindrome Linked List
- Design an Expression Tree With Evaluate Function
- Reverse Nodes in k-Group
- Single Number
- Largest Triangle Area
- Longest Palindromic Subsequence
- Path Sum III
- Freedom Trail
- Queries on Number of Points Inside a Circle
- Validate Binary Search Tree
- Lowest Common Ancestor of a Binary Search Tree
- Consecutive Characters
- Longest Mountain in Array
- Battleships in a Board
- Defanging an IP Address
- Increasing Order Search Tree
- Closest Binary Search Tree Value II
- Shopping Offers
- Minimum Operations to Reduce X to Zero
- Number of Flowers in Full Bloom
- Check if Number Has Equal Digit Count and Digit Value
- Sum of Distances in Tree
- Largest Substring Between Two Equal Characters
- Minimum Insertion Steps to Make a String Palindrome
- Dungeon Game
- Super Egg Drop
- Number of Matching Subsequences
- People Whose List of Favorite Companies Is Not a Subset of Another List
- Maximum Swap
- Rotate Array
- Longest Arithmetic Subsequence of Given Difference
- Maximum Number of K-Divisible Components
- Shortest Subarray with Sum at Least K
- Maximum Side Length of a Square with Sum Less than or Equal to Threshold
- Rank Transform of an Array
- Split Two Strings to Make Palindrome
- Grumpy Bookstore Owner
- Sqrt(x)
- Check if Word Can Be Placed In Crossword
- Validate Stack Sequences
- Next Greater Element III
- Symmetric Tree
- All O`one Data Structure
- Count Pairs in Two Arrays
- Unique Email Addresses
- Minimize Product Sum of Two Arrays
- Fibonacci Number
- Binary Tree Inorder Traversal
- Minimum Number of Operations to Reinitialize a Permutation
- Smallest Subsequence of Distinct Characters
- Word Subsets
- Water and Jug Problem
- Design Linked List
- Number of Ways to Form a Target String Given a Dictionary
- Delete Leaves With a Given Value
- Trapping Rain Water
- Combination Sum
- Find the Celebrity
- Decode Ways
- Maximum Level Sum of a Binary Tree
- Removing Minimum Number of Magic Beans
- Power of Three
- 4 Keys Keyboard
- Construct Binary Tree from Preorder and Postorder Traversal
- Maximum Depth of Binary Tree
- Design Skiplist
- Minimize Malware Spread
- My Calendar III
- Search in Rotated Sorted Array
- Maximum Value of K Coins From Piles
- LRU Cache
- Letter Combinations of a Phone Number
- Score of Parentheses
- Continuous Subarray Sum
- Count Numbers with Unique Digits
- Lonely Pixel II
- Count Words Obtained After Adding a Letter
- Remove Duplicates from Sorted Array
- Maximum Width Ramp
- Delete Duplicate Folders in System
- Longest Line of Consecutive One in Matrix
- Max Points on a Line
- Top K Frequent Words
- Moving Average from Data Stream
- Maximum Profit in Job Scheduling
- Snapshot Array
- Strange Printer
- Longest Valid Parentheses
- Boats to Save People
- Rotting Oranges
- Escape a Large Maze
- Binary String With Substrings Representing 1 To N
- Circle and Rectangle Overlapping
- Find Target Indices After Sorting Array
- Number of Ways to Divide a Long Corridor
- Number of Visible People in a Queue
- Longest Substring with At Most Two Distinct Characters
- Remove Duplicates from Sorted List
- Single Number II
- Matchsticks to Square
- Maximum Population Year
- Special Array With X Elements Greater Than or Equal X
- Alphabet Board Path
- Best Time to Buy and Sell Stock II
- Minimum Distance Between BST Nodes
- Jump Game II
- Find Champion I
- Erect the Fence II
- Fair Distribution of Cookies
- Binary Tree Level Order Traversal
- Valid Square
- Maximum Strictly Increasing Cells in a Matrix
- Confusing Number II
- Maximum Vacation Days
- Same Tree
- Number of Good Leaf Nodes Pairs
- Backspace String Compare
- Roman to Integer
- Count Submatrices With All Ones
- Maximum Average Subarray II
- Bold Words in String
- Course Schedule
- Convex Polygon
- Remove Comments
- Subarray With Elements Greater Than Varying Threshold
- Destroying Asteroids
- Maximum Number of Points with Cost
- Vertical Order Traversal of a Binary Tree
- Student Attendance Record I
- Number of Zero-Filled Subarrays
- Target Sum
- Interval List Intersections
- Stickers to Spell Word
- All Elements in Two Binary Search Trees
- Remove Outermost Parentheses
- Design Circular Queue
- Random Point in Non-overlapping Rectangles
- Number of Valid Clock Times
- Check if a Parentheses String Can Be Valid
- Delete Columns to Make Sorted II
- Minimum Replacements to Sort the Array
- Flower Planting With No Adjacent
- Binary Subarrays With Sum
- Sliding Window Median
- Task Scheduler
- Interleaving String
- Guess Number Higher or Lower II
- Buddy Strings
- Merge Similar Items
- Number of Beautiful Partitions
- Longest Continuous Increasing Subsequence
- Minimize Hamming Distance After Swap Operations
- Where Will the Ball Fall
- Stream of Characters
- Find the Winner of the Circular Game
- Department Highest Salary
- Sort List
- Nim Game
- Array Prototype Last
- Palindrome Permutation
- New 21 Game
- Count Fertile Pyramids in a Land
- 24 Game
- Find All Anagrams in a String
- Longest Chunked Palindrome Decomposition
- Longest Uncommon Subsequence II
- Fancy Sequence
- Sentence Similarity
- Minimum White Tiles After Covering With Carpets
- Best Time to Buy and Sell Stock III
- Unique Binary Search Trees
- Median of Two Sorted Arrays
- Find And Replace in String
- Partition List
- Most Stones Removed with Same Row or Column
- Nth Magical Number
- Bomb Enemy
- Find and Replace Pattern
- Summary Ranges
- Guess the Word
- Subtree of Another Tree
- Majority Element II
- Shortest Bridge
- Combinations
- Single Element in a Sorted Array
- Longest Univalue Path
- Duplicate Zeros
- Wiggle Sort II
- Queue Reconstruction by Height
- Substring with Concatenation of All Words
- Minimum Space Wasted From Packaging
- Count Positions on Street With Required Brightness
- Max Consecutive Ones III
- Valid Mountain Array
- Minimum Lines to Represent a Line Chart
- Path with Maximum Probability
- Distance Between Bus Stops
- Island Perimeter
- Binary Tree Zigzag Level Order Traversal
- Largest Color Value in a Directed Graph
- Rings and Rods
- Design HashSet
- Count Houses in a Circular Street
- Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
- Continuous Subarrays
- Find Two Non-overlapping Sub-arrays Each With Target Sum
- Maximal Square
- Maximum Distance Between a Pair of Values
- Search a 2D Matrix II
- Champagne Tower
- Counting Words With a Given Prefix
- Univalued Binary Tree
- Stamping the Grid
- Department Top Three Salaries
- Parallel Courses III
- Minimum Operations to Make a Subsequence
- Minimum Interval to Include Each Query
- Course Schedule III
- Minimum Absolute Difference in BST
- Integer Replacement
- Integer to English Words
- Redundant Connection II
- Knight Dialer
- Find a Peak Element II
- Minimum Operations to Convert Number
- Remove Max Number of Edges to Keep Graph Fully Traversable
- The Maze II
- Minimum Number of Flips to Make the Binary String Alternating
- Maximum Number of Visible Points
- Process Tasks Using Servers
- Divide Chocolate
- Construct Binary Tree from Preorder and Inorder Traversal
- Reverse Linked List II
- Search in a Binary Search Tree
- Range Module
- Number of Provinces
- Max Chunks To Make Sorted
- Jump Game III
- Find Unique Binary String
- Remove Duplicates from Sorted Array II
- Poor Pigs
- Longest Substring Without Repeating Characters
- Find Original Array From Doubled Array
- Largest Values From Labels
- Minimum Adjacent Swaps to Reach the Kth Smallest Number
- Repeated DNA Sequences
- Implement Stack using Queues
- Bulls and Cows
- Satisfiability of Equality Equations
- Reconstruct Itinerary
- Maximize Distance to Closest Person
- K Empty Slots
- Most Frequent Number Following Key In an Array
- Path with Maximum Gold
- Different Ways to Add Parentheses
- Change Minimum Characters to Satisfy One of Three Conditions
- Find All Lonely Numbers in the Array
- Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
- Maximum Sum Circular Subarray
- Top K Frequent Elements
- Permutation in String
- Monotonic Array
- Implement Magic Dictionary
- Sort Characters By Frequency
- Guess Number Higher or Lower
- Check if There is a Path With Equal Number of 0's And 1's
- Count Pairs of Equal Substrings With Minimum Difference
- String to Integer (atoi)
- Counting Bits
- Occurrences After Bigram
- Last Moment Before All Ants Fall Out of a Plank
- Maximum AND Sum of Array
- Minimum Speed to Arrive on Time
- Pairs of Songs With Total Durations Divisible by 60
- Maximum Product Subarray
- Arithmetic Slices
- Number of Atoms
- Removing Minimum and Maximum From Array
- Robot Room Cleaner
- Reverse Integer
- Minimum Window Substring
- Read N Characters Given read4 II - Call Multiple Times
- Count Subarrays With More Ones Than Zeros
- Evaluate Boolean Binary Tree
- Find Customers With Positive Revenue this Year
- Repeated Substring Pattern
- Detect Squares
- Minimum Moves to Move a Box to Their Target Location
- Merge Two Sorted Lists
- Minimum Obstacle Removal to Reach Corner
- Word Break
- Merge k Sorted Lists
- Split BST
- All Paths From Source to Target
- Jump Game
- Number of Subsequences That Satisfy the Given Sum Condition
- Plus One Linked List
- Partition Labels
- Diameter of Binary Tree
- Minimum Knight Moves
- Lowest Common Ancestor of a Binary Tree III
- Sliding Window Maximum
- Matrix Block Sum
- Watering Plants
- Excel Sheet Column Title
- Parallel Courses II
- Number of Submatrices That Sum to Target
- The k Strongest Values in an Array
- Maximum Number of Words Found in Sentences
- Bag of Tokens
- Subsets II
- Min Cost Climbing Stairs
- Count and Say
- Construct Binary Tree from Inorder and Postorder Traversal
- Edit Distance
- Number of Days Between Two Dates
- Valid Perfect Square
- Minimum Remove to Make Valid Parentheses
- Arithmetic Subarrays
- Patching Array
- Concatenation of Array
- Maximum Points You Can Obtain from Cards
- Remove Invalid Parentheses
- K-Similar Strings
- Coin Path
- Path With Maximum Minimum Value
- Minimum Time to Finish the Race
- Coin Change II
- Next Greater Element II
- Similar RGB Color
- Copy List with Random Pointer
- Flatten Nested List Iterator
- Flip String to Monotone Increasing
- Number of Good Pairs
- Rank Scores
- Number Complement
- Graph Valid Tree
- Replace All Digits with Characters
- Container With Most Water
- Find the Subtasks That Did Not Execute
- Longest Palindrome by Concatenating Two Letter Words
- Maximum Candies Allocated to K Children
- Longest Uploaded Prefix
- Smallest Rectangle Enclosing Black Pixels
- Paint House III
- Happy Number
- All Nodes Distance K in Binary Tree
- Expression Add Operators
- Number of Restricted Paths From First to Last Node
- Valid Tic-Tac-Toe State
- Largest Rectangle in Histogram
- Longest Binary Subsequence Less Than or Equal to K
- Minimum Distance to Type a Word Using Two Fingers
- Minimum Absolute Difference
- Next Closest Time
- Additive Number
- Smallest Index With Equal Value
- Closest Binary Search Tree Value
- Minimum Cost to Hire K Workers
- X of a Kind in a Deck of Cards
- Is Subsequence
- Sentence Screen Fitting
- Largest Divisible Subset
- Shortest Path Visiting All Nodes
- Special Positions in a Binary Matrix
- Online Stock Span
- Make The String Great
- Set Matrix Zeroes
- Count Ways to Distribute Candies
- Reverse Bits
- Longest String Chain
- Decrease Elements To Make Array Zigzag
- Remove Nth Node From End of List
- Coin Change
- Decode String
- Count Primes
- Binary Tree Cameras
- Number of Ways to Build Sturdy Brick Wall
- Distinct Subsequences
- Reverse Words in a String
- Minimum Cost to Cut a Stick
- Shortest Path in a Grid with Obstacles Elimination
- Minimum Absolute Difference Queries
- Largest Number At Least Twice of Others
- Alien Dictionary
- Cinema Seat Allocation
- Logger Rate Limiter
- Minimum Add to Make Parentheses Valid
- Regions Cut By Slashes
- Word Ladder II
- Flatten Binary Tree to Linked List
- Kth Largest Element in an Array
- Couples Holding Hands
- Valid Number
- Minimum Depth of Binary Tree
- Minimum Number of Days to Make m Bouquets
- Sender With Largest Word Count
- Longest Uncommon Subsequence I
- Implement Trie (Prefix Tree)
- Combination Sum IV
- Count Binary Substrings
- Random Flip Matrix
- Lowest Common Ancestor of a Binary Tree
- Count Subarrays With Median K
- 4Sum
- Restore IP Addresses
- Maximal Rectangle
- Single-Row Keyboard
- Plus One
- Minimum Time Difference
- Design Most Recently Used Queue
- Cat and Mouse
- Number of Dice Rolls With Target Sum
- Delete Columns to Make Sorted
- Booking Concert Tickets in Groups
- Single-Threaded CPU
- Two Sum
- Minimum Number of Arrows to Burst Balloons
- Race Car
- Minimum Falling Path Sum II
- Fraction to Recurring Decimal
- Shortest Path in Binary Matrix
- As Far from Land as Possible
- Range Sum Query - Mutable
- Shortest Word Distance II
- Max Consecutive Ones
- Valid Word Square
- Ugly Number II
- Minimum Unique Word Abbreviation
- Find Latest Group of Size M
- Find the Duplicate Number
- Word Ladder
- Capacity To Ship Packages Within D Days
- Longest Substring with At Most K Distinct Characters
- Determine if Two Strings Are Close
- House Robber
- Intersection of Two Arrays
- Random Pick with Blacklist
- Find Anagram Mappings
- Domino and Tromino Tiling
- Simplified Fractions
- Insert Delete GetRandom O(1)
- License Key Formatting
- Longest Nice Substring
- Camelcase Matching
- Isomorphic Strings
- Non-overlapping Intervals
- Minimum Path Cost in a Grid
- Maximum Width of Binary Tree
- Maximum Score After Applying Operations on a Tree
- First Bad Version
- Minimum Time to Complete Trips
- Implement Queue using Stacks
- Find Positive Integer Solution for a Given Equation
- Meeting Rooms II
- Best Sightseeing Pair
- Partition to K Equal Sum Subsets
- Max Area of Island
- Remove Sub-Folders from the Filesystem
- Car Fleet
- Divide Array in Sets of K Consecutive Numbers
- Walls and Gates
- Binary Search Tree Iterator
- Form Largest Integer With Digits That Add up to Target
- Design Add and Search Words Data Structure
- Swim in Rising Water
- Arranging Coins
- Matrix Diagonal Sum
- Shortest Distance to Target Color
- Hand of Straights
- Integer Break
- Perfect Rectangle
- N-Queens
- Minimum Number of Vertices to Reach All Nodes
- Multiply Strings
- Search a 2D Matrix
- Cherry Pickup
- Binary Tree Vertical Order Traversal
- Car Pooling
- Combine Two Tables
- Count Unique Characters of All Substrings of a Given String
- Parallel Courses
- Unique Paths II
- Text Justification
- Cherry Pickup II
- Longest Common Prefix
- Print in Order
- Best Meeting Point
- Maximum Number of Ways to Partition an Array
- Count Number of Rectangles Containing Each Point
- Length of Last Word
- Find All Good Strings
- Cracking the Safe
- Palindrome Number
- Repeated String Match
- Find First and Last Position of Element in Sorted Array
- Find Servers That Handled Most Number of Requests
- Remove All Ones With Row and Column Flips
- First Unique Character in a String
- Remove 9
- Diagonal Traverse II
- Put Boxes Into the Warehouse II
- Check If a String Contains All Binary Codes of Size K
- Maximum Number of Accepted Invitations
- Checking Existence of Edge Length Limited Paths
- Merge Intervals
- Words Within Two Edits of Dictionary
- Design Video Sharing Platform
- 3Sum Smaller
- Populating Next Right Pointers in Each Node II
- Jump Game VI
- Brick Wall
- Tree Diameter
- Ones and Zeroes
- Design A Leaderboard
- Find the Closest Palindrome
- Combination Sum II
- Insertion Sort List
- Gas Station
- Largest Local Values in a Matrix
- Design Browser History
- The K Weakest Rows in a Matrix
- Distinct Echo Substrings
- Nth Digit
- Shortest Impossible Sequence of Rolls
- All Ancestors of a Node in a Directed Acyclic Graph
- Nearest Exit from Entrance in Maze
- Sum of Beauty of All Substrings
- Kth Smallest Subarray Sum
- Strings Differ by One Character
- Product of the Last K Numbers
- Unique Number of Occurrences
- Remove All Ones With Row and Column Flips II
- Differences Between Two Objects
- Longest Consecutive Sequence
- Split Array Largest Sum
- Find Pivot Index
- Check If N and Its Double Exist
- Meeting Scheduler
- Evaluate the Bracket Pairs of a String
- String Transformation
- Pow(x, n)
- Largest Component Size by Common Factor
- Deepest Leaves Sum
- Move Pieces to Obtain a String
- K Closest Points to Origin
- Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
- Minimum Number of Work Sessions to Finish the Tasks
- The Earliest Moment When Everyone Become Friends
- Find All K-Distant Indices in an Array
- Non-decreasing Array
- Zigzag Conversion
- Number of Substrings With Only 1s
- Minimum Number of Operations to Convert Time
- Time Needed to Inform All Employees
- Scramble String
- Flipping an Image
- Ambiguous Coordinates
- Average Salary Excluding the Minimum and Maximum Salary
- Minimum Area Rectangle II
- Longest Substring with At Least K Repeating Characters
- Unique Word Abbreviation
- Range Sum Query 2D - Mutable
- Number of Unique Good Subsequences
- Finding MK Average
- Largest Sum of Averages
- Finding the Number of Visible Mountains
- Find Kth Largest XOR Coordinate Value
- Lexicographically Smallest Beautiful String
- Remove K Digits
- Check If String Is Transformable With Substring Sort Operations
- Count Square Submatrices with All Ones
- Single Number III
- Most Profitable Path in a Tree
- Replace Words
- Invert Binary Tree
- Minimum Difference Between Largest and Smallest Value in Three Moves
- Delete Operation for Two Strings
- Smallest Number in Infinite Set
- Delete Columns to Make Sorted III
- Minimum Size Subarray Sum
- Process Restricted Friend Requests
- K-th Symbol in Grammar
- Subarrays with K Different Integers
- Shortest Palindrome
- Design an ATM Machine
- Shortest Completing Word
- Count Unreachable Pairs of Nodes in an Undirected Graph
- Russian Doll Envelopes
- Serialize and Deserialize N-ary Tree
- Max Number of K-Sum Pairs
- Parsing A Boolean Expression
- Range Sum of Sorted Subarray Sums
- Can Place Flowers
- Super Palindromes
- Amount of New Area Painted Each Day
- Find the Difference
- Design In-Memory File System
- Two Sum IV - Input is a BST
- Count K-Subsequences of a String With Maximum Beauty
- Mean of Array After Removing Some Elements
- Fizz Buzz
- Word Search
- Minimum Jumps to Reach Home
- Max Sum of Rectangle No Larger Than K
- Count Servers that Communicate
- Sort Colors
- Minimum Falling Path Sum
- Move Zeroes
- Longest Happy Prefix
- Filling Bookcase Shelves
- Car Fleet II
- Next Permutation
- Find Champion II
- Minimum Number of Increments on Subarrays to Form a Target Array
- Odd Even Jump
- Reverse Words in a String III
- Add Strings
- Fruit Into Baskets
- Largest Number
- Expressive Words
- The Maze
- Substrings That Begin and End With the Same Letter
- Merge Triplets to Form Target Triplet
- Excel Sheet Column Number
- Linked List Cycle
- Decode XORed Array
- Count Asterisks
- Number of Music Playlists
- Max Increase to Keep City Skyline
- Beautiful Array
- Missing Ranges
- Median Employee Salary
- Inorder Successor in BST
- Time Based Key-Value Store
- Longest Word in Dictionary
- Jump Game IV
- Numbers With Repeated Digits
- Frog Jump
- Strange Printer II
- Delete Node in a Linked List
- Distribute Coins in Binary Tree
- Add Bold Tag in String
- All Divisions With the Highest Score of a Binary Array
- Path With Minimum Effort
- Maximum Length of Repeated Subarray
- Merge Strings Alternately
- Remove Duplicate Letters
- Perfect Number
- Height of Binary Tree After Subtree Removal Queries
- Line Reflection
- Minimum Cost to Change the Final Value of Expression
- Big Countries
- Design Snake Game
- Minimum Cost to Make Array Equal
- Closest Node to Path in Tree
- Change the Root of a Binary Tree
- Sudoku Solver
- Online Election
- Eliminate Maximum Number of Monsters
- Palindrome Partitioning
- Kth Smallest Element in a BST
- Find the Difference of Two Arrays
- UTF-8 Validation
- 4Sum II
- Paths in Maze That Lead to Same Room
- Convert Sorted List to Binary Search Tree
- Build an Array With Stack Operations
- Search Suggestions System
- Minimum Cost to Set Cooking Time
- Custom Sort String
- LFU Cache
- Shortest Unsorted Continuous Subarray
- Strobogrammatic Number II
- Cat and Mouse II
- Pascal's Triangle
- Is Graph Bipartite?
- Longest Word With All Prefixes
- Word Search II
- 3Sum Closest
- Sort Transformed Array
- Count Prefixes of a Given String
- Number of Boomerangs
- Image Overlap
- Describe the Painting
- Closest Nodes Queries in a Binary Search Tree
- Divide Two Integers
- Binary Tree Preorder Traversal
- Find Peak Element
- Confusing Number
- Valid Parentheses
- Array of Doubled Pairs
- Kids With the Greatest Number of Candies
- Reverse String II
- Design Compressed String Iterator
- Move Sub-Tree of N-Ary Tree
- Number of 1 Bits
- Minimum Number of Days to Eat N Oranges
- Contains Duplicate III
- Unique Binary Search Trees II
- Student Attendance Record II
- Dot Product of Two Sparse Vectors
- Kth Smallest Element in a Sorted Matrix
- Reaching Points
- Wiggle Sort
- Find All People With Secret
- The Latest Time to Catch a Bus
- Integer to Roman
- Positions of Large Groups
- How Many Numbers Are Smaller Than the Current Number
- Convert a Number to Hexadecimal
- Minimum Window Subsequence
- Design Twitter
- Prefix and Suffix Search
- Max Value of Equation
- Element Appearing More Than 25% In Sorted Array
- Find Minimum in Rotated Sorted Array II
- Find the Safest Path in a Grid
- Add Two Numbers
- Kth Largest Element in a Stream
- Unique Morse Code Words
- Min Stack
- Populating Next Right Pointers in Each Node
- Count Good Triplets
- Extract Kth Character From The Rope Tree
- Search Insert Position
- Complement of Base 10 Integer
- Output Contest Matches
- Increasing Triplet Subsequence
- Meeting Rooms
- Generalized Abbreviation
- Remove Covered Intervals
- Find Elements in a Contaminated Binary Tree
- Accounts Merge
- Tree of Coprimes
- Strobogrammatic Number
- Magical String
- Diagonal Traverse
- Count Nodes Equal to Average of Subtree
- Reverse Linked List
- Split Array into Consecutive Subsequences
- Maximum Sum of 3 Non-Overlapping Subarrays
- The Most Similar Path in a Graph
- Detonate the Maximum Bombs
- Rank Transform of a Matrix
- Count Pairs of Points With Distance k
- Closest Dessert Cost
- Contains Duplicate II
- Increment Submatrices by One
- Word Break II
- First Missing Positive
- Longest Common Subsequence
- Cheapest Flights Within K Stops
- Bitwise AND of Numbers Range
- Rearrange String k Distance Apart
- Valid Sudoku
- Smallest String With Swaps
- Balanced Binary Tree
- Combination Sum III
- First Letter to Appear Twice
- Partition Array Into Two Arrays to Minimize Sum Difference
- Remove Zero Sum Consecutive Nodes from Linked List
- Count Good Nodes in Binary Tree
- Product Price at a Given Date
- Best Time to Buy and Sell Stock
- String Compression
- Palindrome Pairs
- Linked List Cycle II
- Operations on Tree
- Palindromic Substrings
- House Robber II
- Asteroid Collision
- Hamming Distance
- Relative Ranks
- Minimum Cost to Make at Least One Valid Path in a Grid
- Numbers With Same Consecutive Differences
- Best Time to Buy and Sell Stock IV
- Design a Text Editor
- Determine if Two Events Have Conflict
- Split a String Into the Max Number of Unique Substrings
- Partition Array According to Given Pivot
- Search in a Sorted Array of Unknown Size
- Pyramid Transition Matrix
- Shortest Common Supersequence
- Find Nearest Right Node in Binary Tree
- Minimum Time to Remove All Cars Containing Illegal Goods
- Maximum Performance of a Team
- Binary Tree Paths
- Minimum Number of Swaps to Make the Binary String Alternating
- Count Pairs With XOR in a Range
- Minimum Height Trees
- Longest Increasing Path in a Matrix
- Longest Palindromic Substring
- Maximum White Tiles Covered by a Carpet
- Maximum XOR of Two Numbers in an Array
- Decompress Run-Length Encoded List
- Permutations
- Basic Calculator
- House Robber III
- Sentence Similarity III
- Random Pick Index
- Valid Word Abbreviation
- Check if There Is a Valid Parentheses String Path
- Sentence Similarity II
- Snakes and Ladders
- Predict the Winner
- Meeting Rooms III
- Koko Eating Bananas
- Smallest Integer Divisible by K
- Path Sum II
- My Calendar II
- Nested List Weight Sum
- Unique Paths III
- Magic Squares In Grid
- Minimize Maximum Pair Sum in Array
- Design Search Autocomplete System
- Flatten 2D Vector
- Find All Numbers Disappeared in an Array
- Frog Position After T Seconds
- Ransom Note
- Valid Boomerang
- Sort Array by Moving Items to Empty Space
- Shortest Way to Form String
- Count Number of Bad Pairs
- Throne Inheritance
- Sum of Imbalance Numbers of All Subarrays
- Largest Subarray Length K
- Find the Index of the First Occurrence in a String
- Binary Search
- Cutting Ribbons
- Word Squares
- Find Eventual Safe States
- Reverse Only Letters
- Max Chunks To Make Sorted II
- Word Abbreviation
- Find Closest Number to Zero
- Check if There is a Valid Partition For The Array
- Valid Palindrome
- Distribute Repeating Integers
- Find Customer Referee
- Delete Nodes And Return Forest
- Maximum Number of Events That Can Be Attended
- Design Excel Sum Formula
- Minimum Domino Rotations For Equal Row
- Binary Trees With Factors
- Furthest Building You Can Reach
- Delete and Earn
- Possible Bipartition
- Brace Expansion II
- Sequence Reconstruction
- Design Hit Counter
- Encode and Decode Strings
- Maximum Split of Positive Even Integers
- Maximum Number of Groups Getting Fresh Donuts
- Make Number of Distinct Characters Equal
- Maximum Score From Removing Stones
- Maximum Subarray
- Binary Tree Coloring Game
- Latest Time by Replacing Hidden Digits
- Range Frequency Queries
- Maximum Score From Removing Substrings
- Merge In Between Linked Lists
- Valid Parenthesis String
- Minimum Number of Refueling Stops
- Minimum Sum of Four Digit Number After Splitting Digits
- Shuffle String
- Maximum Average Subarray I
- Number of Ways to Rearrange Sticks With K Sticks Visible
- 3Sum
- Construct Quad Tree
- Maximum Product of Word Lengths
- Count Odd Numbers in an Interval Range
- Soup Servings
- RLE Iterator
- Surrounded Regions
- Next Greater Element I
- Find Mode in Binary Search Tree
- Bus Routes
- Minimum Path Cost in a Hidden Grid
- Last Stone Weight
- Find Permutation
- Number of Good Paths
- Restore the Array From Adjacent Pairs
- Paint Fence
- Longest Increasing Subsequence II
- Linked List Components
- Longest Repeating Character Replacement
- Flip Game
- Count Complete Tree Nodes
- Detect Capital
- Insert into a Sorted Circular Linked List
- Shortest Path to Get All Keys
- Longest Duplicate Substring
- Number of Islands
- Palindrome Permutation II
- Maximum Score of a Good Subarray
- Remove Interval
- Number of Enclaves
- Find in Mountain Array
- Add Binary
- Keys and Rooms
- Number of Ways of Cutting a Pizza
- Design Tic-Tac-Toe
- Minimize Maximum Value in a Grid
- Design a Number Container System
- Largest Multiple of Three
- Reverse Pairs
- The Number of Weak Characters in the Game
- Add Two Integers
- Check If Two Expression Trees are Equivalent
- Number of Pairs Satisfying Inequality
- Minimum Cost to Merge Stones
- Count Vowels Permutation
- Kth Smallest Number in Multiplication Table
- H-Index
- Valid Anagram
- Perfect Squares
- Rearrange Spaces Between Words
- DI String Match
- Squares of a Sorted Array
- Peeking Iterator
- Paths in Matrix Whose Sum Is Divisible by K
- Middle of the Linked List
- Flip Equivalent Binary Trees
- Profitable Schemes
- Minimum Cost Tree From Leaf Values
- Subarray Sum Equals K
- Build Array from Permutation
- Rank Teams by Votes
- Minimum Deletions to Make Character Frequencies Unique
- Count Subarrays With Score Less Than K
- Add Digits
- Reorder List
- Exclusive Time of Functions
- Climbing Stairs
- Number of Closed Islands
- Design Phone Directory
- Escape The Ghosts
- Binary Tree Longest Consecutive Sequence
- Reverse Vowels of a String
- Binary Tree Maximum Path Sum
- Sum of All Odd Length Subarrays
- Product Sales Analysis I
- Swap Nodes in Pairs
- Step-By-Step Directions From a Binary Tree Node to Another
- Find the City With the Smallest Number of Neighbors at a Threshold Distance
- Longest Increasing Subsequence
- One Edit Distance
- Transform to Chessboard
- Smallest String Starting From Leaf
- Optimize Water Distribution in a Village
- Minimum Consecutive Cards to Pick Up
- Zigzag Iterator
- Find K Pairs with Smallest Sums
- Generate Parentheses
- Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
- Open the Lock
- Burst Balloons
- Sort Integers by The Power Value
- Maximum Units on a Truck
- Shortest Distance from All Buildings
- Leftmost Column with at Least a One
- Insert Delete GetRandom O(1) - Duplicates allowed
- Basic Calculator II
- Find Leaves of Binary Tree
- Max Consecutive Ones II
- Prime Subtraction Operation
- Maximum Gap
- Delete Node in a BST
- String Transforms Into Another String
- Majority Element
- Count Univalue Subtrees
- Find Root of N-Ary Tree
- Binary Watch
- Candy
- Frequency of the Most Frequent Element
- Rotate List
- Divide Array Into Increasing Sequences
- Maximum Score of a Node Sequence
- Employees Earning More Than Their Managers
- Similar String Groups
- Simplify Path
- Find Valid Matrix Given Row and Column Sums
- Jump Game VII
- Minimum Skips to Arrive at Meeting On Time
- Beautiful Arrangement II
- Maximum Score from Performing Multiplication Operations
- Minimum Weighted Subgraph With the Required Paths
- Disconnect Path in a Binary Matrix by at Most One Flip
- Beautiful Arrangement
- Convert 1D Array Into 2D Array
- Number of Connected Components in an Undirected Graph
- Find K Closest Elements
- Range Addition
- Contiguous Array
- Guess the Majority in a Hidden Array
- Count Integers in Intervals
- Counter
- Wildcard Matching
- Video Stitching
- Brace Expansion
- Maximum Difference Between Node and Ancestor
- Count of Range Sum
- Longest Palindrome
- Stone Game III
- Put Boxes Into the Warehouse I
- Number of Good Ways to Split a String
- The Skyline Problem
- Painting a Grid With Three Different Colors
- Course Schedule II
- Kth Missing Positive Number
- Sum of Prefix Scores of Strings
- Strictly Palindromic Number
- Verify Preorder Serialization of a Binary Tree
- Android Unlock Patterns
- Check Completeness of a Binary Tree
- Tuple with Same Product
- Subtract the Product and Sum of Digits of an Integer
- Number of Wonderful Substrings
- Iterator for Combination
- Toeplitz Matrix
- Count All Valid Pickup and Delivery Options
- Campus Bikes II
- Article Views I
- Spiral Matrix
- Customer Placing the Largest Number of Orders
- Binary Searchable Numbers in an Unsorted Array
- Number of Ways to Stay in the Same Place After Some Steps
- Second Highest Salary
- Find Duplicate Subtrees
- Employee Free Time
- Smallest Range Covering Elements from K Lists
- Sort Array by Increasing Frequency
- Minimum Cost to Connect Two Groups of Points
- Unique Length-3 Palindromic Subsequences
- Determine if a Cell Is Reachable at a Given Time
- Remove Linked List Elements
- Kth Ancestor of a Tree Node
- Flip Game II
- Check if Array Is Sorted and Rotated
- Stock Price Fluctuation
- Power of Two
- Range Sum Query 2D - Immutable
- Evaluate Reverse Polish Notation
- Minimum Adjacent Swaps for K Consecutive Ones
- Maximum Number of Achievable Transfer Requests
- Find the Town Judge
- Making A Large Island
- Boundary of Binary Tree