2025-09-22 16:34:44 +0000 UTC
Count Elements With Maximum Frequency
Count Elements With Maximum Frequency
Design Movie Rental System
Implement Router
Design Spreadsheet
Design Task Manager
Design a Food Rating System
Replace Non-Coprime Numbers in Array
Maximum Number of Words You Can Type
Vowel Spellchecker
Find Most Frequent Vowel and Consonant
Vowels Game in a String
Sort Vowels in a String
Minimum Number of People to Teach
Number of People Aware of a Secret
Convert Integer to the Sum of Two No-Zero Integers
Minimum Operations to Equalize Array
Find N Unique Integers Sum up to Zero
Minimum Operations to Make Array Elements Zero
Minimum Operations to Make the Integer Zero
Find Closest Person
Find the Number of Ways to Place People II
Find the Number of Ways to Place People I
Maximum Average Pass Ratio
Sudoku Solver
Restore Finishing Order
Find The Least Frequent Digit
Valid Sudoku
Alice and Bob Playing Flower Game
Sort Matrix by Diagonals
Length of Longest V-Shaped Diagonal Segment
String to Integer (atoi)
Reverse Integer
Maximum Area of Longest Diagonal Rectangle
My Calendar I
Diagonal Traverse
Design Circular Queue
Serialize and Deserialize BST
Shuffle an Array
Maximum Height of a Triangle
Count the Number of Incremovable Subarrays I
GCD of Odd and Even Sums
Flip Square Submatrix Vertically
Trionic Array I
Earliest Finish Time for Land and Water Rides I
Check Divisibility by Digit Sum and Product
Coupon Code Validator
Hexadecimal and Hexatrigesimal Conversion
Hexadecimal and Hexatrigesimal Conversion
Check if Any Element Has Prime Frequency
Generate Tag for Video Caption
Find Minimum Log Transportation Cost
Smallest Index With Digit Sum Equal to Index
Minimum Deletions for At Most K Distinct Characters
Minimum Deletions for At Most K Distinct Characters
Find Most Frequent Vowel and Consonant
Maximum Product of Two Digits
Maximum Product of Two Digits
Find Closest Person
Minimum Operations to Make Array Sum Divisible by K
Minimum Pair Removal to Sort Array I
Minimum Cost to Reach Every Position
Reverse Degree of a String
Maximum Containers on a Ship
Unique 3-Digit Even Numbers
Find the Largest Almost Missing Integer
Transform Array by Parity
Check If Digits Are Equal in String After Operations I
Find Special Substring of Length K
Sum of Good Numbers
Maximum Difference Between Even and Odd Frequency I
Find Valid Pair of Adjacent Digits in String
Count Partitions with Even Sum Difference
Sum of Variable Length Subarrays
Maximum Difference Between Adjacent Elements in a Circular Array
Zigzag Grid Traversal With Skip
Maximum Subarray With Equal Products
Substring Matching Pattern
Minimum Operations to Make Columns Strictly Increasing
Minimum Number of Operations to Make Elements in Array Distinct
Count Subarrays of Length Three With a Condition
Button with Longest Push Time
Transformed Array
Smallest Number With All Set Bits
Minimum Positive Sum Subarray
Stone Removal Game
Make Array Elements Equal to Zero
Adjacent Increasing Subarrays Detection I
Smallest Divisible Digit Product I
Check Balanced String
Find the Original Typed String I
Find X-Sum of All K-Long Subarrays I
Construct the Minimum Bitwise Array I
Find the K-th Character in String Game I
Minimum Element After Replacement With Digit Sum
The Two Sneaky Numbers of Digitville
Find Indices of Stable Mountains
Convert Date to Binary
Convert Date to Binary
Check if Two Chessboard Squares Have the Same Color
Find the Key of the Numbers
Final Array State After K Multiplication Operations I
Final Array State After K Multiplication Operations I
Count Substrings That Satisfy K-Constraint I
Snake in Matrix
Find the Number of Winning Players
Longest Subarray of 1’s After Deleting One Element
Find if Digit Game Can Be Won
Number of Bit Changes to Make Two Integers Equal
Find the Minimum Area to Cover All Ones II
Find the Winning Player in Coin Game
Lexicographically Smallest String After a Swap
Find the Encrypted String
Alternating Groups I
Minimum Average of Smallest and Largest Elements
Find Minimum Operations to Make All Elements Divisible by Three
Find Minimum Operations to Make All Elements Divisible by Three
Count Pairs That Form a Complete Day I
Find the Child Who Has the Ball After K Seconds
Clear Digits
Minimum Number of Chairs in a Waiting Room
Find the Number of Good Pairs I
Find the XOR of Numbers Which Appear Twice
Special Array I
Permutation Difference between Two Strings
Check if Grid Satisfies Conditions
Valid Word
Find the Integer Added to Array I
Make a Square with the Same Color
Count the Number of Special Characters I
Latest Time You Can Obtain After Replacing Characters
Longest Strictly Increasing or Strictly Decreasing Subarray
Harshad Number
Shortest Subarray With OR at Least K I
Maximum Length Substring With Two Occurrences
Existence of a Substring in a String and Its Reverse
Find the Sum of Encrypted Integers
Apple Redistribution into Boxes
Distribute Elements Into Two Arrays I
Minimum Operations to Exceed Threshold Value I
Split the Array
Count Prefix and Suffix Pairs I
Maximum Number of Operations With the Same Score I
Modify the Matrix
Ant on the Boundary
Type of Triangle
Number of Changing Keys
Number of Changing Keys
Minimum Number of Pushes to Type Word I
Minimum Number of Pushes to Type Word I
Divide an Array Into Subarrays With Minimum Cost I
Maximum Area of Longest Diagonal Rectangle
Smallest Missing Integer Greater Than Sequential Prefix Sum
Check if Bitwise OR Has Trailing Zeros
Minimum Number Game
Find Missing and Repeated Values
Count Tested Devices After Test Operations
Find Common Elements Between Two Arrays
Find the Peaks
Matrix Similarity After Cyclic Shifts
Find Words Containing Character
Find Words Containing Character
Make Three Strings Equal
Maximum Strong Pair XOR I
Maximum Strong Pair XOR I
Maximum Strong Pair XOR I
Distribute Candies Among Children I
Find Champion I
Find the K-or of an Array
Find the Minimum Area to Cover All Ones I
Subarrays Distinct Element Sum of Squares I
Method Chaining
Reshape Data: Melt
Reshape Data: Pivot
Minimum Sum of Mountain Triplets I
Reshape Data: Concatenate
Find Indices With Index and Value Difference I
Fill Missing Data
Change Data Type
Longest Unequal Adjacent Groups Subsequence I
Rename Columns
Modify Columns
Last Visited Integers
Drop Missing Data
Divisible and Non-divisible Sums Difference
Drop Duplicate Rows
Create a New Column
Select Data
Display the First Three Rows
Get the Size of a DataFrame
Create a DataFrame from List
Maximum Value of an Ordered Triplet I
Minimum Operations to Collect Elements
Minimum Right Shifts to Sort the Array
Points That Intersect With Cars
Check if Strings Can be Made Equal With Operations I
Furthest Point From Origin
Check if a String Is an Acronym of Words
Max Pair Sum in an Array
Split Strings by Separator
Check if Array is Good
Sum of Squares of Special Elements
Sum of Squares of Special Elements
Find the Maximum Achievable Number
Longest Alternating Subarray
Longest Even Odd Subarray With Threshold
Number of Beautiful Pairs
Find Maximum Number of String Pairs
Total Distance Traveled
Neither Minimum nor Maximum
Check if The Number is Fascinating
Semi-Ordered Permutation
Minimize String Length
Remove Trailing Zeros From a String
Lexicographically Smallest Palindrome
Minimum String Length After Removing Substrings
Minimum String Length After Removing Substrings
Find the Losers of the Circular Game
Number of Senior Citizens
Find the Distinct Difference Array
Determine the Winner of a Bowling Game
Maximum Sum With Exactly K Elements
Sum Multiples
Calculate Delayed Arrival Time
Find the Maximum Divisibility Score
Row With Maximum Ones
Find the Width of Columns of a Grid
Range Sum Query - Mutable
Online Election
Walking Robot Simulation II
Number of Beautiful Integers in the Range
Minimum Seconds to Equalize a Circular Array
Longest Arithmetic Subsequence of Given Difference
Longest Arithmetic Subsequence of Given Difference
Shortest String That Contains Three Strings
Design Neighbor Sum Service
Count Submatrices With All Ones
Prime In Diagonal
Find the Longest Balanced Substring of a Binary String
Form Smallest Number From Two Digit Arrays
K Items With the Maximum Sum
Distribute Money to Maximum Children
Count the Number of Vowel Strings in Range
Pass the Pillow
Split With Minimum Sum
Left and Right Sum Differences
Merge Two 2D Arrays by Summing Values
Maximum Difference by Remapping a Digit
Find the Array Concatenation Value
Take Gifts From the Richest Pile
Separate the Digits in an Array
Count Distinct Numbers on Board
Alternating Digit Sum
Difference Between Element Sum and Digit Sum of an Array
Maximum Count of Positive Integer and Negative Integer
Maximum Count of Positive Integer and Negative Integer
Categorize Box According to Criteria
Count the Digits That Divide a Number
Shortest Distance to Target String in a Circular Array
Maximum Enemy Forts That Can Be Captured
Count Pairs Of Similar Strings
Count Pairs Of Similar Strings
Delete Greatest Value in Each Row
Maximum Value of a String in an Array
Circular Sentence
Minimum Cuts to Divide a Circle
Number of Unequal Triplets in Array
Number of Unequal Triplets in Array
Convert the Temperature
Number of Distinct Averages
Apply Operations to an Array
Average Value of Even Numbers That Are Divisible by Three
Odd String Difference
Count Square Submatrices with All Ones
Determine if Two Events Have Conflict
Number of Valid Clock Times
The Employee That Worked on the Longest Task
Number of Common Factors
Remove Letter To Equalize Frequency
Sort the People
Smallest Even Multiple
Count Days Spent Together
Most Frequent Even Element
Check Distances Between Same Letters
Find Subarrays With Equal Sum
Longest Subsequence With Limited Sum
Minimum Hours of Training to Win a Competition
Minimum Recolors to Get K Consecutive Black Blocks
Number of Arithmetic Triplets
Merge Similar Items
Merge Similar Items
Make Array Zero by Subtracting Equal Amounts
First Letter to Appear Twice
Best Poker Hand
Number of Zero-Filled Subarrays
Maximum Number of Pairs in Array
Minimum Amount of Time to Fill Cups
Decode the Message
Check if Matrix Is X-Matrix
Count Asterisks
Greatest English Letter in Upper and Lower Case
Calculate Amount Paid in Taxes
Strong Password Checker II
Min Max Game
Rearrange Characters to Make Target String
Check if Number Has Equal Digit Count and Digit Value
Percentage of Letter in String
Find Resultant Array After Removing Anagrams
Find Resultant Array After Removing Anagrams
Find the K-Beauty of a Number
Remove Digit From Number to Maximize Result
Count Prefixes of a Given String
Intersection of Multiple Arrays
Intersection of Multiple Arrays
Calculate Digit Sum of a String
Find Closest Number to Zero
Largest Number After Digit Swaps by Parity
Largest Number After Digit Swaps by Parity
24 Game
Minimum Number of Operations to Convert Time
Divide Array Into Equal Pairs
Divide Array Into Equal Pairs
Find All K-Distant Indices in an Array
Cells in a Range on an Excel Sheet
Most Frequent Number Following Key In an Array
Counting Words With a Given Prefix
Count Integers With Even Digit Sum
Count Equal and Divisible Pairs in an Array
Count Equal and Divisible Pairs in an Array
Count Equal and Divisible Pairs in an Array
Count Operations to Obtain Zero
Count Operations to Obtain Zero
Sort Even and Odd Indices Independently
Minimum Sum of Four Digit Number After Splitting Digits
Keep Multiplying Found Values by Two
Keep Multiplying Found Values by Two
Count Elements With Strictly Smaller and Greater Elements
Minimum Cost of Buying Candies With Discount
Divide a String Into Groups of Size k
Check if Every Row and Column Contains All Numbers
Capitalize the Title
Check if All A’s Appears Before All B’s
A Number After a Double Reversal
Maximum Number of Words Found in Sentences
Rings and Rods
Find Subsequence of Length K With the Largest Sum
Finding 3-Digit Even Numbers
Find Target Indices After Sorting Array
Find Target Indices After Sorting Array
Count Common Words With One Occurrence
Two Furthest Houses With Different Colors
New 21 Game
Check Whether Two Strings are Almost Equivalent
Count Vowel Substrings of a String
Smallest Index With Equal Value
Kth Distinct String in an Array
Number of Valid Words in a Sentence
Check if Numbers Are Ascending in a Sentence
Two Out of Three
Minimum Moves to Convert String
Convert 1D Array Into 2D Array
Maximum Difference Between Increasing Elements
Final Value of Variable After Performing Operations
Count Number of Pairs With Absolute Difference K
Count Special Quadruplets
Find the Middle Index in Array
Minimum Difference Between Highest and Lowest of K Scores
Find Greatest Common Divisor of Array
Minimum Time to Type Word Using Special Typewriter
Number of Strings That Appear as Substrings in Word
Check If String Is a Prefix of Array
Three Divisors
Sum of Digits of String After Convert
Check if All Characters Have Equal Number of Occurrences
Maximum Number of Words You Can Type
Concatenation of Array
Count Square Sum Triples
Build Array from Permutation
Build Array from Permutation
Remove One Element to Make the Array Strictly Increasing
Check if All the Integers in a Range Are Covered
Check if All the Integers in a Range Are Covered
Determine Whether Matrix Can Be Obtained By Rotation
Check if Word Equals Summation of Two Words
Check if Word Equals Summation of Two Words
Maximum 69 Number
Substrings of Size Three with Distinct Characters
Longer Contiguous Segments of Ones than Zeros
Sorting the Sentence
Maximum Population Year
Minimum Distance to the Target Element
Replace All Digits with Characters
Sum of Digits in Base K
Check if the Sentence Is Pangram
Minimum Operations to Make the Array Increasing
Truncate Sentence
Truncate Sentence
Determine Color of a Chessboard Square
Number of Different Integers in a String
Maximum Ascending Subarray Sum
Second Largest Digit in a String
Find Center of Star Graph
Check if One String Swap Can Make Strings Equal
Check if Binary String Has at Most One Segment of Ones
Check if Binary String Has at Most One Segment of Ones
Count Items Matching a Rule
Check if Array Is Sorted and Rotated
Check if Array Is Sorted and Rotated
Sum of Unique Elements
Maximum Number of Balls in a Box
Maximum Number of Balls in a Box
Latest Time by Replacing Hidden Digits
Number Of Rectangles That Can Form The Largest Square
Decode XORed Array
Decode XORed Array
Maximum Units on a Truck
Reformat Phone Number
Power of Four
Power of Four
Largest 3-Same-Digit Number in String
Power of Three
Power of Three
Ways to Express an Integer as Sum of Powers
Range Product Queries of Powers
Goal Parser Interpretation
Maximum Repeating Substring
Defuse the Bomb
Get Maximum in Generated Array
Check Array Formation Through Concatenation
Sort Array by Increasing Frequency
Slowest Key
Reordered Power of 2
Mean of Array After Removing Some Elements
Crawler Log Folder
Rearrange Spaces Between Words
Sum of All Odd Length Subarrays
Sum of All Odd Length Subarrays
Power of Two
Soup Servings
Find the Maximum Number of Fruits Collected
Fruits Into Baskets III
Fruits Into Baskets II
Fruit Into Baskets
Replace All ?’s to Avoid Consecutive Repeating Characters
Matrix Diagonal Sum
Detect Pattern of Length M Repeated K or More Times
Most Visited Sector in a Circular Track
Thousand Separator
Three Consecutive Odds
Kth Missing Positive Number
Shuffle String
Water Bottles
Reformat Date
Can Make Arithmetic Progression From Sequence
Final Prices With a Special Discount in a Shop
Shuffle the Array
Make Two Arrays Equal by Reversing Subarrays
Check If a Word Occurs As a Prefix of Any Word in a Sentence
Consecutive Characters
Check If All 1’s Are at Least Length K Places Away
Reformat The String
Minimum Value to Get Positive Step by Step Sum
String Matching in an Array
Maximum Fruits Harvested After at Most K Steps
Minimum Subsequence in Non-Increasing Order
Count Largest Group
Find Lucky Integer in an Array
Create Target Array in the Given Order
Lucky Numbers in a Matrix
Lucky Numbers in a Matrix
Generate a String With Characters That Have Odd Counts
Increasing Decreasing String
How Many Numbers Are Smaller Than the Current Number
Number of Days Between Two Dates
Check If N and Its Double Exist
Remove Palindromic Subsequences
Rank Transform of an Array
Rank Transform of an Array
Maximum 69 Number
Convert Integer to the Sum of Two No-Zero Integers
Decompress Run-Length Encoded List
Decrypt String from Alphabet to Integer Mapping
Find N Unique Integers Sum up to Zero
Replace Elements with Greatest Element on Right Side
Find Numbers with Even Number of Digits
Convert Binary Number in a Linked List to Integer
Find Winner on a Tic Tac Toe Game
Shift 2D Grid
Cells with Odd Values in a Matrix
Rearranging Fruits
Check If It Is a Straight Line
Split a String in Balanced Strings
Minimum Cost to Move Chips to The Same Position
Minimum Absolute Difference
Minimum Absolute Difference
Minimum Absolute Difference
Maximum Number of Balloons
Day of the Week
Distance Between Bus Stops
Prime Arrangements
Day of the Year
Number of Equivalent Domino Pairs
Print in Order
Defanging an IP Address
Distribute Candies to People
Distribute Candies to People
Duplicate Zeros
Duplicate Zeros
Occurrences After Bigram
Remove All Adjacent Duplicates In String
Last Stone Weight
Last Stone Weight
Valid Boomerang
Matrix Cells in Distance Order
Matrix Cells in Distance Order
Divisor Game
Sum of Root To Leaf Binary Numbers
Sum of Root To Leaf Binary Numbers
Remove Outermost Parentheses
Binary Prefix Divisible By 5
Partition Array Into Three Parts With Equal Sum
Complement of Base 10 Integer
Maximize Sum Of Array After K Negations
Available Captures for Rook
Cousins in Binary Tree
Univalued Binary Tree
Univalued Binary Tree
N-Repeated Element in Size 2N Array
N-Repeated Element in Size 2N Array
Verifying an Alien Dictionary
Delete Columns to Make Sorted
DI String Match
DI String Match
Valid Mountain Array
Unique Email Addresses
Long Pressed Name
Sort Array By Parity II
Sort Array By Parity II
Reverse Only Letters
X of a Kind in a Deck of Cards
Smallest Range I
Smallest Range I
Increasing Order Search Tree
Surface Area of 3D Shapes
Fair Candy Swap
Uncommon Words from Two Sentences
Uncommon Words from Two Sentences
Projection Area of 3D Shapes
Lemonade Change
Rectangle Overlap
Flipping an Image
Flipping an Image
Positions of Large Groups
Goat Latin
Shortest Distance to a Character
Most Common Word
Pascal’s Triangle
Largest Triangle Area
Number of Lines To Write String
Unique Morse Code Words
Unique Morse Code Words
Rotate String
Minimum Distance Between BST Nodes
Jewels and Stones
Toeplitz Matrix
Shortest Completing Word
Largest Number At Least Twice of Others
Flood Fill
Flood Fill
Self Dividing Numbers
Degree of an Array
Count Binary Substrings
Baseball Game
Bitwise ORs of Subarrays
Valid Palindrome II
Longest Continuous Increasing Subsequence
Second Minimum Node In a Binary Tree
Robot Return to Origin
Maximum Product of Three Numbers
Merge Two Binary Trees
Merge Two Binary Trees
Minimum Index Sum of Two Lists
Range Addition II
Longest Harmonious Subsequence
N-ary Tree Postorder Traversal
N-ary Tree Postorder Traversal
N-ary Tree Preorder Traversal
N-ary Tree Preorder Traversal
N-ary Tree Preorder Traversal
Distribute Candies
Subtree of Another Tree
Reshape the Matrix
Binary Tree Tilt
Array Partition
Maximum Depth of N-ary Tree
Maximum Depth of N-ary Tree
Student Attendance Record I
Reverse String II
Longest Uncommon Subsequence I
Longest Subarray With Maximum Bitwise AND
Longest Subarray With Maximum Bitwise AND
Detect Capital
Perfect Number
Next Greater Element I
Teemo Attacking
Hamming Distance
Number of Segments in a String
Convert a Number to Hexadecimal
Binary Watch
Nim Game
Nim Game
Smallest Subarrays With Maximum Bitwise OR
Count Number of Maximum Bitwise-OR Subsets
Count Hills and Valleys in an Array
Maximize Subarrays After Removing One Conflicting Pair
Ugly Number
1-bit and 2-bit Characters
To Lower Case
Kth Largest Element in a Stream
Number of Students Doing Homework at a Given Time
Count Negative Numbers in a Sorted Matrix
Delete Characters to Make Fancy String
Maximum Erasure Value
Maximum Unique Subarray Sum After Deletion
Maximum Score From Removing Substrings
Minimum Score After Removals on a Tree
Delete Duplicate Folders in System
Count Good Triplets in an Array
Count Good Triplets
Count Good Numbers
Find the Count of Good Integers
Count Symmetric Integers
Count the Number of Powerful Integers
Minimum Operations to Make Array Values Equal to K
Maximum Total Importance of Roads
Balance a Binary Search Tree
Binary Search Tree to Greater Sum Tree
Minimum Number of K Consecutive Bit Flips
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Count Number of Nice Subarrays
Grumpy Bookstore Owner
Minimum Number of Days to Make m Bouquets
Sum of Square Numbers
Minimum Increment to Make Array Unique
Minimum Number of Moves to Seat Everyone
Sort Colors
Relative Sort Array
Height Checker
Subarray Sums Divisible by K
Continuous Subarray Sum
Replace Words
Hand of Straights
Find Common Characters
Append Characters to String to Make Subsequence
Student Attendance Record II
Single Number III
Count Triplets That Can Form Two Arrays of Equal XOR
Maximum Score Words Formed by Letters
Score of a String
Number of Steps to Reduce a Number in Binary Representation to One
Get Equal Substrings Within Budget
Special Array With X Elements Greater Than or Equal X
Student Attendance Record II
Word Break II
Subsets
Sum of All Subset XOR Totals
Find the Maximum Sum of Node Values
Distribute Coins in Binary Tree
Delete Leaves With a Given Value
Evaluate Boolean Binary Tree
Path with Maximum Gold
Score After Flipping Matrix
Largest Local Values in a Matrix
Relative Ranks
Relative Ranks
Double a Number Represented as a Linked List
Remove Nodes From Linked List
Bitwise AND of Numbers Range
Missing Number
Missing Number
Missing Number
Missing Number
Power of Two
Meeting Rooms III
Furthest Building You Can Reach
Furthest Building You Can Reach
Least Number of Unique Integers after K Removals
Find Polygon With the Largest Perimeter
Rearrange Array Elements by Sign
Find First Palindromic String in the Array
Majority Element
Cherry Pickup II
Palindromic Substrings
Largest Divisible Subset
Perfect Squares
Sort Characters By Frequency
Sort Characters By Frequency
Sort Characters By Frequency
Sort Characters By Frequency
Group Anagrams
First Unique Character in a String
Partition Array for Maximum Sum
Minimum Window Substring
Divide Array Into Arrays With Max Difference
Divide Array Into Arrays With Max Difference
Sequential Digits
Daily Temperatures
Evaluate Reverse Polish Notation
Implement Queue using Stacks
Number of Submatrices That Sum to Target
K Inverse Pairs Array
Out of Boundary Paths
Longest Common Subsequence
Pseudo-Palindromic Paths in a Binary Tree
Pseudo-Palindromic Paths in a Binary Tree
Maximum Length of a Concatenated String with Unique Characters
Set Mismatch
House Robber
Sum of Subarray Minimums
Minimum Falling Path Sum
Minimum Falling Path Sum
Climbing Stairs
Unique Number of Occurrences
Insert Delete GetRandom O(1)
Find Players With Zero or One Losses
Determine if Two Strings Are Close
Minimum Number of Steps to Make Two Strings Anagram
Determine if String Halves Are Alike
Maximum Difference Between Node and Ancestor
Amount of Time for Binary Tree to Be Infected
Leaf-Similar Trees
Range Sum of BST
Maximum Profit in Job Scheduling
Arithmetic Slices II - Subsequence
Longest Increasing Subsequence
Minimum Number of Operations to Make Array Empty
Number of Laser Beams in a Bank
Convert an Array Into a 2D Array With Conditions
Assign Cookies
Largest Substring Between Two Equal Characters
Redistribute Characters to Make All Strings Equal
Minimum Difficulty of a Job Schedule
String Compression II
Minimum Time to Make Rope Colorful
Number of Dice Rolls With Target Sum
Decode Ways
Minimum Changes To Make Alternating Binary String
Path Crossing
Maximum Score After Splitting a String
Widest Vertical Area Between Two Points Containing No Points
Buy Two Chocolates
Image Smoother
Maximum Product Difference Between Two Pairs
Design a Food Rating System
Valid Anagram
Destination City
Destination City
Difference Between Ones and Zeros in Row and Column
Special Positions in a Binary Matrix
Maximum Product of Two Elements in an Array
Keyboard Row
Element Appearing More Than 25% In Sorted Array
Find First and Last Position of Element in Sorted Array
Binary Tree Right Side View
Binary Tree Right Side View
Sort Integers by The Number of 1 Bits
Poor Pigs
Count Vowels Permutation
Longest Palindromic Substring
Binary Trees With Factors
Design Add and Search Words Data Structure
K-th Symbol in Grammar
Find Largest Value in Each Tree Row
Power of Four
Maximum Score of a Good Subarray
Constrained Subsequence Sum
Flatten Nested List Iterator
Flatten Nested List Iterator
Backspace String Compare
Parallel Courses III
Validate Binary Tree Nodes
Pascal’s Triangle II
Number of Ways to Stay in the Same Place After Some Steps
Painting the Walls
Min Cost Climbing Stairs
Find in Mountain Array
Number of Flowers in Full Bloom
Minimum Number of Operations to Make Array Continuous
Find First and Last Position of Element in Sorted Array
Max Dot Product of Two Subsequences
Build Array Where You Can Find The Maximum Exactly K Comparisons
Integer Break
Integer Break
Majority Element II
Design HashMap
Design HashMap
Number of Good Pairs
Number of Good Pairs
Number of Good Pairs
Remove Colored Pieces if Both Neighbors are the Same Color
Reverse Words in a String III
Merge Intervals
132 Pattern
132 Pattern
Monotonic Array
Sort Array By Parity
Sort Array By Parity
Decoded String at Index
Remove Duplicate Letters
Find Minimum in Rotated Sorted Array
Find the Difference
Find the Difference
Bitwise AND of Numbers Range
Container With Most Water
Max Points on a Line
Longest Substring Without Repeating Characters
Populating Next Right Pointers in Each Node II
Binary Search Tree Iterator
Implement Trie (Prefix Tree)
Combinations
Permutations
Generate Parentheses
Maximum Subarray
Median of Two Sorted Arrays
Search in Rotated Sorted Array
Single Number II
Single Number
Number of 1 Bits
Reverse Bits
Add Binary
Factorial Trailing Zeroes
Factorial Trailing Zeroes
Pow(x, n)
Plus One
Partition List
Reverse Linked List II
Copy List with Random Pointer
Remove Duplicates from Sorted List II
Champagne Tower
Remove Nth Node From End of List
Rotate List
Longest String Chain
Minimum Bit Flips to Convert Number
Sum of All Subset XOR Totals
Sum of All Subset XOR Totals
Longest Nice Substring
Count the Number of Consistent Strings
Count the Number of Consistent Strings
XOR Operation in an Array
Binary Gap
Is Subsequence
Prime Number of Set Bits in Binary Representation
Set Mismatch
Set Mismatch
Number Complement
Median of Two Sorted Arrays
Sum of Values at Indices With K Set Bits
Sort Integers by The Number of 1 Bits
Number of Even and Odd Bits
Number of Even and Odd Bits
Binary Number with Alternating Bits
Power of Three
Power of Two
Power of Four
Power of Four
Power of Four
Power of Four
Missing Number
Missing Number
Missing Number
Reverse Bits
Add Binary
Minimum Operations to Reduce X to Zero
Design Bitset
Find the Duplicate Number
Find the Duplicate Number
Product of the Last K Numbers
Product of the Last K Numbers
Product of the Last K Numbers
Product of the Last K Numbers
Find Consecutive Integers from a Data Stream
Find Consecutive Integers from a Data Stream
Smallest Number in Infinite Set
Smallest Number in Infinite Set
Find Elements in a Contaminated Binary Tree
Find Elements in a Contaminated Binary Tree
Range Frequency Queries
The K Weakest Rows in a Matrix
Implement Magic Dictionary
Encode and Decode TinyURL
Encode and Decode TinyURL
Encode and Decode TinyURL
Design Twitter
Shortest Path Visiting All Nodes
Implement Trie (Prefix Tree)
Implement Trie (Prefix Tree)
Apply Discount Every n Orders
Apply Discount Every n Orders
Design Underground System
Design an Ordered Stream
Design an Ordered Stream
Design Authentication Manager
Seat Reservation Manager
Seat Reservation Manager
Simple Bank System
Path With Minimum Effort
Design a Number Container System
Design a Number Container System
Finding Pairs With a Certain Sum
Finding Pairs With a Certain Sum
Design Browser History
Design a Stack With Increment Operation
Design a Stack With Increment Operation
Design Linked List
Range Sum Query 2D - Immutable
Peeking Iterator
Min Cost to Connect All Points
Frequency Tracker
Design an ATM Machine
Design an ATM Machine
Design an ATM Machine
Design Memory Allocator
Reconstruct Itinerary
Detect Squares
Tweet Counts Per Frequency
Snapshot Array
Time Based Key-Value Store
Design Parking System
Design Parking System
Number of Recent Calls
Range Sum Query - Immutable
Range Sum Query - Immutable
Range Sum Query - Immutable
Binary Search Tree Iterator
Binary Search Tree Iterator
Binary Search Tree Iterator
Balanced Binary Tree
Minimum Deletions to Make Character Frequencies Unique
Intersection of Two Linked Lists
Intersection of Two Linked Lists
Pascal’s Triangle II
Single Number
Single Number
Single Number
Minimum Depth of Binary Tree
Binary Tree Inorder Traversal
Binary Tree Inorder Traversal
Group the People Given the Group Size They Belong To
Count All Valid Pickup and Delivery Options
Count All Valid Pickup and Delivery Options
Decode Ways
Decode Ways
Decode Ways
Snakes and Ladders
Combination Sum IV
Combination Sum IV
Pascal’s Triangle
Word Search
Word Search
Word Search
Reverse Linked List II
Reverse Linked List II
Reverse Linked List II
Split Linked List in Parts
Copy List with Random Pointer
Combination Sum
Convert Sorted Array to Binary Search Tree
Linked List Cycle
Game of Life
Set Matrix Zeroes
Unique Paths
Rotate Image
Extra Characters in a String
Text Justification
Course Schedule
Course Schedule
Counting Bits
Counting Bits
Evaluate Division
Clone Graph
Surrounded Regions
Surrounded Regions
Surrounded Regions
Minimum Number of Taps to Open to Water a Garden
Minimum Number of Taps to Open to Water a Garden
Minimum Replacements to Sort the Array
Number of Islands
Number of Islands
Number of Islands
Number of Islands
Number of Islands
Minimum Penalty for a Shop
Map Sum Pairs
Implement Stack using Queues
Minimum Absolute Difference in BST
Minimum Absolute Difference in BST
Frog Jump
Count Complete Tree Nodes
Count Complete Tree Nodes
Count Complete Tree Nodes
Path Sum
Symmetric Tree
Symmetric Tree
Invert Binary Tree
Invert Binary Tree
Invert Binary Tree
Invert Binary Tree
Maximum Length of Pair Chain
Interleaving String
Find K Pairs with Smallest Sums
Text Justification
Summary Ranges
Reorganize String
Excel Sheet Column Title
Spiral Matrix
Valid Sudoku
Valid Sudoku
Repeated Substring Pattern
Sort Items by Groups Respecting Dependencies
Sorting Three Groups
Make String a Subsequence Using Cyclic Increments
Count Pairs Whose Sum is Less than Target
Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
Maximal Network Rank
01 Matrix
Sliding Window Maximum
Partition List
Partition List
Kth Largest Element in an Array
Check if There is a Valid Partition For The Array
Unique Paths II
Product of Array Except Self
Product of Array Except Self
Coin Change II
Coin Change II
Search in Rotated Sorted Array II
Best Time to Buy and Sell Stock IV
Minimize the Maximum Difference of Pairs
Best Time to Buy and Sell Stock III
Best Time to Buy and Sell Stock III
Longest Palindromic Substring
Maximal Square
Edit Distance
Interleaving String
Unique Paths II
Unique Paths II
Minimum Path Sum
Triangle
Triangle
Kth Largest Element in an Array
Search in Rotated Sorted Array
Search in Rotated Sorted Array
Longest Increasing Subsequence
Coin Change
Coin Change
Word Break
Word Break
House Robber
House Robber
House Robber
Climbing Stairs
Climbing Stairs
Search a 2D Matrix
Faulty Keyboard
Maximum Number of Events That Can Be Attended II
Number of Music Playlists
Smallest Sufficient Team
Insert Greatest Common Divisors in Linked List
Account Balance After Rounded Purchase
Unique Binary Search Trees II
Maximum Number of Achievable Transfer Requests
Word Break
Word Break
Letter Combinations of a Phone Number
Letter Combinations of a Phone Number
Course Schedule
Find Eventual Safe States
Maximize the Confusion of an Exam
Minimum Size Subarray Sum
Single Number II
Buddy Strings
Generate Parentheses
Permutations
Maximum Number of Achievable Transfer Requests
Maximum Number of Achievable Transfer Requests
Count Complete Subarrays in an Array
Number of Employees Who Met the Target
Combinations
Combinations
Combinations
Container With Most Water
Longest Palindromic Substring
Minimum ASCII Delete Sum for Two Strings
Strange Printer
Predict the Winner
Predict the Winner
Predict the Winner
Soup Servings
Fair Distribution of Cookies
Fair Distribution of Cookies
Maximum Running Time of N Computers
Minimum Speed to Arrive on Time
Peak Index in a Mountain Array
Peak Index in a Mountain Array
Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters
Construct the Rectangle
Max Consecutive Ones
License Key Formatting
License Key Formatting
Island Perimeter
Intersection of Two Arrays
Intersection of Two Arrays
Find the Difference
First Unique Character in a String
First Unique Character in a String
Sum of Left Leaves
Longest Palindrome
Longest Palindrome
Third Maximum Number
Third Maximum Number
Add Strings
Add Strings
Assign Cookies
Assign Cookies
Pow(x, n)
Find All Numbers Disappeared in an Array
Find All Numbers Disappeared in an Array
Find All Numbers Disappeared in an Array
Arranging Coins
Arranging Coins
Middle of the Linked List
Middle of the Linked List
All Possible Full Binary Trees
Knight Probability in Chessboard
Knight Probability in Chessboard
Repeated Substring Pattern
Repeated Substring Pattern
Add Digits
Add Digits
Add Digits
Add Digits
Implement Queue using Stacks
Implement Queue using Stacks
Implement Queue using Stacks
Power of Two
Remove Duplicates from Sorted List
Climbing Stairs
Plus One
Number of Steps to Reduce a Number to Zero
Fizz Buzz
Richest Customer Wealth
Running Sum of 1d Array
Root Equals Sum of Children
Add Two Integers
Number of Longest Increasing Subsequence
Asteroid Collision
Asteroid Collision
Best Time to Buy and Sell Stock II
Gas Station
Jump Game II
Minimum Size Subarray Sum
H-Index
Zigzag Conversion
Insert Delete GetRandom O(1)
Jump Game
Letter Combinations of a Phone Number
Letter Combinations of a Phone Number
Non-overlapping Intervals
Add Two Numbers
LRU Cache
LRU Cache
Search a 2D Matrix
Search Insert Position
Sqrt(x)
Palindrome Number
Palindrome Number
Evaluate Reverse Polish Notation
Add Two Numbers II
Reverse Linked List
Two Sum II - Input Array Is Sorted
Reverse Words in a String
Integer to Roman
Evaluate Reverse Polish Notation
Min Stack
Min Stack
Simplify Path
Longest Consecutive Sequence
Longest Consecutive Sequence
Group Anagrams
LRU Cache
Rotate Array
Remove Duplicates from Sorted Array II
Remove Duplicates from Sorted Array II
Same Tree
Maximum Depth of Binary Tree
Maximum Depth of Binary Tree
Merge Two Sorted Lists
Linked List Cycle
Linked List Cycle
Valid Parentheses
Contains Duplicate II
Contains Duplicate II
Happy Number
Happy Number
Happy Number
Two Sum
Valid Anagram
Word Pattern
Isomorphic Strings
Isomorphic Strings
Ransom Note
Ransom Note
Ransom Note
Is Subsequence
Longest Common Prefix
Longest Common Prefix
Roman to Integer
Majority Element
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock
Majority Element
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array
Remove Element
Remove Element
Merge Sorted Array
Valid Palindrome
Valid Palindrome
Find the Index of the First Occurrence in a String
Find the Index of the First Occurrence in a String
Find the Index of the First Occurrence in a String
Length of Last Word
Length of Last Word
Length of Last Word
Add Two Numbers
Roman to Integer
Remove Element
Remove Duplicates from Sorted Array
Merge Two Sorted Lists
Valid Parentheses
Palindrome Number
Longest Common Prefix
Roman to Integer
Roman to Integer
Two Sum
Two Sum