easy
-
Two Sum: Your runtime beats 99.86 % of java submissions.
-
Jewels and Stones: Your runtime beats 16.93 % of java submissions.
-
To Lower Case: Your runtime beats 100.00 % of java submissions.
-
Big Countries: Your runtime beats 14.01 % of mysql submissions.
-
Design Linked List: Your runtime beats 95.40 % of java submissions.
-
Unique Morse Code Words: Your runtime beats 84.85 % of java submissions.
-
Sum of Square Numbers: Your runtime beats 21.44 % of java submissions.
-
N-ary Tree Level Order Traversal: Your runtime beats 86.20 % of java submissions.
-
Merge Two Binary Trees: Your runtime beats 96.79 % of java submissions.
-
Employee Importance: Your runtime beats 41.82 % of java submissions.
-
Peak Index in a Mountain Array
-
1-bit and 2-bit Characters
-
Middle of the Linked List
-
Number of Lines To Write String
-
Array Partition I
-
Plus One
-
Two Sum II - Input array is sorted
-
Two Sum IV - Input is a BST
-
Move Zeroes
-
Fizz Buzz
-
Maximum Product of Three Numbers
-
Remove Element
-
Reverse Linked List
-
Delete Node in a Linked List
-
Remove Linked List Elements
-
Remove Duplicates from Sorted List
-
Transpose Matrix
-
Can Place Flowers
-
Sort Array By Parity
-
Monotonic Array
-
Merge Two Sorted Lists
-
Search in a Binary Search Tree
-
Merge Sorted Array
-
First Bad Version
-
Search Insert Position
-
Missing Number
-
Sort Array By Parity II
-
Repeated String Match
-
Maximum Depth of Binary Tree
-
Maximum Subarray
-
Binary Gap
-
Assign Cookies
-
Binary Search
-
Unique Email Addresses
-
Goat Latin
-
Buddy Strings
-
Min Stack
-
Squares of a Sorted Array
-
N-Repeated Element in Size 2N Array
-
Robot Return to Origin
-
Number of 1 Bits
-
Hamming Distance
-
Self Dividing Numbers
-
Fibonacci Number
-
Not Boring Movies
-
Contains Duplicate
-
Lemonade Change
-
DI String Match
-
Reverse String
-
Shortest Distance to a Character
-
Design HashMap
-
Reverse Only Letters
-
Max Consecutive Ones
-
Univalued Binary Tree
-
Cousins in Binary Tree
-
Range Sum of BST
-
Keyboard Row
-
Customers Who Never Order
-
Complement of Base 10 Integer
-
Number Complement
-
First Unique Character in a String
-
Remove All Adjacent Duplicates In String
-
Binary Tree Level Order Traversal II
-
Average of Levels in Binary Tree
-
Subdomain Visit Count
-
Occurrences After Bigram
-
Verifying an Alien Dictionary
-
Duplicate Zeros
-
Sum of Even Numbers After Queries
-
Backspace String Compare
-
Reverse Words in a String III
-
Add Strings
-
Reverse String II
-
Implement strStr()
-
Defanging an IP Address
-
Relative Sort Array
-
Check If a Number Is Majority Element in a Sorted Array
-
Greatest Common Divisor of Strings
-
N-ary Tree Preorder Traversal
-
How Many Numbers Are Smaller Than the Current Number
-
Number of Steps to Reduce a Number to Zero
-
Decompress Run-Length Encoded List
-
Leaf-Similar Trees
-
Count Negative Numbers in a Sorted Matrix
-
Maximum 69 Number
-
Best Time to Buy and Sell Stock II
-
Valid Anagram
-
Diameter of Binary Tree
-
Last Stone Weight
-
Arranging Coins
-
Reverse Integer
-
Palindrome Number
-
Summary Ranges
-
Running Sum of 1d Array
-
Determine if String Halves Are Alike
-
Convert Sorted Array to Binary Search Tree
-
Minimum Depth of Binary Tree
-
Roman to Integer
-
Decode XORed Array
-
Path Sum
-
Binary Tree Tilt
-
Find the Town Judge
-
Pairs of Songs With Total Durations Divisible by 60
-
Word Pattern
-
Valid Parentheses
-
Longest Common Prefix
-
Detect Capital
-
Valid Mountain Array
-
Two Sum Less Than K
-
Find the Difference
-
Excel Sheet Column Number
-
Valid Palindrome
-
Moving Average from Data Stream
-
Toeplitz Matrix
-
Valid Word Abbreviation
-
Valid Palindrome II
-
Linked List Cycle
-
Find the Difference
-
Kth Largest Element in a Stream
-
Baseball Game
medium
-
Max Increase to Keep City Skyline: Your runtime beats 25.32 % of java submissions.
-
Encode and Decode TinyURL: Your runtime beats 51.66 % of java submissions.
-
Find Peak Element
89. Gray Code
-
Split Linked List in Parts
-
Swap Nodes in Pairs
-
Reverse Linked List II
529. Minesweeper
-
Remove Duplicates from Sorted List II
-
Find Minimum in Rotated Sorted Array
-
Search in Rotated Sorted Array
-
Teemo Attacking
56. Merge Intervals
-
Asteroid Collision
-
Sort Colors
-
Find First and Last Position of Element in Sorted Array
-
Insertion Sort List
-
Sort List
-
Array Nesting
-
Remove Comments
-
Jump Game
-
Task Scheduler
-
Beautiful Array
-
Find And Replace in String
-
My Calendar I
-
Odd Even Linked List
-
Longest Increasing Subsequence
-
Custom Sort String
-
Range Sum of BST
-
Binary Tree Pruning
712. Minimum ASCII Delete Sum for Two Strings
-
Number of Islands
-
Remove Duplicates from Sorted Array
-
Search a 2D Matrix II
-
Subsets
-
Max Consecutive Ones III
-
Validate Binary Search Tree
-
Binary Tree Inorder Traversal
-
Binary Tree Preorder Traversal
-
Perfect Squares
-
Maximum Product of Word Lengths
-
Longest Substring Without Repeating Characters
-
Sort Characters By Frequency
-
Find and Replace Pattern
-
Palindromic Substrings
-
Symmetric Tree
-
Find Largest Value in Each Tree Row
-
Basic Calculator II
-
Binary Tree Level Order Traversal
-
Sort an Array
-
Binary Search Tree Iterator
-
Validate Stack Sequences
-
Map Sum Pairs
-
Largest Values From Labels
-
Statistics from a Large Sample
-
Car Pooling
-
Flatten a Multilevel Doubly Linked List
-
Kth Smallest Element in a BST
-
Minimum Swaps to Group All 1's Together
-
Analyze User Website Visit Pattern
-
Find a Corresponding Node of a Binary Tree in a Clone of That Tree
-
Flatten Nested List Iterator
-
Path In Zigzag Labelled Binary Tree
-
Group Anagrams
-
Contiguous Array
-
Product of Array Except Self
-
Last Stone Weight II
-
LRU Cache
-
Peeking Iterator
-
Flatten Binary Tree to Linked List
-
Average Waiting Time
-
Range Sum of Sorted Subarray Sums
-
Non-decreasing Array
-
Maximum Binary String After Change
-
Jump Game II
-
Group the People Given the Group Size They Belong To
-
Convert Sorted List to Binary Search Tree
-
Where Will the Ball Fall
-
Array Nesting
-
Sum Root to Leaf Numbers
-
Copy List with Random Pointer
-
Reorder List
-
Single Number III
-
Word Break
1286. Iterator for Combination
-
Unique Paths
-
Interval List Intersections
-
Jump Game III
-
Maximum Product Subarray
-
House Robber
-
House Robber II
-
House Robber III
-
Maximize Distance to Closest Person
-
Meeting Rooms II
-
Rotate Image
-
Container With Most Water
-
Linked List Cycle II
-
Check If Word Is Valid After Substitutions
-
Sequential Digits
-
Gas Station
-
Find All Anagrams in a String
-
Permutation in String
-
The Earliest Moment When Everyone Become Friends
-
Number of Provinces
-
Bomb Enemy
-
Remove Covered Intervals
-
Rotate Array
-
Buildings With an Ocean View
-
Minimum Add to Make Parentheses Valid
-
Minimum Number of Swaps to Make the String Balanced
-
Simplify Path
-
Remove Duplicates from Sorted Array II
-
Binary Tree Right Side View
-
Nested List Weight Sum
-
Minimum Add to Make Parentheses Valid
-
Lowest Common Ancestor of a Binary Tree
-
Accounts Merge
-
Binary Tree Vertical Order Traversal
-
Merge Intervals
-
Convert Binary Search Tree to Sorted Doubly Linked List
-
Lowest Common Ancestor of a Binary Tree III
-
Capacity To Ship Packages Within D Days
-
Next Permutation
-
Minimum Remove to Make Valid Parentheses
-
Maximum Length of Repeated Subarray
-
Brace Expansion
-
Swapping Nodes in a Linked List
-
Game of Life
-
Spiral Matrix II
-
Convert BST to Greater Tree
-
Recover Binary Search Tree
-
Kth Smallest Element in a BST
-
Trim a Binary Search Tree
hard
-
Find Minimum in Rotated Sorted Array II
-
Reverse Nodes in k-Group
316. Remove Duplicate Letters
-
Merge k Sorted Lists
-
Special Binary String
-
Sliding Window Maximum
-
Odd Even Jump
-
Binary Tree Postorder Traversal
-
Find Median from Data Stream
-
Basic Calculator
-
Longest Consecutive Sequence
-
Find in Mountain Array
-
Count of Smaller Numbers After Self
-
Binary Tree Maximum Path Sum
-
Maximum XOR With an Element From Array
-
Create Maximum Number
-
Jump Game IV
-
Data Stream as Disjoint Intervals
=============== Log ===============
- 2018-09-16: 24-6-0
- 2018-09-17: 25-7-0
- 2018-09-18: 26-8-1
- 2018-09-19: 27-10-1
- 2018-09-19: 27-10-2
- 2018-09-27: 29-11-2
- 2018-10-14: 31-11-2
- 2018-10-20: 31-12-2
- 2018-10-25: 32-13-2
- 2018-10-25: 36-13-2
- 2018-10-28: 37-13-3
- 2018-10-29: 37-14-3
- 2018-11-06: 38-15-3
- 2018-11-23: 40-17-3
- 2018-11-24: 42-19-3
- 2018-11-26: 44-19-3
- 2018-11-30: 45-20-3
- 2018-12-04: 45-21-4
- 2019-01-24: 46-21-5
- 2019-01-30: 48-22-5
- 2019-02-22: 52-23-6
- 2019-03-07: 54-24-6
- 2019-04-02: 56-25-6
- 2019-04-08: 58-26-6
- 2019-04-08: 58-26-6
- 2019-04-08: 58-26-6
- 2019-04-21: 60-27-6
- 2019-05-26: 65-33-6
- 2019-05-31: 69-38-8
- 2019-06-01: 70-39-9
- 2019-06-01: 70-39-8
- 2019-06-10: 72-45-10
- 2019-06-15: 74-46-10 | sum: 130
- 2019-06-21: 77-50-10 | sum: 137
- 2019-06-26: 78-51-10 | sum: 139
- 2019-06-26: 78-52-10 | sum: 140
- 2019-11-16: 88-56-11 | sum: 155
- 2019-11-16: 88-56-11 | sum: 155
- 2020-03-02: 89-56-12 | sum: 157
- 2020-03-14: 91-57-12 | sum: 160
- 2020-04-01: 92-58-12 | sum: 162
- 2020-04-05: 95-59-12 | sum: 166
- 2020-04-15: 98-62-12 | sum: 172
- 2020-07-01: 98-64-13 | sum: 175
- 2020-09-19: 99-66-13 | sum: 178
- 2020-10-27: 99-68-13 | sum: 180
- 2021-05-05: 103-69-13 | sum: 185
- 2021-11-06: 109-79-15 | sum: 203
- 2022-01-01: 109-85-15 | sum: 209
- 2022-01-17: 113-90-16 | sum: 219
- 2022-02-21: 120-101-16 | sum: 237
- 2022-03-08: 123-115-17 | sum: 255
- 2022-04-09: 129-122-17 | sum: 268
- 2022-04-21: 130-128-17 | sum: 275