Running Sum of 1d Array |
90.5% |
Easy |
Defanging an IP Address |
87.5% |
Easy |
Jewels and Stones |
86.4% |
Easy |
Number of Steps to Reduce a Number to Zero |
86.3% |
Easy |
How Many Numbers Are Smaller Than the Current Number |
85.6% |
Easy |
Subtract the Product and Sum of Digits of an Integer |
85.2% |
Easy |
Decompress Run-Length Encoded List |
85.1% |
Easy |
Single-Row Keyboard |
84.8% |
Easy |
Range Sum of BST |
81.3% |
Easy |
Find Anagram Mappings |
81.1% |
Easy |
Reformat Department Table |
80.6% |
Easy |
To Lower Case |
79.3% |
Easy |
Remove Outermost Parentheses |
78.0% |
Easy |
Unique Morse Code Words |
77.0% |
Easy |
Flipping an Image |
76.2% |
Easy |
Sort Array By Parity |
74.1% |
Easy |
Robot Return to Origin |
73.5% |
Easy |
Search in a Binary Search Tree |
73.1% |
Easy |
DI String Match |
72.6% |
Easy |
Squares of a Sorted Array |
72.1% |
Easy |
Number of Recent Calls |
71.9% |
Easy |
Peak Index in a Mountain Array |
71.6% |
Easy |
Unique Number of Occurrences |
71.6% |
Easy |
Height Checker |
71.1% |
Easy |
Moving Average from Data Stream |
70.9% |
Easy |
Logger Rate Limiter |
70.8% |
Easy |
Delete Columns to Make Sorted |
70.3% |
Easy |
Subdomain Visit Count |
69.9% |
Easy |
Find Positive Integer Solution for a Given Equation |
69.7% |
Easy |
Maximum Depth of N-ary Tree |
68.7% |
Easy |
Build an Array With Stack Operations |
68.7% |
Easy |
Remove All Adjacent Duplicates In String |
68.6% |
Easy |
Reverse String |
68.5% |
Easy |
Relative Sort Array |
67.7% |
Easy |
Univalued Binary Tree |
67.7% |
Easy |
Unique Email Addresses |
67.4% |
Easy |
Shortest Distance to a Character |
66.9% |
Easy |
Divisor Game |
66.3% |
Easy |
Maximum Depth of Binary Tree |
66.0% |
Easy |
Print in Order |
65.7% |
Easy |
Island Perimeter |
65.7% |
Easy |
Single Number |
65.5% |
Easy |
Toeplitz Matrix |
65.1% |
Easy |
Invert Binary Tree |
65.0% |
Easy |
Number of Lines To Write String |
64.9% |
Easy |
Occurrences After Bigram |
64.7% |
Easy |
Leaf-Similar Trees |
64.5% |
Easy |
Design HashSet |
64.3% |
Easy |
Next Greater Element I |
63.8% |
Easy |
Delete Node in a Linked List |
63.8% |
Easy |
Baseball Game |
63.7% |
Easy |
Trim a Binary Search Tree |
63.0% |
Easy |
Intersection of Two Arrays |
62.5% |
Easy |
Reverse Linked List |
62.5% |
Easy |
Fizz Buzz |
62.3% |
Easy |
Palindrome Permutation |
61.9% |
Easy |
Similar RGB Color |
61.4% |
Easy |
Design HashMap |
61.3% |
Easy |
Shortest Word Distance |
61.0% |
Easy |
Combine Two Tables |
60.8% |
Easy |
Flip Game |
60.7% |
Easy |
Two Sum Less Than K |
60.6% |
Easy |
Element Appearing More Than 25% In Sorted Array |
60.2% |
Easy |
Compare Strings by Frequency of the Smallest Character |
58.7% |
Easy |
Majority Element |
58.7% |
Easy |
Largest Triangle Area |
58.3% |
Easy |
Rank Transform of an Array |
58.0% |
Easy |
Reverse Only Letters |
58.0% |
Easy |
Convert Sorted Array to Binary Search Tree |
57.9% |
Easy |
Move Zeroes |
57.8% |
Easy |
Longest Uncommon Subsequence I |
57.6% |
Easy |
Employee Importance |
57.3% |
Easy |
Rotated Digits |
57.1% |
Easy |
Best Time to Buy and Sell Stock II |
57.0% |
Easy |
Employees Earning More Than Their Managers |
56.9% |
Easy |
Valid Anagram |
56.9% |
Easy |
Shortest Completing Word |
56.7% |
Easy |
Two City Scheduling |
56.1% |
Easy |
Excel Sheet Column Number |
55.9% |
Easy |
Find All Numbers Disappeared in an Array |
55.9% |
Easy |
Roman to Integer |
55.7% |
Easy |
Find the Difference |
55.3% |
Easy |
Flood Fill |
55.3% |
Easy |
Maximum Score After Splitting a String |
54.7% |
Easy |
Max Consecutive Ones |
54.6% |
Easy |
Meeting Rooms |
54.6% |
Easy |
Distance Between Bus Stops |
54.5% |
Easy |
Make The String Great |
54.4% |
Easy |
Detect Capital |
54.2% |
Easy |
Two Sum II - Input array is sorted |
54.1% |
Easy |
Minimum Absolute Difference in BST |
53.8% |
Easy |
Merge Two Sorted Lists |
53.5% |
Easy |
First Unique Character in a String |
53.4% |
Easy |
Same Tree |
53.4% |
Easy |
Duplicate Zeros |
52.9% |
Easy |
Minimum Distance Between BST Nodes |
52.6% |
Easy |
Pascal's Triangle |
52.5% |
Easy |
Number of Boomerangs |
51.8% |
Easy |
Missing Number |
51.7% |
Easy |
Binary Tree Paths |
51.5% |
Easy |
Intersection of Two Arrays II |
51.4% |
Easy |
Sum of Left Leaves |
50.9% |
Easy |
Best Time to Buy and Sell Stock |
50.5% |
Easy |
Relative Ranks |
50.5% |
Easy |
Happy Number |
50.4% |
Easy |
Longest Palindrome |
50.3% |
Easy |
Find the Town Judge |
50.1% |
Easy |
Lowest Common Ancestor of a Binary Search Tree |
49.9% |
Easy |
Number of 1 Bits |
49.8% |
Easy |
Kth Largest Element in a Stream |
49.7% |
Easy |
Implement Queue using Stacks |
49.6% |
Easy |
Positions of Large Groups |
49.6% |
Easy |
Is Subsequence |
49.2% |
Easy |
Pascal's Triangle II |
49.0% |
Easy |
1-bit and 2-bit Characters |
48.8% |
Easy |
Confusing Number |
48.6% |
Easy |
Rectangle Overlap |
48.6% |
Easy |
Closest Binary Search Tree Value |
48.5% |
Easy |
Diameter of Binary Tree |
48.4% |
Easy |
Reverse String II |
48.4% |
Easy |
Palindrome Number |
48.4% |
Easy |
Longest Word in Dictionary |
48.2% |
Easy |
Remove Element |
48.2% |
Easy |
Climbing Stairs |
47.8% |
Easy |
Binary Watch |
47.5% |
Easy |
Add Strings |
47.5% |
Easy |
Symmetric Tree |
46.8% |
Easy |
Maximum Subarray |
46.5% |
Easy |
Backspace String Compare |
46.4% |
Easy |
Base 7 |
46.2% |
Easy |
Bold Words in String |
46.0% |
Easy |
Student Attendance Record I |
46.0% |
Easy |
Longest Continuous Increasing Subsequence |
45.9% |
Easy |
Two Sum |
45.6% |
Easy |
Remove Duplicates from Sorted List |
45.4% |
Easy |
Add Binary |
45.2% |
Easy |
Remove Duplicates from Sorted Array |
45.1% |
Easy |
Strobogrammatic Number |
45.0% |
Easy |
Most Common Word |
44.8% |
Easy |
Range Sum Query - Immutable |
44.7% |
Easy |
Count and Say |
44.6% |
Easy |
Min Stack |
44.5% |
Easy |
Reverse Vowels of a String |
44.2% |
Easy |
Add to Array-Form of Integer |
44.2% |
Easy |
Subtree of Another Tree |
44.1% |
Easy |
Find Pivot Index |
44.0% |
Easy |
Power of Two |
43.7% |
Easy |
Balanced Binary Tree |
43.5% |
Easy |
License Key Formatting |
43.1% |
Easy |
Guess Number Higher or Lower |
43.1% |
Easy |
Plus One |
43.0% |
Easy |
Max Stack |
42.6% |
Easy |
Maximize Distance to Closest Person |
42.6% |
Easy |
Search Insert Position |
42.6% |
Easy |
Bulls and Cows |
42.4% |
Easy |
Find Mode in Binary Search Tree |
42.4% |
Easy |
Repeated Substring Pattern |
42.2% |
Easy |
Power of Three |
42.1% |
Easy |
Sentence Similarity |
42.1% |
Easy |
House Robber |
42.0% |
Easy |
Largest Number At Least Twice of Others |
42.0% |
Easy |
Valid Perfect Square |
41.7% |
Easy |
Maximum Average Subarray I |
41.5% |
Easy |
String Compression |
41.3% |
Easy |
Linked List Cycle |
41.1% |
Easy |
Intersection of Two Linked Lists |
40.6% |
Easy |
Long Pressed Name |
40.5% |
Easy |
Isomorphic Strings |
39.8% |
Easy |
Reverse Bits |
39.8% |
Easy |
Merge Sorted Array |
39.4% |
Easy |
Palindrome Linked List |
39.3% |
Easy |
Valid Parentheses |
39.0% |
Easy |
Remove Linked List Elements |
38.6% |
Easy |
Paint Fence |
38.3% |
Easy |
Check If N and Its Double Exist |
37.9% |
Easy |
Valid Boomerang |
37.9% |
Easy |
Valid Word Square |
37.7% |
Easy |
Contains Duplicate II |
37.7% |
Easy |
Design Compressed String Iterator |
37.5% |
Easy |
Magic Squares In Grid |
37.3% |
Easy |
Word Pattern |
37.0% |
Easy |
Valid Palindrome |
36.7% |
Easy |
Valid Palindrome II |
36.6% |
Easy |
Longest Univalue Path |
36.2% |
Easy |
Largest Time for Given Digits |
35.8% |
Easy |
First Bad Version |
35.7% |
Easy |
Longest Common Prefix |
35.4% |
Easy |
X of a Kind in a Deck of Cards |
35.1% |
Easy |
Implement strStr() |
34.5% |
Easy |
Read N Characters Given Read4 |
34.2% |
Easy |
Sqrt(x) |
33.9% |
Easy |
Valid Mountain Array |
33.2% |
Easy |
Heaters |
33.1% |
Easy |
Tenth Line |
33.0% |
Easy |
Repeated String Match |
32.3% |
Easy |
Second Highest Salary |
31.6% |
Easy |
Count Primes |
31.5% |
Easy |
Excel Sheet Column Title |
31.1% |
Easy |
Shortest Unsorted Continuous Subarray |
31.1% |
Easy |
Valid Word Abbreviation |
30.6% |
Easy |
Third Maximum Number |
30.5% |
Easy |
Buddy Strings |
27.4% |
Easy |
Reverse Integer |
25.8% |
Easy |
Non-decreasing Array |
19.5% |
Easy |
Print Immutable Linked List in Reverse |
94.6% |
Medium |
All People Report to the Given Manager |
87.1% |
Medium |
Max Increase to Keep City Skyline |
83.7% |
Medium |
Deepest Leaves Sum |
83.6% |
Medium |
Find Root of N-Ary Tree |
80.0% |
Medium |
Maximum Binary Tree |
79.9% |
Medium |
Encode and Decode TinyURL |
79.9% |
Medium |
Insert into a Binary Search Tree |
77.7% |
Medium |
Letter Tile Possibilities |
75.4% |
Medium |
Output Contest Matches |
75.3% |
Medium |
All Possible Full Binary Trees |
75.2% |
Medium |
Reveal Cards In Increasing Order |
74.6% |
Medium |
Binary Tree Pruning |
74.5% |
Medium |
Find Elements in a Contaminated Binary Tree |
74.3% |
Medium |
Matrix Block Sum |
73.7% |
Medium |
Find and Replace Pattern |
73.4% |
Medium |
Count Square Submatrices with All Ones |
73.3% |
Medium |
Delete Leaves With a Given Value |
73.0% |
Medium |
Maximum Level Sum of a Binary Tree |
72.2% |
Medium |
Find Leaves of Binary Tree |
70.6% |
Medium |
Design Bounded Blocking Queue |
70.5% |
Medium |
Sort Integers by The Power Value |
70.2% |
Medium |
Battleships in a Board |
70.0% |
Medium |
Number of Good Ways to Split a String |
69.8% |
Medium |
Candy Crush |
69.2% |
Medium |
Distribute Coins in Binary Tree |
68.9% |
Medium |
Range Sum of Sorted Subarray Sums |
68.3% |
Medium |
Iterator for Combination |
68.2% |
Medium |
Find All Duplicates in an Array |
67.8% |
Medium |
Interval List Intersections |
67.3% |
Medium |
Delete Nodes And Return Forest |
67.0% |
Medium |
Queue Reconstruction by Height |
66.9% |
Medium |
Search in a Sorted Array of Unknown Size |
66.9% |
Medium |
Lowest Common Ancestor of Deepest Leaves |
66.8% |
Medium |
Number Of Corner Rectangles |
66.4% |
Medium |
Construct Binary Tree from Preorder and Postorder Traversal |
66.2% |
Medium |
Maximum Difference Between Node and Ancestor |
66.0% |
Medium |
Flip Equivalent Binary Trees |
65.8% |
Medium |
Custom Sort String |
65.7% |
Medium |
Path with Maximum Gold |
65.1% |
Medium |
Keys and Rooms |
64.3% |
Medium |
Wiggle Sort |
63.8% |
Medium |
K Closest Points to Origin |
63.8% |
Medium |
Design Hit Counter |
63.7% |
Medium |
Permutations |
63.5% |
Medium |
Reorder Routes to Make All Paths Lead to the City Zero |
63.5% |
Medium |
Daily Temperatures |
63.3% |
Medium |
Binary Tree Inorder Traversal |
63.3% |
Medium |
Stone Game II |
63.3% |
Medium |
Find the Minimum Number of Fibonacci Numbers Whose Sum Is K |
63.2% |
Medium |
Guess the Majority in a Hidden Array |
63.2% |
Medium |
Sort Characters By Frequency |
63.0% |
Medium |
Minimum Cost to Connect Sticks |
62.8% |
Medium |
Range Addition |
62.8% |
Medium |
Brace Expansion |
62.7% |
Medium |
Max Area of Island |
62.7% |
Medium |
Generate Parentheses |
62.7% |
Medium |
Minimum Falling Path Sum |
62.5% |
Medium |
Subsets |
62.0% |
Medium |
Sparse Matrix Multiplication |
61.9% |
Medium |
Validate Stack Sequences |
61.9% |
Medium |
Count Submatrices With All Ones |
61.7% |
Medium |
Construct Quad Tree |
61.4% |
Medium |
Top K Frequent Elements |
61.2% |
Medium |
Simplified Fractions |
61.0% |
Medium |
Kill Process |
60.8% |
Medium |
Design A Leaderboard |
60.7% |
Medium |
Palindromic Substrings |
60.6% |
Medium |
Number of Closed Islands |
60.5% |
Medium |
Find Permutation |
60.5% |
Medium |
Minimum Cost For Tickets |
60.5% |
Medium |
Online Stock Span |
60.2% |
Medium |
Kth Smallest Element in a BST |
60.2% |
Medium |
Product of Array Except Self |
60.1% |
Medium |
Tree Diameter |
60.1% |
Medium |
Find Duplicate File in System |
59.5% |
Medium |
Remove Sub-Folders from the Filesystem |
59.5% |
Medium |
Convert Binary Search Tree to Sorted Doubly Linked List |
59.1% |
Medium |
Minesweeper |
59.1% |
Medium |
Lonely Pixel I |
59.0% |
Medium |
Largest Values From Labels |
58.9% |
Medium |
Binary String With Substrings Representing 1 To N |
58.8% |
Medium |
Remove Interval |
58.6% |
Medium |
Friend Circles |
58.6% |
Medium |
Design Log Storage System |
58.6% |
Medium |
Image Overlap |
58.5% |
Medium |
Longest Common Subsequence |
58.4% |
Medium |
Zigzag Iterator |
58.4% |
Medium |
Beautiful Array |
58.3% |
Medium |
Plus One Linked List |
58.2% |
Medium |
Filling Bookcase Shelves |
58.1% |
Medium |
Capacity To Ship Packages Within D Days |
58.1% |
Medium |
Inorder Successor in BST II |
58.0% |
Medium |
Maximum Sum of Two Non-Overlapping Subarrays |
57.9% |
Medium |
Count Servers that Communicate |
57.9% |
Medium |
Single Element in a Sorted Array |
57.9% |
Medium |
Beautiful Arrangement |
57.8% |
Medium |
Number of Enclaves |
57.8% |
Medium |
Campus Bikes |
57.7% |
Medium |
Redundant Connection |
57.4% |
Medium |
Escape The Ghosts |
57.4% |
Medium |
Complete Binary Tree Inserter |
57.3% |
Medium |
Linked List Components |
57.3% |
Medium |
Longest Repeating Substring |
57.2% |
Medium |
Camelcase Matching |
57.0% |
Medium |
The k Strongest Values in an Array |
57.0% |
Medium |
Shortest Way to Form String |
56.9% |
Medium |
Remove All Adjacent Duplicates in String II |
56.9% |
Medium |
Group Anagrams |
56.9% |
Medium |
Rotate Image |
56.7% |
Medium |
Binary Search Tree Iterator |
56.6% |
Medium |
Combination Sum III |
56.6% |
Medium |
Next Greater Element II |
56.5% |
Medium |
Combination Sum |
56.1% |
Medium |
Random Pick Index |
56.0% |
Medium |
Number of Distinct Islands |
56.0% |
Medium |
Number of Connected Components in an Undirected Graph |
56.0% |
Medium |
Split BST |
55.8% |
Medium |
Odd Even Linked List |
55.7% |
Medium |
Binary Tree Preorder Traversal |
55.7% |
Medium |
Find the Duplicate Number |
55.5% |
Medium |
All Nodes Distance K in Binary Tree |
55.4% |
Medium |
Kth Largest Element in an Array |
55.4% |
Medium |
Time Needed to Inform All Employees |
55.4% |
Medium |
Most Stones Removed with Same Row or Column |
55.2% |
Medium |
Different Ways to Add Parentheses |
55.2% |
Medium |
Flatten a Multilevel Doubly Linked List |
55.1% |
Medium |
Group Shifted Strings |
55.1% |
Medium |
Integer to Roman |
55.1% |
Medium |
Binary Tree Upside Down |
55.0% |
Medium |
Max Chunks To Make Sorted |
54.8% |
Medium |
Longest String Chain |
54.7% |
Medium |
Best Time to Buy and Sell Stock with Transaction Fee |
54.7% |
Medium |
Combinations |
54.7% |
Medium |
Pyramid Transition Matrix |
54.6% |
Medium |
Binary Tree Level Order Traversal |
54.6% |
Medium |
Minimum Path Sum |
54.5% |
Medium |
Add Two Numbers II |
54.5% |
Medium |
Missing Element in Sorted Array |
54.5% |
Medium |
Game of Life |
54.5% |
Medium |
Implement Magic Dictionary |
54.5% |
Medium |
Walls and Gates |
54.5% |
Medium |
Beautiful Arrangement II |
54.3% |
Medium |
Kth Smallest Element in a Sorted Matrix |
54.3% |
Medium |
Design Tic-Tac-Toe |
54.3% |
Medium |
Hand of Straights |
54.2% |
Medium |
Campus Bikes II |
54.2% |
Medium |
Binary Tree Right Side View |
54.1% |
Medium |
Unique Paths |
54.1% |
Medium |
Spiral Matrix II |
53.9% |
Medium |
Divide Array in Sets of K Consecutive Numbers |
53.8% |
Medium |
Rank Teams by Votes |
53.8% |
Medium |
Number of Good Leaf Nodes Pairs |
53.6% |
Medium |
RLE Iterator |
53.5% |
Medium |
Maximum XOR of Two Numbers in an Array |
53.5% |
Medium |
Longest Arithmetic Sequence |
53.4% |
Medium |
People Whose List of Favorite Companies Is Not a Subset of Another List |
53.3% |
Medium |
Time Based Key-Value Store |
53.1% |
Medium |
Maximum of Absolute Value Expression |
53.0% |
Medium |
Flatten Nested List Iterator |
52.9% |
Medium |
Unique Binary Search Trees |
52.9% |
Medium |
Shortest Distance to Target Color |
52.8% |
Medium |
Shuffle an Array |
52.8% |
Medium |
Meeting Scheduler |
52.7% |
Medium |
4 Keys Keyboard |
52.5% |
Medium |
Single Number II |
52.4% |
Medium |
Flip String to Monotone Increasing |
52.3% |
Medium |
Koko Eating Bananas |
52.1% |
Medium |
Check Completeness of a Binary Tree |
52.1% |
Medium |
Generalized Abbreviation |
52.1% |
Medium |
Linked List Random Node |
52.1% |
Medium |
Serialize and Deserialize BST |
52.0% |
Medium |
Count Univalue Subtrees |
52.0% |
Medium |
Exclusive Time of Functions |
51.9% |
Medium |
My Calendar I |
51.8% |
Medium |
Top K Frequent Words |
51.8% |
Medium |
Open the Lock |
51.8% |
Medium |
Minimum Area Rectangle |
51.8% |
Medium |
Evaluate Division |
51.6% |
Medium |
Lexicographical Numbers |
51.6% |
Medium |
Last Moment Before All Ants Fall Out of a Plank |
51.5% |
Medium |
Shopping Offers |
51.5% |
Medium |
The Maze |
51.4% |
Medium |
Binary Tree Coloring Game |
51.2% |
Medium |
Maximum Product of Word Lengths |
51.2% |
Medium |
Minimum Difference Between Largest and Smallest Value in Three Moves |
51.0% |
Medium |
Minimum Area Rectangle II |
50.9% |
Medium |
Container With Most Water |
50.8% |
Medium |
Sum of Two Integers |
50.7% |
Medium |
House Robber III |
50.6% |
Medium |
Swap Nodes in Pairs |
50.4% |
Medium |
Find And Replace in String |
50.4% |
Medium |
Total Hamming Distance |
50.4% |
Medium |
Online Election |
50.4% |
Medium |
Integer Break |
50.4% |
Medium |
Find Duplicate Subtrees |
50.2% |
Medium |
Coin Change 2 |
50.2% |
Medium |
Task Scheduler |
50.1% |
Medium |
Flip Game II |
50.0% |
Medium |
Minimum Domino Rotations For Equal Row |
50.0% |
Medium |
Decode String |
50.0% |
Medium |
Brick Wall |
50.0% |
Medium |
Largest Sum of Averages |
49.9% |
Medium |
Minimum Number of Arrows to Burst Balloons |
49.6% |
Medium |
Implement Trie (Prefix Tree) |
49.4% |
Medium |
Longest Substring with At Most Two Distinct Characters |
49.4% |
Medium |
Flatten Binary Tree to Linked List |
49.3% |
Medium |
Video Stitching |
49.2% |
Medium |
Path With Maximum Minimum Value |
49.2% |
Medium |
My Calendar II |
49.1% |
Medium |
Sum Root to Leaf Numbers |
49.1% |
Medium |
Number of Dice Rolls With Target Sum |
49.0% |
Medium |
Knight Probability in Chessboard |
48.9% |
Medium |
Find Eventual Safe States |
48.9% |
Medium |
Accounts Merge |
48.8% |
Medium |
Construct Binary Tree from Preorder and Inorder Traversal |
48.8% |
Medium |
Sort Transformed Array |
48.8% |
Medium |
Reorganize String |
48.7% |
Medium |
Valid Sudoku |
48.7% |
Medium |
Maximum Side Length of a Square with Sum Less than or Equal to Threshold |
48.6% |
Medium |
Delete Operation for Two Strings |
48.6% |
Medium |
Max Consecutive Ones II |
48.5% |
Medium |
Push Dominoes |
48.5% |
Medium |
Android Unlock Patterns |
48.4% |
Medium |
Count Numbers with Unique Digits |
48.4% |
Medium |
Alphabet Board Path |
48.4% |
Medium |
Longest Word in Dictionary through Deleting |
48.4% |
Medium |
Binary Tree Zigzag Level Order Traversal |
48.3% |
Medium |
Diagonal Traverse |
48.2% |
Medium |
Shortest Bridge |
48.2% |
Medium |
Combination Sum II |
48.2% |
Medium |
Lonely Pixel II |
47.9% |
Medium |
Predict the Winner |
47.9% |
Medium |
Word Subsets |
47.8% |
Medium |
Convert Sorted List to Binary Search Tree |
47.7% |
Medium |
The Maze II |
47.7% |
Medium |
3Sum Smaller |
47.6% |
Medium |
Strobogrammatic Number II |
47.6% |
Medium |
Insert Delete GetRandom O(1) |
47.5% |
Medium |
Magical String |
47.5% |
Medium |
Is Graph Bipartite? |
47.5% |
Medium |
Palindrome Partitioning |
47.5% |
Medium |
Number of Matching Subsequences |
47.4% |
Medium |
Best Time to Buy and Sell Stock with Cooldown |
47.4% |
Medium |
Perfect Squares |
47.4% |
Medium |
Sort Colors |
47.3% |
Medium |
Ambiguous Coordinates |
47.2% |
Medium |
Binary Tree Longest Consecutive Sequence |
47.1% |
Medium |
Expressive Words |
47.0% |
Medium |
Binary Tree Longest Consecutive Sequence II |
47.0% |
Medium |
Longest Repeating Character Replacement |
47.0% |
Medium |
Letter Combinations of a Phone Number |
46.8% |
Medium |
Maximum Size Subarray Sum Equals k |
46.8% |
Medium |
Design Phone Directory |
46.8% |
Medium |
Boats to Save People |
46.8% |
Medium |
Count Complete Tree Nodes |
46.8% |
Medium |
Number of Islands |
46.8% |
Medium |
Factor Combinations |
46.7% |
Medium |
Path Sum II |
46.7% |
Medium |
Target Sum |
46.3% |
Medium |
Smallest String Starting From Leaf |
46.1% |
Medium |
Largest Plus Sign |
46.0% |
Medium |
Bomb Enemy |
46.0% |
Medium |
3Sum Closest |
46.0% |
Medium |
Longest Line of Consecutive One in Matrix |
45.9% |
Medium |
Minimum Number of Days to Make m Bouquets |
45.8% |
Medium |
Sentence Similarity II |
45.8% |
Medium |
Lowest Common Ancestor of a Binary Tree |
45.7% |
Medium |
Flatten 2D Vector |
45.7% |
Medium |
Meeting Rooms II |
45.7% |
Medium |
Peeking Iterator |
45.7% |
Medium |
Dice Roll Simulation |
45.6% |
Medium |
Maximum Width Ramp |
45.4% |
Medium |
Decrease Elements To Make Array Zigzag |
45.4% |
Medium |
Combination Sum IV |
45.3% |
Medium |
Binary Tree Vertical Order Traversal |
45.3% |
Medium |
Populating Next Right Pointers in Each Node |
45.2% |
Medium |
Knight Dialer |
45.2% |
Medium |
Find Minimum in Rotated Sorted Array |
45.1% |
Medium |
Super Ugly Number |
45.0% |
Medium |
Partition to K Equal Sum Subsets |
45.0% |
Medium |
Next Closest Time |
45.0% |
Medium |
Network Delay Time |
45.0% |
Medium |
All Paths from Source Lead to Destination |
44.7% |
Medium |
Logical OR of Two Binary Grids Represented as Quad-Trees |
44.6% |
Medium |
Check If a String Contains All Binary Codes of Size K |
44.6% |
Medium |
Longest Arithmetic Subsequence of Given Difference |
44.6% |
Medium |
Permutation in String |
44.4% |
Medium |
Sum of Mutated Array Closest to Target |
44.2% |
Medium |
Possible Bipartition |
44.2% |
Medium |
Triangle |
44.2% |
Medium |
Remove Duplicates from Sorted Array II |
44.0% |
Medium |
Random Pick with Weight |
43.9% |
Medium |
Subarray Sum Equals K |
43.9% |
Medium |
Design Circular Queue |
43.8% |
Medium |
Split Array into Consecutive Subsequences |
43.7% |
Medium |
Partition Equal Subset Sum |
43.7% |
Medium |
Closest Leaf in a Binary Tree |
43.6% |
Medium |
Product of the Last K Numbers |
43.6% |
Medium |
Find Peak Element |
43.3% |
Medium |
Find All Anagrams in a String |
43.3% |
Medium |
Search a 2D Matrix II |
43.2% |
Medium |
Valid Square |
43.1% |
Medium |
Exam Room |
43.1% |
Medium |
Delete Node in a BST |
43.1% |
Medium |
Course Schedule |
43.1% |
Medium |
Add Bold Tag in String |
43.1% |
Medium |
Non-overlapping Intervals |
42.9% |
Medium |
Contiguous Array |
42.8% |
Medium |
Ones and Zeroes |
42.8% |
Medium |
Longest Increasing Subsequence |
42.6% |
Medium |
Maximum Points You Can Obtain from Cards |
42.6% |
Medium |
Fruit Into Baskets |
42.5% |
Medium |
Diagonal Traverse II |
42.4% |
Medium |
Car Fleet |
42.3% |
Medium |
Sort List |
42.3% |
Medium |
Graph Valid Tree |
42.2% |
Medium |
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit |
42.1% |
Medium |
Solve the Equation |
42.0% |
Medium |
Circle and Rectangle Overlapping |
41.8% |
Medium |
Find the Celebrity |
41.8% |
Medium |
Minimum Genetic Mutation |
41.8% |
Medium |
Longest Absolute File Path |
41.8% |
Medium |
Longest Substring with At Least K Repeating Characters |
41.4% |
Medium |
Pacific Atlantic Water Flow |
41.1% |
Medium |
Asteroid Collision |
41.0% |
Medium |
Maximum Width of Binary Tree |
41.0% |
Medium |
Find K Closest Elements |
40.9% |
Medium |
Bag of Tokens |
40.8% |
Medium |
Course Schedule II |
40.7% |
Medium |
Maximum Number of Non-Overlapping Subarrays With Sum Equals Target |
40.6% |
Medium |
Verify Preorder Serialization of a Binary Tree |
40.4% |
Medium |
Inorder Successor in BST |
40.4% |
Medium |
Guess Number Higher or Lower II |
40.3% |
Medium |
Number of Substrings With Only 1s |
40.3% |
Medium |
Word Break |
40.1% |
Medium |
Increasing Triplet Subsequence |
40.0% |
Medium |
Soup Servings |
39.9% |
Medium |
01 Matrix |
39.8% |
Medium |
Summary Ranges |
39.5% |
Medium |
Merge Intervals |
39.3% |
Medium |
Cheapest Flights Within K Stops |
39.3% |
Medium |
Domino and Tromino Tiling |
39.2% |
Medium |
Populating Next Right Pointers in Each Node II |
39.1% |
Medium |
Subarray Product Less Than K |
39.1% |
Medium |
Minimum Swaps To Make Sequences Increasing |
38.9% |
Medium |
Repeated DNA Sequences |
38.9% |
Medium |
Boundary of Binary Tree |
38.9% |
Medium |
Reverse Linked List II |
38.8% |
Medium |
Range Sum Query 2D - Immutable |
38.6% |
Medium |
Gas Station |
38.5% |
Medium |
Snakes and Ladders |
38.4% |
Medium |
Minimum Size Subarray Sum |
38.2% |
Medium |
Shortest Path in Binary Matrix |
38.2% |
Medium |
Add and Search Word - Data structure design |
38.1% |
Medium |
Largest Divisible Subset |
38.0% |
Medium |
Random Point in Non-overlapping Rectangles |
37.8% |
Medium |
Maximal Square |
37.7% |
Medium |
UTF-8 Validation |
37.5% |
Medium |
Linked List Cycle II |
37.3% |
Medium |
K-th Symbol in Grammar |
37.2% |
Medium |
Longest Mountain in Array |
37.2% |
Medium |
Reorder List |
37.1% |
Medium |
Snapshot Array |
37.0% |
Medium |
Convex Polygon |
37.0% |
Medium |
Basic Calculator II |
36.9% |
Medium |
Remove Duplicates from Sorted List II |
36.8% |
Medium |
Find K Pairs with Smallest Sums |
36.7% |
Medium |
Number of Subsequences That Satisfy the Given Sum Condition |
36.7% |
Medium |
Random Flip Matrix |
36.7% |
Medium |
Reconstruct Itinerary |
36.7% |
Medium |
Vertical Order Traversal of a Binary Tree |
36.6% |
Medium |
Search a 2D Matrix |
36.5% |
Medium |
House Robber II |
36.5% |
Medium |
Path with Maximum Probability |
36.5% |
Medium |
Palindrome Permutation II |
36.4% |
Medium |
Copy List with Random Pointer |
36.4% |
Medium |
ZigZag Conversion |
36.3% |
Medium |
Evaluate Reverse Polish Notation |
36.3% |
Medium |
Find First and Last Position of Element in Sorted Array |
36.2% |
Medium |
H-Index |
36.1% |
Medium |
Minimum Knight Moves |
36.1% |
Medium |
Largest BST Subtree |
35.8% |
Medium |
Champagne Tower |
35.8% |
Medium |
Unique Substrings in Wraparound String |
35.6% |
Medium |
Word Search |
35.6% |
Medium |
Array of Doubled Pairs |
35.6% |
Medium |
Majority Element II |
35.6% |
Medium |
Coin Change |
35.5% |
Medium |
Remove Nth Node From End of List |
35.2% |
Medium |
Clone Graph |
34.8% |
Medium |
Swap Adjacent in LR String |
34.8% |
Medium |
Jump Game |
34.6% |
Medium |
New 21 Game |
34.6% |
Medium |
Range Sum Query - Mutable |
34.6% |
Medium |
Unique Paths II |
34.6% |
Medium |
Remove Comments |
34.6% |
Medium |
Search in Rotated Sorted Array |
34.5% |
Medium |
Design Snake Game |
34.2% |
Medium |
Spiral Matrix |
34.1% |
Medium |
Longest Uncommon Subsequence II |
34.0% |
Medium |
Add Two Numbers |
33.9% |
Medium |
Multiply Strings |
33.9% |
Medium |
Mini Parser |
33.8% |
Medium |
4Sum |
33.7% |
Medium |
LRU Cache |
33.2% |
Medium |
Delete Columns to Make Sorted II |
33.2% |
Medium |
Search in Rotated Sorted Array II |
33.0% |
Medium |
Integer Replacement |
32.9% |
Medium |
Valid Tic-Tac-Toe State |
32.6% |
Medium |
Sentence Screen Fitting |
32.6% |
Medium |
Next Permutation |
32.6% |
Medium |
One Edit Distance |
32.3% |
Medium |
Minimum Height Trees |
32.3% |
Medium |
Smallest Integer Divisible by K |
32.1% |
Medium |
Line Reflection |
31.8% |
Medium |
Maximum Product Subarray |
31.7% |
Medium |
Nth Digit |
31.7% |
Medium |
Insert into a Sorted Circular Linked List |
31.6% |
Medium |
Encode and Decode Strings |
31.5% |
Medium |
Nth Highest Salary |
31.4% |
Medium |
Valid Parenthesis String |
31.0% |
Medium |
Water and Jug Problem |
30.6% |
Medium |
Longest Substring Without Repeating Characters |
30.4% |
Medium |
Pow(x;n) |
30.3% |
Medium |
Find Two Non-overlapping Sub-arrays Each With Target Sum |
30.0% |
Medium |
Wiggle Sort II |
29.9% |
Medium |
Word Ladder |
29.6% |
Medium |
Longest Palindromic Substring |
29.5% |
Medium |
Circular Array Loop |
29.4% |
Medium |
132 Pattern |
28.9% |
Medium |
Can I Win |
28.8% |
Medium |
Largest Number |
28.8% |
Medium |
Remove K Digits |
28.4% |
Medium |
Surrounded Regions |
28.1% |
Medium |
Validate Binary Search Tree |
27.8% |
Medium |
Compare Version Numbers |
27.4% |
Medium |
3Sum |
26.8% |
Medium |
Word Frequency |
25.8% |
Medium |
Avoid Flood in The City |
25.3% |
Medium |
Decode Ways |
24.7% |
Medium |
Continuous Subarray Sum |
24.6% |
Medium |
Missing Ranges |
24.3% |
Medium |
Validate IP Address |
24.1% |
Medium |
Sequence Reconstruction |
22.2% |
Medium |
Reverse Words in a String |
21.9% |
Medium |
Unique Word Abbreviation |
21.9% |
Medium |
Fraction to Recurring Decimal |
21.6% |
Medium |
Contains Duplicate III |
20.9% |
Medium |
Divide Two Integers |
16.4% |
Medium |
String to Integer (atoi) |
15.4% |
Medium |
Unique Paths III |
73.3% |
Hard |
Robot Room Cleaner |
69.7% |
Hard |
Minimum Number of Flips to Convert Binary Matrix to Zero Matrix |
69.5% |
Hard |
Employee Free Time |
66.3% |
Hard |
Cherry Pickup II |
65.7% |
Hard |
Minimum Distance to Type a Word Using Two Fingers |
62.3% |
Hard |
Brace Expansion II |
62.2% |
Hard |
Parallel Courses |
61.1% |
Hard |
Minimum Falling Path Sum II |
60.9% |
Hard |
Optimize Water Distribution in a Village |
60.9% |
Hard |
Maximum Frequency Stack |
60.6% |
Hard |
Number of Submatrices That Sum to Target |
60.4% |
Hard |
Move Sub-Tree of N-Ary Tree |
60.1% |
Hard |
My Calendar III |
60.0% |
Hard |
Serialize and Deserialize N-ary Tree |
59.4% |
Hard |
Sliding Puzzle |
59.3% |
Hard |
Longest Chunked Palindrome Decomposition |
58.6% |
Hard |
Minimum Insertion Steps to Make a String Palindrome |
58.1% |
Hard |
Median Employee Salary |
57.7% |
Hard |
Minimum Number of Increments on Subarrays to Form a Target Array |
57.7% |
Hard |
Best Meeting Point |
57.5% |
Hard |
Design Skiplist |
57.3% |
Hard |
Divide Array Into Increasing Sequences |
56.9% |
Hard |
Stone Game III |
56.1% |
Hard |
Triples with Bitwise AND Equal To Zero |
55.6% |
Hard |
Binary Tree Postorder Traversal |
55.0% |
Hard |
Word Abbreviation |
54.3% |
Hard |
Minimum Cost to Make at Least One Valid Path in a Grid |
54.3% |
Hard |
Couples Holding Hands |
54.3% |
Hard |
Delete Columns to Make Sorted III |
53.6% |
Hard |
Remove 9 |
53.3% |
Hard |
Swim in Rising Water |
53.1% |
Hard |
Number of Ways of Cutting a Pizza |
52.8% |
Hard |
Smallest Range Covering Elements from K Lists |
52.4% |
Hard |
Divide Chocolate |
52.4% |
Hard |
Shortest Path Visiting All Nodes |
52.0% |
Hard |
Burst Balloons |
51.8% |
Hard |
Smallest Rectangle Enclosing Black Pixels |
51.6% |
Hard |
Closest Binary Search Tree Value II |
50.5% |
Hard |
Cracking the Safe |
50.5% |
Hard |
Tiling a Rectangle with the Fewest Squares |
50.1% |
Hard |
Minimum Cost to Hire K Workers |
49.6% |
Hard |
Number of Atoms |
49.0% |
Hard |
Trapping Rain Water |
48.9% |
Hard |
Max Chunks To Make Sorted II |
48.7% |
Hard |
Subarrays with K Different Integers |
48.6% |
Hard |
Critical Connections in a Network |
48.6% |
Hard |
Stream of Characters |
48.3% |
Hard |
Basic Calculator IV |
48.1% |
Hard |
Word Squares |
47.7% |
Hard |
Sort Items by Groups Respecting Dependencies |
47.6% |
Hard |
Serialize and Deserialize Binary Tree |
47.5% |
Hard |
Parse Lisp Expression |
47.5% |
Hard |
Rectangle Area II |
47.5% |
Hard |
Data Stream as Disjoint Intervals |
47.3% |
Hard |
Minimum Cost to Cut a Stick |
47.2% |
Hard |
Encode String with Shortest Length |
47.1% |
Hard |
Optimal Account Balancing |
46.9% |
Hard |
Minimize Max Distance to Gas Station |
46.9% |
Hard |
N-Queens |
46.6% |
Hard |
Smallest Sufficient Team |
46.6% |
Hard |
Transform to Chessboard |
46.5% |
Hard |
Number of Music Playlists |
46.5% |
Hard |
24 Game |
46.4% |
Hard |
Distinct Echo Substrings |
46.4% |
Hard |
Maximum Sum of 3 Non-Overlapping Subarrays |
46.3% |
Hard |
Guess the Word |
46.1% |
Hard |
Making A Large Island |
45.7% |
Hard |
Kth Smallest Number in Multiplication Table |
45.6% |
Hard |
Longest Consecutive Sequence |
45.1% |
Hard |
Edit Distance |
44.8% |
Hard |
Design Search Autocomplete System |
44.7% |
Hard |
Pizza With 3n Slices |
44.7% |
Hard |
Paint House II |
44.6% |
Hard |
Split Array Largest Sum |
44.5% |
Hard |
Max Value of Equation |
44.4% |
Hard |
Find Median from Data Stream |
44.3% |
Hard |
Longest Substring with At Most K Distinct Characters |
44.1% |
Hard |
Confusing Number II |
44.0% |
Hard |
Maximum Profit in Job Scheduling |
44.0% |
Hard |
Sum of Distances in Tree |
43.7% |
Hard |
Concatenated Words |
43.7% |
Hard |
Sudoku Solver |
43.6% |
Hard |
Minimum Number of Taps to Open to Water a Garden |
43.6% |
Hard |
Longest Increasing Path in a Matrix |
43.4% |
Hard |
Remove Invalid Parentheses |
43.3% |
Hard |
Number of Ways to Stay in the Same Place After Some Steps |
43.2% |
Hard |
Freedom Trail |
43.0% |
Hard |
Sliding Window Maximum |
43.0% |
Hard |
Find the Shortest Superstring |
42.9% |
Hard |
Shortest Path in a Grid with Obstacles Elimination |
42.8% |
Hard |
Stamping The Sequence |
42.8% |
Hard |
Bus Routes |
42.5% |
Hard |
Trapping Rain Water II |
42.4% |
Hard |
Odd Even Jump |
42.2% |
Hard |
Reverse Nodes in k-Group |
42.1% |
Hard |
Minimize Malware Spread |
42.0% |
Hard |
Form Largest Integer With Digits That Add up to Target |
41.8% |
Hard |
Minimum Window Subsequence |
41.8% |
Hard |
Count Different Palindromic Subsequences |
41.8% |
Hard |
Find Minimum in Rotated Sorted Array II |
41.6% |
Hard |
Distinct Subsequences II |
41.5% |
Hard |
Count of Smaller Numbers After Self |
41.5% |
Hard |
Shortest Distance from All Buildings |
41.4% |
Hard |
Basic Calculator III |
41.3% |
Hard |
The Maze III |
41.0% |
Hard |
Maximum Vacation Days |
40.8% |
Hard |
Merge k Sorted Lists |
40.2% |
Hard |
Longest Happy Prefix |
40.1% |
Hard |
Number of Islands II |
40.1% |
Hard |
Shortest Path to Get All Keys |
40.1% |
Hard |
Profitable Schemes |
39.8% |
Hard |
Minimum Cost to Merge Stones |
39.8% |
Hard |
Frog Jump |
39.7% |
Hard |
Recover Binary Search Tree |
39.7% |
Hard |
Strobogrammatic Number III |
39.6% |
Hard |
Race Car |
39.0% |
Hard |
Online Majority Element In Subarray |
39.0% |
Hard |
Similar String Groups |
38.6% |
Hard |
Range Module |
38.5% |
Hard |
Permutation Sequence |
38.4% |
Hard |
Distinct Subsequences |
38.3% |
Hard |
K-Similar Strings |
38.2% |
Hard |
Jump Game IV |
38.0% |
Hard |
Maximal Rectangle |
37.7% |
Hard |
Numbers With Repeated Digits |
37.5% |
Hard |
Best Time to Buy and Sell Stock III |
37.5% |
Hard |
Binary Tree Cameras |
37.5% |
Hard |
Minimum Time to Build Blocks |
37.4% |
Hard |
Max Sum of Rectangle No Larger Than K |
37.3% |
Hard |
Sliding Window Median |
37.2% |
Hard |
Basic Calculator |
36.8% |
Hard |
Student Attendance Record II |
36.7% |
Hard |
Minimum Unique Word Abbreviation |
36.3% |
Hard |
Erect the Fence |
35.9% |
Hard |
Find in Mountain Array |
35.8% |
Hard |
Remove Duplicate Letters |
35.8% |
Hard |
String Transforms Into Another String |
35.8% |
Hard |
Smallest Good Base |
35.7% |
Hard |
Russian Doll Envelopes |
35.6% |
Hard |
K Empty Slots |
35.6% |
Hard |
Range Sum Query 2D - Mutable |
35.6% |
Hard |
Expression Add Operators |
35.5% |
Hard |
Escape a Large Maze |
35.4% |
Hard |
Count of Range Sum |
35.2% |
Hard |
Largest Rectangle in Histogram |
35.2% |
Hard |
Word Search II |
34.9% |
Hard |
Rearrange String k Distance Apart |
34.9% |
Hard |
Minimum Window Substring |
34.6% |
Hard |
The Skyline Problem |
34.6% |
Hard |
Patching Array |
34.5% |
Hard |
Department Top Three Salaries |
34.5% |
Hard |
Tag Validator |
34.3% |
Hard |
Binary Tree Maximum Path Sum |
34.3% |
Hard |
LFU Cache |
34.2% |
Hard |
Prefix and Suffix Search |
34.1% |
Hard |
Insert Delete GetRandom O(1) - Duplicates allowed |
34.1% |
Hard |
Cherry Pickup |
33.9% |
Hard |
Read N Characters Given Read4 II - Call multiple times |
33.8% |
Hard |
Palindrome Pairs |
33.7% |
Hard |
Scramble String |
33.7% |
Hard |
Frog Position After T Seconds |
33.6% |
Hard |
Course Schedule III |
33.5% |
Hard |
Insert Interval |
33.5% |
Hard |
Alien Dictionary |
33.3% |
Hard |
Super Palindromes |
32.7% |
Hard |
Word Break II |
32.6% |
Hard |
Random Pick with Blacklist |
32.5% |
Hard |
Redundant Connection II |
32.4% |
Hard |
All O`one Data Structure |
32.4% |
Hard |
Dungeon Game |
32.3% |
Hard |
First Missing Positive |
32.0% |
Hard |
Maximum Average Subarray II |
32.0% |
Hard |
Parallel Courses II |
32.0% |
Hard |
Longest Duplicate Substring |
31.9% |
Hard |
Candy |
31.6% |
Hard |
Interleaving String |
31.5% |
Hard |
Find K-th Smallest Pair Distance |
31.5% |
Hard |
Minimum Number of Refueling Stops |
31.4% |
Hard |
Cat and Mouse |
31.3% |
Hard |
Bricks Falling When Hit |
30.8% |
Hard |
Jump Game II |
30.6% |
Hard |
Perfect Rectangle |
30.5% |
Hard |
Largest Component Size by Common Factor |
30.3% |
Hard |
Palindrome Partitioning II |
30.2% |
Hard |
Shortest Palindrome |
29.8% |
Hard |
Median of Two Sorted Arrays |
29.6% |
Hard |
Reaching Points |
29.4% |
Hard |
K-th Smallest in Lexicographical Order |
29.1% |
Hard |
Coin Path |
29.0% |
Hard |
Longest Valid Parentheses |
28.4% |
Hard |
Self Crossing |
28.0% |
Hard |
Best Time to Buy and Sell Stock IV |
28.0% |
Hard |
Text Justification |
27.7% |
Hard |
Kth Ancestor of a Tree Node |
27.6% |
Hard |
Super Egg Drop |
27.1% |
Hard |
Integer to English Words |
27.1% |
Hard |
Create Maximum Number |
27.0% |
Hard |
Regular Expression Matching |
26.8% |
Hard |
Decode Ways II |
26.6% |
Hard |
Split Array With Same Average |
26.4% |
Hard |
Substring with Concatenation of All Words |
25.4% |
Hard |
Reverse Pairs |
25.2% |
Hard |
Wildcard Matching |
24.7% |
Hard |
Shortest Subarray with Sum at Least K |
24.6% |
Hard |
Word Ladder II |
22.1% |
Hard |
Find the Closest Palindrome |
19.7% |
Hard |
Max Points on a Line |
16.9% |
Hard |
Valid Number |
15.3% |
Hard |
Strong Password Checker |
14.0% |
Hard |
[Title](Leetcode Question Link) |
Acceptance |
nan |