2025-08-13 14:56:30 +0000 UTC
Power of Three
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