|
EASY
|
Two Sum |
84.5 |
0.56 |
View Problem
|
Array, Hash Table |
|
EASY
|
Palindrome Number |
76.6 |
0.59 |
View Problem
|
Math |
|
EASY
|
Majority Element |
72.2 |
0.66 |
View Problem
|
Array, Hash Table, Divide and Conquer, Sorting, Counting |
|
EASY
|
Best Time to Buy and Sell Stock |
68.6 |
0.55 |
View Problem
|
Array, Dynamic Programming |
|
MEDIUM
|
Maximum Subarray |
66.5 |
0.52 |
View Problem
|
Array, Divide and Conquer, Dynamic Programming |
|
EASY
|
Longest Common Prefix |
64.1 |
0.45 |
View Problem
|
String, Trie |
|
EASY
|
Valid Parentheses |
61.4 |
0.42 |
View Problem
|
String, Stack |
|
EASY
|
Fibonacci Number |
61.4 |
0.73 |
View Problem
|
Math, Dynamic Programming, Recursion, Memoization |
|
MEDIUM
|
Subarray Sum Equals K |
61.4 |
0.45 |
View Problem
|
Array, Hash Table, Prefix Sum |
|
EASY
|
Move Zeroes |
61.4 |
0.63 |
View Problem
|
Array, Two Pointers |
|
MEDIUM
|
Rotate Array |
61.4 |
0.43 |
View Problem
|
Array, Math, Two Pointers |
|
EASY
|
Count the Digits That Divide a Number |
59.9 |
0.86 |
View Problem
|
Math |
|
MEDIUM
|
Jump Game |
59.9 |
0.39 |
View Problem
|
Array, Dynamic Programming, Greedy |
|
EASY
|
Maximum Ascending Subarray Sum |
59.9 |
0.66 |
View Problem
|
Array |
|
MEDIUM
|
Reverse Integer |
59.9 |
0.30 |
View Problem
|
Math |
|
EASY
|
Merge Sorted Array |
56.4 |
0.53 |
View Problem
|
Array, Two Pointers, Sorting |
|
MEDIUM
|
Unique Paths |
56.4 |
0.66 |
View Problem
|
Math, Dynamic Programming, Combinatorics |
|
EASY
|
Roman to Integer |
56.4 |
0.65 |
View Problem
|
Hash Table, Math, String |
|
EASY
|
Remove Letter To Equalize Frequency |
56.4 |
0.18 |
View Problem
|
Hash Table, String, Counting |
|
EASY
|
Minimum Cuts to Divide a Circle |
56.4 |
0.55 |
View Problem
|
Math, Geometry |
|
EASY
|
Single Number |
56.4 |
0.76 |
View Problem
|
Array, Bit Manipulation |
|
EASY
|
Valid Anagram |
56.4 |
0.67 |
View Problem
|
Hash Table, String, Sorting |
|
EASY
|
Minimum Operations to Exceed Threshold Value I |
56.4 |
0.86 |
View Problem
|
Array |
|
MEDIUM
|
Minimum Operations to Exceed Threshold Value II |
56.4 |
0.46 |
View Problem
|
Array, Heap (Priority Queue), Simulation |
|
HARD
|
Palindrome Partitioning IV |
56.4 |
0.45 |
View Problem
|
String, Dynamic Programming |
|
MEDIUM
|
3Sum |
54.4 |
0.37 |
View Problem
|
Array, Two Pointers, Sorting |
|
MEDIUM
|
Bitwise ORs of Subarrays |
54.4 |
0.41 |
View Problem
|
Array, Dynamic Programming, Bit Manipulation |
|
EASY
|
Climbing Stairs |
54.4 |
0.54 |
View Problem
|
Math, Dynamic Programming, Memoization |
|
EASY
|
Find the Index of the First Occurrence in a String |
54.4 |
0.45 |
View Problem
|
Two Pointers, String, String Matching |
|
EASY
|
Remove Duplicates from Sorted Array |
52.2 |
0.60 |
View Problem
|
Array, Two Pointers |
|
MEDIUM
|
Longest Palindromic Substring |
52.2 |
0.36 |
View Problem
|
Two Pointers, String, Dynamic Programming |
|
MEDIUM
|
Container With Most Water |
49.7 |
0.58 |
View Problem
|
Array, Two Pointers, Greedy |
|
EASY
|
Plus One |
49.7 |
0.48 |
View Problem
|
Array, Math |
|
MEDIUM
|
Pow(x, n) |
49.7 |
0.37 |
View Problem
|
Math, Recursion |
|
MEDIUM
|
Second Highest Salary |
49.7 |
0.44 |
View Problem
|
Database |
|
EASY
|
Length of Last Word |
49.7 |
0.56 |
View Problem
|
String |
|
MEDIUM
|
Sort Colors |
49.7 |
0.68 |
View Problem
|
Array, Two Pointers, Sorting |
|
HARD
|
Sliding Window Maximum |
46.8 |
0.48 |
View Problem
|
Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue |
|
EASY
|
Contains Duplicate |
46.8 |
0.63 |
View Problem
|
Array, Hash Table, Sorting |
|
EASY
|
Happy Number |
46.8 |
0.58 |
View Problem
|
Hash Table, Math, Two Pointers |
|
MEDIUM
|
Reverse Words in a String |
46.8 |
0.52 |
View Problem
|
Two Pointers, String |
|
HARD
|
Trapping Rain Water |
46.8 |
0.65 |
View Problem
|
Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack |
|
MEDIUM
|
Spiral Matrix |
46.8 |
0.54 |
View Problem
|
Array, Matrix, Simulation |
|
EASY
|
Missing Number |
46.8 |
0.70 |
View Problem
|
Array, Hash Table, Math, Binary Search, Bit Manipulation, Sorting |
|
MEDIUM
|
Best Time to Buy and Sell Stock II |
43.4 |
0.70 |
View Problem
|
Array, Dynamic Programming, Greedy |
|
MEDIUM
|
Add Two Numbers |
43.4 |
0.46 |
View Problem
|
Linked List, Math, Recursion |
|
MEDIUM
|
Set Matrix Zeroes |
43.4 |
0.61 |
View Problem
|
Array, Hash Table, Matrix |
|
EASY
|
Sqrt(x) |
43.4 |
0.40 |
View Problem
|
Math, Binary Search |
|
MEDIUM
|
Max Consecutive Ones III |
43.4 |
0.66 |
View Problem
|
Array, Binary Search, Sliding Window, Prefix Sum |
|
EASY
|
Check if Array Is Sorted and Rotated |
43.4 |
0.55 |
View Problem
|
Array |
|
MEDIUM
|
Longest Substring Without Repeating Characters |
43.4 |
0.37 |
View Problem
|
Hash Table, String, Sliding Window |
|
EASY
|
Toeplitz Matrix |
43.4 |
0.69 |
View Problem
|
Array, Matrix |
|
EASY
|
Merge Two Sorted Lists |
43.4 |
0.67 |
View Problem
|
Linked List, Recursion |
|
MEDIUM
|
Single Element in a Sorted Array |
39.2 |
0.59 |
View Problem
|
Array, Binary Search |
|
EASY
|
Fizz Buzz |
39.2 |
0.74 |
View Problem
|
Math, String, Simulation |
|
EASY
|
Reverse String |
39.2 |
0.80 |
View Problem
|
Two Pointers, String |
|
EASY
|
N-th Tribonacci Number |
39.2 |
0.64 |
View Problem
|
Math, Dynamic Programming, Memoization |
|
EASY
|
Add Binary |
39.2 |
0.56 |
View Problem
|
Math, String, Bit Manipulation, Simulation |
|
MEDIUM
|
K-diff Pairs in an Array |
39.2 |
0.45 |
View Problem
|
Array, Hash Table, Two Pointers, Binary Search, Sorting |
|
EASY
|
Find Customer Referee |
39.2 |
0.72 |
View Problem
|
Database |
|
EASY
|
Article Views I |
39.2 |
0.77 |
View Problem
|
Database |
|
HARD
|
Department Top Three Salaries |
39.2 |
0.58 |
View Problem
|
Database |
|
MEDIUM
|
4Sum |
39.2 |
0.38 |
View Problem
|
Array, Two Pointers, Sorting |
|
EASY
|
Reverse Linked List |
39.2 |
0.79 |
View Problem
|
Linked List, Recursion |
|
MEDIUM
|
Generate Parentheses |
39.2 |
0.77 |
View Problem
|
String, Dynamic Programming, Backtracking |
|
EASY
|
Rotate String |
33.9 |
0.64 |
View Problem
|
String, String Matching |
|
MEDIUM
|
Remove Duplicates from Sorted Array II |
33.9 |
0.63 |
View Problem
|
Array, Two Pointers |
|
MEDIUM
|
Edit Distance |
33.9 |
0.59 |
View Problem
|
String, Dynamic Programming |
|
HARD
|
Largest Rectangle in Histogram |
33.9 |
0.47 |
View Problem
|
Array, Stack, Monotonic Stack |
|
MEDIUM
|
Find First and Last Position of Element in Sorted Array |
33.9 |
0.47 |
View Problem
|
Array, Binary Search |
|
EASY
|
Binary Search |
33.9 |
0.60 |
View Problem
|
Array, Binary Search |
|
EASY
|
Same Tree |
33.9 |
0.65 |
View Problem
|
Tree, Depth-First Search, Breadth-First Search, Binary Tree |
|
EASY
|
Employee Bonus |
33.9 |
0.77 |
View Problem
|
Database |
|
MEDIUM
|
Longest Common Subsequence |
33.9 |
0.58 |
View Problem
|
String, Dynamic Programming |
|
EASY
|
Pascal's Triangle |
33.9 |
0.77 |
View Problem
|
Array, Dynamic Programming |
|
MEDIUM
|
Longest Consecutive Sequence |
33.9 |
0.47 |
View Problem
|
Array, Hash Table, Union Find |
|
MEDIUM
|
Maximum Product Subarray |
33.9 |
0.35 |
View Problem
|
Array, Dynamic Programming |
|
EASY
|
Sort Array by Increasing Frequency |
33.9 |
0.80 |
View Problem
|
Array, Hash Table, Sorting |
|
MEDIUM
|
Largest Number |
33.9 |
0.41 |
View Problem
|
Array, String, Greedy, Sorting |
|
MEDIUM
|
Sort Characters By Frequency |
33.9 |
0.74 |
View Problem
|
Hash Table, String, Sorting, Heap (Priority Queue), Bucket Sort, Counting |
|
MEDIUM
|
Next Permutation |
33.9 |
0.43 |
View Problem
|
Array, Two Pointers |
|
EASY
|
Power of Two |
33.9 |
0.48 |
View Problem
|
Math, Bit Manipulation, Recursion |
|
MEDIUM
|
Subsets |
33.9 |
0.81 |
View Problem
|
Array, Backtracking, Bit Manipulation |
|
EASY
|
How Many Numbers Are Smaller Than the Current Number |
26.5 |
0.87 |
View Problem
|
Array, Hash Table, Sorting, Counting Sort |
|
EASY
|
Students and Examinations |
26.5 |
0.60 |
View Problem
|
Database |
|
MEDIUM
|
Path with Maximum Probability |
26.5 |
0.65 |
View Problem
|
Array, Graph, Heap (Priority Queue), Shortest Path |
|
MEDIUM
|
Combination Sum |
26.5 |
0.75 |
View Problem
|
Array, Backtracking |
|
EASY
|
Sum of Unique Elements |
26.5 |
0.79 |
View Problem
|
Array, Hash Table, Counting |
|
MEDIUM
|
Search a 2D Matrix II |
26.5 |
0.55 |
View Problem
|
Array, Binary Search, Divide and Conquer, Matrix |
|
MEDIUM
|
Word Search |
26.5 |
0.45 |
View Problem
|
Array, String, Backtracking, Depth-First Search, Matrix |
|
MEDIUM
|
Peak Index in a Mountain Array |
26.5 |
0.68 |
View Problem
|
Array, Binary Search |
|
EASY
|
Number of Employees Who Met the Target |
26.5 |
0.88 |
View Problem
|
Array |
|
MEDIUM
|
Coin Change |
26.5 |
0.46 |
View Problem
|
Array, Dynamic Programming, Breadth-First Search |
|
MEDIUM
|
Partition List |
26.5 |
0.59 |
View Problem
|
Linked List, Two Pointers |
|
EASY
|
Big Countries |
26.5 |
0.68 |
View Problem
|
Database |
|
MEDIUM
|
3Sum Closest |
26.5 |
0.47 |
View Problem
|
Array, Two Pointers, Sorting |
|
MEDIUM
|
Count Primes |
26.5 |
0.35 |
View Problem
|
Array, Math, Enumeration, Number Theory |
|
EASY
|
First Unique Character in a String |
26.5 |
0.64 |
View Problem
|
Hash Table, String, Queue, Counting |
|
EASY
|
Intersection of Two Arrays |
26.5 |
0.76 |
View Problem
|
Array, Hash Table, Two Pointers, Binary Search, Sorting |
|
MEDIUM
|
Product of Array Except Self |
26.5 |
0.68 |
View Problem
|
Array, Prefix Sum |