0018 |
4Sum |
Java |
O(n*n) |
- |
O(n*n) |
Medium |
Math |
0029 |
Divide Two Integers |
Java |
- |
- |
- |
Medium |
Math |
0031 |
Next Permutation |
Java |
- |
- |
- |
Medium |
Math |
0043 |
Multiply Strings |
Java |
|
|
|
Medium |
Math |
0047 |
Permutations II |
Java |
|
|
|
Medium |
Math |
0050 |
Pow(x, n) |
Java |
O(lgn) |
99.47% |
O(1) |
Medium |
Math |
0060 |
Permutation Sequence |
Java |
- |
- |
- |
Medium |
Math |
0065 |
Valid Number |
Java |
- |
- |
- |
Hard |
Math |
0066 |
Plus One |
Java |
- |
- |
- |
Easy |
Math |
0067 |
Add Binary |
Java |
- |
- |
- |
Easy |
Math |
0069 |
Sqrt(x) |
Java |
- |
- |
- |
Easy |
Math |
0077 |
Combinations |
Java |
- |
- |
- |
Medium |
Math |
0168 |
Excel Sheet Column Title |
Java |
O(lgn) |
2MS |
O(n) |
Easy |
Math |
0171 |
Excel Sheet Column Number |
Java |
O(lgn) |
0MS |
O(n) |
Easy |
Math |
0172 |
Factorial Trailing Zeroes |
Java |
O(lgn) |
1MS |
O(1) |
Easy |
Math |
0179 |
Largest Number |
Java |
O(n*n) |
99.89% |
O(n) |
Medium |
Math |
0202 |
Happy Number |
Java |
- |
5MS |
O(1) |
Easy |
Math |
0204 |
Count Primes |
Java |
- |
22MS |
O(n) |
Easy |
Math |
0223 |
Rectangle Area |
Java |
- |
- |
- |
Medium |
Math |
0263 |
Ugly Number |
Java |
- |
- |
- |
Easy |
Math |
0264 |
Ugly Number II |
Java |
- |
- |
- |
Medium |
Math |
0313 |
Super Ugly Number |
Java |
- |
- |
- |
Medium |
Math |
0319 |
Bulb Switcher |
Java |
- |
- |
- |
Medium |
Math |
0326 |
Power of Three |
Java |
- |
- |
- |
Easy |
Math |
0335 |
Self Crossing |
Java |
O(n) |
0ms |
O(1) |
Hard |
Math |
0338 |
Counting Bits |
Java |
O(n) |
2ms |
O(n) |
Medium |
Math |
0365 |
Water and Jug Problem |
Java |
- |
- |
- |
Medium |
Math |
0367 |
Valid Perfect Square |
Java |
- |
- |
- |
Easy |
Math |
0368 |
Largest Divisible Subset |
Java |
- |
- |
- |
Medium |
Math |
0372 |
Super Pow |
Java |
- |
- |
- |
Medium |
Math |
0390 |
Elimination Game |
Java |
- |
- |
- |
Medium |
Math |
0396 |
Rotate Function |
Java |
- |
- |
- |
Medium |
Math |
0400 |
Nth Digit |
Java |
- |
- |
- |
Easy |
Math |
0412 |
Fizz Buzz |
Java |
- |
- |
- |
Easy |
Math |
0415 |
Add Strings |
Java |
- |
- |
- |
Easy |
Math |
0423 |
Reconstruct Original Digits from English |
Java |
- |
- |
- |
Medium |
Math |
0440 |
K-th Smallest in Lexicographical Order |
Java |
- |
- |
- |
Hard |
Math |
0453 |
Minimum Moves to Equal Array Elements |
Java |
- |
- |
- |
Easy |
Math |
0454 |
4Sum II |
Java |
O(n*n) |
97.52% |
O(n) |
Medium |
Math |
0462 |
Minimum Moves to Equal Array Elements II |
Java |
- |
- |
- |
Medium |
Math |
0470 |
Implement Rand10() Using Rand7() |
Java |
- |
- |
- |
Medium |
Math |
0478 |
Generate Random Point in a Circle |
Java |
- |
- |
- |
Medium |
Math |
0479 |
Largest Palindrome Product |
Java |
- |
- |
- |
Easy |
Math |
0492 |
Construct the Rectangle |
Java |
- |
- |
- |
Easy |
Math |
0504 |
Base 7 |
Java |
- |
- |
- |
Easy |
Math |
0506 |
Relative Ranks |
Java |
- |
- |
- |
Easy |
Math |
0507 |
Perfect Number |
Java |
- |
- |
- |
Easy |
Math |
0518 |
Coin Change 2 |
Java |
- |
- |
- |
Medium |
Math |
0519 |
Random Flip Matrix |
Java |
- |
- |
- |
Medium |
Math |
0535 |
Encode and Decode TinyURL |
Java |
- |
- |
- |
Medium |
Math |
0537 |
Complex Number Multiplication |
Java |
- |
- |
- |
Medium |
Math |
0592 |
Fraction Addition and Subtraction |
Java |
O(n) |
16MS |
O(n) |
Medium |
Math |
0593 |
Valid Square |
Java |
O(n) |
20MS |
O(1) |
Medium |
Math |
0600 |
Non-negative Integers without Consecutive Ones |
Java |
O(n) |
- |
O(n) |
Hard |
Math |