|
|
|
@ -127,15 +127,15 @@
|
|
|
|
|
| | Easy | Medium | Hard | Total |
|
|
|
|
|
|:--------:|:--------:|:--------:|:--------:|:--------:|
|
|
|
|
|
|Optimizing|36|38|15|89|
|
|
|
|
|
|Accepted|**272**|**356**|**104**|**732**|
|
|
|
|
|
|Total|472|954|382|1808|
|
|
|
|
|
|Perfection Rate|86.8%|89.3%|85.6%|87.8%|
|
|
|
|
|
|Completion Rate|57.6%|37.3%|27.2%|40.5%|
|
|
|
|
|
|Accepted|**272**|**357**|**104**|**733**|
|
|
|
|
|
|Total|473|954|382|1809|
|
|
|
|
|
|Perfection Rate|86.8%|89.4%|85.6%|87.9%|
|
|
|
|
|
|Completion Rate|57.5%|37.4%|27.2%|40.5%|
|
|
|
|
|
|------------|----------------------------|----------------------------|----------------------------|----------------------------|
|
|
|
|
|
|
|
|
|
|
## 二. 目录
|
|
|
|
|
|
|
|
|
|
以下已经收录了 643 道题的题解,还有 12 道题在尝试优化到 beats 100%
|
|
|
|
|
以下已经收录了 644 道题的题解,还有 12 道题在尝试优化到 beats 100%
|
|
|
|
|
|
|
|
|
|
| No. | Title | Solution | Acceptance | Difficulty | Frequency |
|
|
|
|
|
|:--------:|:--------------------------------------------------------------|:--------:|:--------:|:--------:|:--------:|
|
|
|
|
@ -184,7 +184,7 @@
|
|
|
|
|
|0043|Multiply Strings|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0043.Multiply-Strings)|35.1%|Medium||
|
|
|
|
|
|0044|Wildcard Matching||25.5%|Hard||
|
|
|
|
|
|0045|Jump Game II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0045.Jump-Game-II)|31.6%|Medium||
|
|
|
|
|
|0046|Permutations|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0046.Permutations)|66.9%|Medium||
|
|
|
|
|
|0046|Permutations|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0046.Permutations)|67.0%|Medium||
|
|
|
|
|
|0047|Permutations II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0047.Permutations-II)|49.7%|Medium||
|
|
|
|
|
|0048|Rotate Image|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0048.Rotate-Image)|60.3%|Medium||
|
|
|
|
|
|0049|Group Anagrams|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0049.Group-Anagrams)|59.6%|Medium||
|
|
|
|
@ -220,7 +220,7 @@
|
|
|
|
|
|0079|Word Search|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0079.Word-Search)|37.1%|Medium||
|
|
|
|
|
|0080|Remove Duplicates from Sorted Array II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0080.Remove-Duplicates-from-Sorted-Array-II)|46.3%|Medium||
|
|
|
|
|
|0081|Search in Rotated Sorted Array II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0081.Search-in-Rotated-Sorted-Array-II)|33.6%|Medium||
|
|
|
|
|
|0082|Remove Duplicates from Sorted List II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0082.Remove-Duplicates-from-Sorted-List-II)|39.4%|Medium||
|
|
|
|
|
|0082|Remove Duplicates from Sorted List II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0082.Remove-Duplicates-from-Sorted-List-II)|39.5%|Medium||
|
|
|
|
|
|0083|Remove Duplicates from Sorted List|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0083.Remove-Duplicates-from-Sorted-List)|46.6%|Easy||
|
|
|
|
|
|0084|Largest Rectangle in Histogram|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0084.Largest-Rectangle-in-Histogram)|37.3%|Hard||
|
|
|
|
|
|0085|Maximal Rectangle||39.6%|Hard||
|
|
|
|
@ -228,7 +228,7 @@
|
|
|
|
|
|0087|Scramble String||34.8%|Hard||
|
|
|
|
|
|0088|Merge Sorted Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0088.Merge-Sorted-Array)|40.8%|Easy||
|
|
|
|
|
|0089|Gray Code|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0089.Gray-Code)|50.6%|Medium||
|
|
|
|
|
|0090|Subsets II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0090.Subsets-II)|49.0%|Medium||
|
|
|
|
|
|0090|Subsets II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0090.Subsets-II)|49.1%|Medium||
|
|
|
|
|
|0091|Decode Ways|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0091.Decode-Ways)|26.8%|Medium||
|
|
|
|
|
|0092|Reverse Linked List II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0092.Reverse-Linked-List-II)|40.7%|Medium||
|
|
|
|
|
|0093|Restore IP Addresses|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0093.Restore-IP-Addresses)|37.8%|Medium||
|
|
|
|
@ -264,7 +264,7 @@
|
|
|
|
|
|0123|Best Time to Buy and Sell Stock III||40.1%|Hard||
|
|
|
|
|
|0124|Binary Tree Maximum Path Sum|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0124.Binary-Tree-Maximum-Path-Sum)|35.6%|Hard||
|
|
|
|
|
|0125|Valid Palindrome|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0125.Valid-Palindrome)|38.4%|Easy||
|
|
|
|
|
|0126|Word Ladder II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0126.Word-Ladder-II)|23.9%|Hard||
|
|
|
|
|
|0126|Word Ladder II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0126.Word-Ladder-II)|23.8%|Hard||
|
|
|
|
|
|0127|Word Ladder|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0127.Word-Ladder)|32.0%|Hard||
|
|
|
|
|
|0128|Longest Consecutive Sequence|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0128.Longest-Consecutive-Sequence)|46.4%|Hard||
|
|
|
|
|
|0129|Sum Root to Leaf Numbers|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0129.Sum-Root-to-Leaf-Numbers)|51.2%|Medium||
|
|
|
|
@ -274,7 +274,7 @@
|
|
|
|
|
|0133|Clone Graph||39.6%|Medium||
|
|
|
|
|
|0134|Gas Station||41.5%|Medium||
|
|
|
|
|
|0135|Candy||33.2%|Hard||
|
|
|
|
|
|0136|Single Number|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0136.Single-Number)|66.6%|Easy||
|
|
|
|
|
|0136|Single Number|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0136.Single-Number)|66.7%|Easy||
|
|
|
|
|
|0137|Single Number II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0137.Single-Number-II)|54.0%|Medium||
|
|
|
|
|
|0138|Copy List with Random Pointer|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0138.Copy-List-with-Random-Pointer)|41.3%|Medium||
|
|
|
|
|
|0139|Word Break||41.9%|Medium||
|
|
|
|
@ -313,7 +313,7 @@
|
|
|
|
|
|0172|Factorial Trailing Zeroes|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0172.Factorial-Trailing-Zeroes)|38.7%|Easy||
|
|
|
|
|
|0173|Binary Search Tree Iterator|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0173.Binary-Search-Tree-Iterator)|60.5%|Medium||
|
|
|
|
|
|0174|Dungeon Game|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0174.Dungeon-Game)|33.4%|Hard||
|
|
|
|
|
|0175|Combine Two Tables||64.5%|Easy||
|
|
|
|
|
|0175|Combine Two Tables||64.6%|Easy||
|
|
|
|
|
|0176|Second Highest Salary||33.4%|Easy||
|
|
|
|
|
|0177|Nth Highest Salary||33.5%|Medium||
|
|
|
|
|
|0178|Rank Scores||50.8%|Medium||
|
|
|
|
@ -368,13 +368,13 @@
|
|
|
|
|
|0227|Basic Calculator II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0227.Basic-Calculator-II)|38.7%|Medium||
|
|
|
|
|
|0228|Summary Ranges|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0228.Summary-Ranges)|42.6%|Easy||
|
|
|
|
|
|0229|Majority Element II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0229.Majority-Element-II)|39.0%|Medium||
|
|
|
|
|
|0230|Kth Smallest Element in a BST|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0230.Kth-Smallest-Element-in-a-BST)|62.8%|Medium||
|
|
|
|
|
|0230|Kth Smallest Element in a BST|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0230.Kth-Smallest-Element-in-a-BST)|62.9%|Medium||
|
|
|
|
|
|0231|Power of Two|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0231.Power-of-Two)|43.8%|Easy||
|
|
|
|
|
|0232|Implement Queue using Stacks|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0232.Implement-Queue-using-Stacks)|52.6%|Easy||
|
|
|
|
|
|0233|Number of Digit One||31.8%|Hard||
|
|
|
|
|
|0234|Palindrome Linked List|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0234.Palindrome-Linked-List)|41.0%|Easy||
|
|
|
|
|
|0235|Lowest Common Ancestor of a Binary Search Tree|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0235.Lowest-Common-Ancestor-of-a-Binary-Search-Tree)|52.0%|Easy||
|
|
|
|
|
|0236|Lowest Common Ancestor of a Binary Tree|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0236.Lowest-Common-Ancestor-of-a-Binary-Tree)|49.1%|Medium||
|
|
|
|
|
|0236|Lowest Common Ancestor of a Binary Tree|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0236.Lowest-Common-Ancestor-of-a-Binary-Tree)|49.2%|Medium||
|
|
|
|
|
|0237|Delete Node in a Linked List|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0237.Delete-Node-in-a-Linked-List)|67.3%|Easy||
|
|
|
|
|
|0238|Product of Array Except Self||61.4%|Medium||
|
|
|
|
|
|0239|Sliding Window Maximum|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0239.Sliding-Window-Maximum)|44.7%|Hard||
|
|
|
|
@ -441,7 +441,7 @@
|
|
|
|
|
|0300|Longest Increasing Subsequence|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0300.Longest-Increasing-Subsequence)|44.3%|Medium||
|
|
|
|
|
|0301|Remove Invalid Parentheses||44.8%|Hard||
|
|
|
|
|
|0302|Smallest Rectangle Enclosing Black Pixels||52.6%|Hard||
|
|
|
|
|
|0303|Range Sum Query - Immutable|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0303.Range-Sum-Query---Immutable)|48.0%|Easy||
|
|
|
|
|
|0303|Range Sum Query - Immutable|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0303.Range-Sum-Query---Immutable)|48.1%|Easy||
|
|
|
|
|
|0304|Range Sum Query 2D - Immutable|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0304.Range-Sum-Query-2D---Immutable)|40.9%|Medium||
|
|
|
|
|
|0305|Number of Islands II||39.6%|Hard||
|
|
|
|
|
|0306|Additive Number|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0306.Additive-Number)|29.7%|Medium||
|
|
|
|
@ -511,7 +511,7 @@
|
|
|
|
|
|0370|Range Addition||63.7%|Medium||
|
|
|
|
|
|0371|Sum of Two Integers|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0371.Sum-of-Two-Integers)|50.6%|Medium||
|
|
|
|
|
|0372|Super Pow|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0372.Super-Pow)|36.8%|Medium||
|
|
|
|
|
|0373|Find K Pairs with Smallest Sums|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0373.Find-K-Pairs-with-Smallest-Sums)|37.8%|Medium||
|
|
|
|
|
|0373|Find K Pairs with Smallest Sums|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0373.Find-K-Pairs-with-Smallest-Sums)|37.9%|Medium||
|
|
|
|
|
|0374|Guess Number Higher or Lower||44.9%|Easy||
|
|
|
|
|
|0375|Guess Number Higher or Lower II||42.3%|Medium||
|
|
|
|
|
|0376|Wiggle Subsequence|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0376.Wiggle-Subsequence)|42.2%|Medium||
|
|
|
|
@ -523,7 +523,7 @@
|
|
|
|
|
|0382|Linked List Random Node||54.2%|Medium||
|
|
|
|
|
|0383|Ransom Note||53.4%|Easy||
|
|
|
|
|
|0384|Shuffle an Array||54.1%|Medium||
|
|
|
|
|
|0385|Mini Parser|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0385.Mini-Parser)|34.6%|Medium||
|
|
|
|
|
|0385|Mini Parser|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0385.Mini-Parser)|34.5%|Medium||
|
|
|
|
|
|0386|Lexicographical Numbers|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0386.Lexicographical-Numbers)|54.4%|Medium||
|
|
|
|
|
|0387|First Unique Character in a String|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0387.First-Unique-Character-in-a-String)|53.8%|Easy||
|
|
|
|
|
|0388|Longest Absolute File Path||43.1%|Medium||
|
|
|
|
@ -561,7 +561,7 @@
|
|
|
|
|
|0420|Strong Password Checker||14.0%|Hard||
|
|
|
|
|
|0421|Maximum XOR of Two Numbers in an Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0421.Maximum-XOR-of-Two-Numbers-in-an-Array)|54.3%|Medium||
|
|
|
|
|
|0422|Valid Word Square||38.2%|Easy||
|
|
|
|
|
|0423|Reconstruct Original Digits from English||47.5%|Medium||
|
|
|
|
|
|0423|Reconstruct Original Digits from English|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0423.Reconstruct-Original-Digits-from-English)|49.3%|Medium||
|
|
|
|
|
|0424|Longest Repeating Character Replacement|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0424.Longest-Repeating-Character-Replacement)|48.3%|Medium||
|
|
|
|
|
|0425|Word Squares||50.2%|Hard||
|
|
|
|
|
|0426|Convert Binary Search Tree to Sorted Doubly Linked List||61.4%|Medium||
|
|
|
|
@ -608,7 +608,7 @@
|
|
|
|
|
|0467|Unique Substrings in Wraparound String||36.1%|Medium||
|
|
|
|
|
|0468|Validate IP Address||25.1%|Medium||
|
|
|
|
|
|0469|Convex Polygon||37.6%|Medium||
|
|
|
|
|
|0470|Implement Rand10() Using Rand7()|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0470.Implement-Rand10()-Using-Rand7())|46.1%|Medium||
|
|
|
|
|
|0470|Implement Rand10() Using Rand7()|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0470.Implement-Rand10()-Using-Rand7())|46.0%|Medium||
|
|
|
|
|
|0471|Encode String with Shortest Length||49.4%|Hard||
|
|
|
|
|
|0472|Concatenated Words||43.8%|Hard||
|
|
|
|
|
|0473|Matchsticks to Square||38.2%|Medium||
|
|
|
|
@ -639,8 +639,8 @@
|
|
|
|
|
|0498|Diagonal Traverse|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0498.Diagonal-Traverse)|50.4%|Medium||
|
|
|
|
|
|0499|The Maze III||42.5%|Hard||
|
|
|
|
|
|0500|Keyboard Row|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0500.Keyboard-Row)|65.8%|Easy||
|
|
|
|
|
|0501|Find Mode in Binary Search Tree||43.6%|Easy||
|
|
|
|
|
|0502|IPO||41.7%|Hard||
|
|
|
|
|
|0501|Find Mode in Binary Search Tree||43.7%|Easy||
|
|
|
|
|
|0502|IPO||41.8%|Hard||
|
|
|
|
|
|0503|Next Greater Element II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0503.Next-Greater-Element-II)|58.6%|Medium||
|
|
|
|
|
|0504|Base 7||46.4%|Easy||
|
|
|
|
|
|0505|The Maze II||48.6%|Medium||
|
|
|
|
@ -773,7 +773,7 @@
|
|
|
|
|
|0632|Smallest Range Covering Elements from K Lists|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0632.Smallest-Range-Covering-Elements-from-K-Lists)|54.4%|Hard||
|
|
|
|
|
|0633|Sum of Square Numbers|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0633.Sum-of-Square-Numbers)|32.6%|Medium||
|
|
|
|
|
|0634|Find the Derangement of An Array||40.6%|Medium||
|
|
|
|
|
|0635|Design Log Storage System||60.0%|Medium||
|
|
|
|
|
|0635|Design Log Storage System||60.1%|Medium||
|
|
|
|
|
|0636|Exclusive Time of Functions|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0636.Exclusive-Time-of-Functions)|54.8%|Medium||
|
|
|
|
|
|0637|Average of Levels in Binary Tree|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0637.Average-of-Levels-in-Binary-Tree)|66.1%|Easy||
|
|
|
|
|
|0638|Shopping Offers|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0638.Shopping-Offers)|53.1%|Medium||
|
|
|
|
@ -782,10 +782,10 @@
|
|
|
|
|
|0641|Design Circular Deque||56.3%|Medium||
|
|
|
|
|
|0642|Design Search Autocomplete System||46.4%|Hard||
|
|
|
|
|
|0643|Maximum Average Subarray I|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0643.Maximum-Average-Subarray-I)|42.0%|Easy||
|
|
|
|
|
|0644|Maximum Average Subarray II||34.1%|Hard||
|
|
|
|
|
|0644|Maximum Average Subarray II||34.2%|Hard||
|
|
|
|
|
|0645|Set Mismatch|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0645.Set-Mismatch)|41.3%|Easy||
|
|
|
|
|
|0646|Maximum Length of Pair Chain||53.0%|Medium||
|
|
|
|
|
|0647|Palindromic Substrings|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0647.Palindromic-Substrings)|62.6%|Medium||
|
|
|
|
|
|0647|Palindromic Substrings|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0647.Palindromic-Substrings)|62.7%|Medium||
|
|
|
|
|
|0648|Replace Words|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0648.Replace-Words)|58.8%|Medium||
|
|
|
|
|
|0649|Dota2 Senate||39.4%|Medium||
|
|
|
|
|
|0650|2 Keys Keyboard||50.2%|Medium||
|
|
|
|
@ -831,7 +831,7 @@
|
|
|
|
|
|0690|Employee Importance||58.9%|Easy||
|
|
|
|
|
|0691|Stickers to Spell Word||44.9%|Hard||
|
|
|
|
|
|0692|Top K Frequent Words||53.2%|Medium||
|
|
|
|
|
|0693|Binary Number with Alternating Bits|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0693.Binary-Number-with-Alternating-Bits)|59.9%|Easy||
|
|
|
|
|
|0693|Binary Number with Alternating Bits|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0693.Binary-Number-with-Alternating-Bits)|60.0%|Easy||
|
|
|
|
|
|0694|Number of Distinct Islands||58.0%|Medium||
|
|
|
|
|
|0695|Max Area of Island|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0695.Max-Area-of-Island)|65.0%|Medium||
|
|
|
|
|
|0696|Count Binary Substrings||58.2%|Easy||
|
|
|
|
@ -857,7 +857,7 @@
|
|
|
|
|
|0716|Max Stack||43.1%|Easy||
|
|
|
|
|
|0717|1-bit and 2-bit Characters|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0717.1-bit-and-2-bit-Characters)|47.0%|Easy||
|
|
|
|
|
|0718|Maximum Length of Repeated Subarray|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0718.Maximum-Length-of-Repeated-Subarray)|50.4%|Medium||
|
|
|
|
|
|0719|Find K-th Smallest Pair Distance|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0719.Find-K-th-Smallest-Pair-Distance)|32.7%|Hard||
|
|
|
|
|
|0719|Find K-th Smallest Pair Distance|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0719.Find-K-th-Smallest-Pair-Distance)|32.6%|Hard||
|
|
|
|
|
|0720|Longest Word in Dictionary|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0720.Longest-Word-in-Dictionary)|49.4%|Easy||
|
|
|
|
|
|0721|Accounts Merge|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0721.Accounts-Merge)|52.1%|Medium||
|
|
|
|
|
|0722|Remove Comments||36.4%|Medium||
|
|
|
|
@ -914,7 +914,7 @@
|
|
|
|
|
|0773|Sliding Puzzle||61.1%|Hard||
|
|
|
|
|
|0774|Minimize Max Distance to Gas Station||48.4%|Hard||
|
|
|
|
|
|0775|Global and Local Inversions||42.6%|Medium||
|
|
|
|
|
|0776|Split BST||56.6%|Medium||
|
|
|
|
|
|0776|Split BST||56.7%|Medium||
|
|
|
|
|
|0777|Swap Adjacent in LR String||35.7%|Medium||
|
|
|
|
|
|0778|Swim in Rising Water|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0778.Swim-in-Rising-Water)|54.8%|Hard||
|
|
|
|
|
|0779|K-th Symbol in Grammar||38.6%|Medium||
|
|
|
|
@ -988,7 +988,7 @@
|
|
|
|
|
|0847|Shortest Path Visiting All Nodes||54.0%|Hard||
|
|
|
|
|
|0848|Shifting Letters||45.2%|Medium||
|
|
|
|
|
|0849|Maximize Distance to Closest Person||44.5%|Medium||
|
|
|
|
|
|0850|Rectangle Area II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0850.Rectangle-Area-II)|48.3%|Hard||
|
|
|
|
|
|0850|Rectangle Area II|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0850.Rectangle-Area-II)|48.4%|Hard||
|
|
|
|
|
|0851|Loud and Rich|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0851.Loud-and-Rich)|52.7%|Medium||
|
|
|
|
|
|0852|Peak Index in a Mountain Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0852.Peak-Index-in-a-Mountain-Array)|71.7%|Easy||
|
|
|
|
|
|0853|Car Fleet|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0853.Car-Fleet)|44.2%|Medium||
|
|
|
|
@ -996,11 +996,11 @@
|
|
|
|
|
|0855|Exam Room||43.4%|Medium||
|
|
|
|
|
|0856|Score of Parentheses|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0856.Score-of-Parentheses)|64.9%|Medium||
|
|
|
|
|
|0857|Minimum Cost to Hire K Workers||50.5%|Hard||
|
|
|
|
|
|0858|Mirror Reflection||59.7%|Medium||
|
|
|
|
|
|0858|Mirror Reflection||59.6%|Medium||
|
|
|
|
|
|0859|Buddy Strings||29.2%|Easy||
|
|
|
|
|
|0860|Lemonade Change||51.8%|Easy||
|
|
|
|
|
|0861|Score After Flipping Matrix||73.8%|Medium||
|
|
|
|
|
|0862|Shortest Subarray with Sum at Least K|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0862.Shortest-Subarray-with-Sum-at-Least-K)|25.2%|Hard||
|
|
|
|
|
|0862|Shortest Subarray with Sum at Least K|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0862.Shortest-Subarray-with-Sum-at-Least-K)|25.3%|Hard||
|
|
|
|
|
|0863|All Nodes Distance K in Binary Tree|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0863.All-Nodes-Distance-K-in-Binary-Tree)|58.1%|Medium||
|
|
|
|
|
|0864|Shortest Path to Get All Keys|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0864.Shortest-Path-to-Get-All-Keys)|42.3%|Hard||
|
|
|
|
|
|0865|Smallest Subtree with all the Deepest Nodes||65.0%|Medium||
|
|
|
|
@ -1008,7 +1008,7 @@
|
|
|
|
|
|0867|Transpose Matrix|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0867.Transpose-Matrix)|62.0%|Easy||
|
|
|
|
|
|0868|Binary Gap||60.9%|Easy||
|
|
|
|
|
|0869|Reordered Power of 2|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0869.Reordered-Power-of-2)|61.2%|Medium||
|
|
|
|
|
|0870|Advantage Shuffle|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0870.Advantage-Shuffle)|50.8%|Medium||
|
|
|
|
|
|0870|Advantage Shuffle|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0870.Advantage-Shuffle)|50.7%|Medium||
|
|
|
|
|
|0871|Minimum Number of Refueling Stops||32.4%|Hard||
|
|
|
|
|
|0872|Leaf-Similar Trees|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0872.Leaf-Similar-Trees)|64.5%|Easy||
|
|
|
|
|
|0873|Length of Longest Fibonacci Subsequence||48.2%|Medium||
|
|
|
|
@ -1024,7 +1024,7 @@
|
|
|
|
|
|0883|Projection Area of 3D Shapes||68.4%|Easy||
|
|
|
|
|
|0884|Uncommon Words from Two Sentences|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0884.Uncommon-Words-from-Two-Sentences)|64.2%|Easy||
|
|
|
|
|
|0885|Spiral Matrix III|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0885.Spiral-Matrix-III)|71.0%|Medium||
|
|
|
|
|
|0886|Possible Bipartition||45.2%|Medium||
|
|
|
|
|
|0886|Possible Bipartition||45.3%|Medium||
|
|
|
|
|
|0887|Super Egg Drop|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0887.Super-Egg-Drop)|27.0%|Hard||
|
|
|
|
|
|0888|Fair Candy Swap|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0888.Fair-Candy-Swap)|59.1%|Easy||
|
|
|
|
|
|0889|Construct Binary Tree from Preorder and Postorder Traversal||67.8%|Medium||
|
|
|
|
@ -1037,7 +1037,7 @@
|
|
|
|
|
|0896|Monotonic Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0896.Monotonic-Array)|57.9%|Easy||
|
|
|
|
|
|0897|Increasing Order Search Tree|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0897.Increasing-Order-Search-Tree)|74.6%|Easy||
|
|
|
|
|
|0898|Bitwise ORs of Subarrays|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0898.Bitwise-ORs-of-Subarrays)|34.3%|Medium||
|
|
|
|
|
|0899|Orderly Queue||53.3%|Hard||
|
|
|
|
|
|0899|Orderly Queue||53.4%|Hard||
|
|
|
|
|
|0900|RLE Iterator||55.5%|Medium||
|
|
|
|
|
|0901|Online Stock Span|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0901.Online-Stock-Span)|61.4%|Medium||
|
|
|
|
|
|0902|Numbers At Most N Given Digit Set||36.1%|Hard||
|
|
|
|
@ -1136,7 +1136,7 @@
|
|
|
|
|
|0995|Minimum Number of K Consecutive Bit Flips|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0995.Minimum-Number-of-K-Consecutive-Bit-Flips)|50.0%|Hard||
|
|
|
|
|
|0996|Number of Squareful Arrays|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0996.Number-of-Squareful-Arrays)|48.6%|Hard||
|
|
|
|
|
|0997|Find the Town Judge||49.8%|Easy||
|
|
|
|
|
|0998|Maximum Binary Tree II||64.0%|Medium||
|
|
|
|
|
|0998|Maximum Binary Tree II||64.1%|Medium||
|
|
|
|
|
|0999|Available Captures for Rook|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/0999.Available-Captures-for-Rook)|67.8%|Easy||
|
|
|
|
|
|1000|Minimum Cost to Merge Stones||40.4%|Hard||
|
|
|
|
|
|1001|Grid Illumination||36.2%|Hard||
|
|
|
|
@ -1159,13 +1159,13 @@
|
|
|
|
|
|1018|Binary Prefix Divisible By 5|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1018.Binary-Prefix-Divisible-By-5)|47.7%|Easy||
|
|
|
|
|
|1019|Next Greater Node In Linked List|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1019.Next-Greater-Node-In-Linked-List)|58.3%|Medium||
|
|
|
|
|
|1020|Number of Enclaves|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1020.Number-of-Enclaves)|59.1%|Medium||
|
|
|
|
|
|1021|Remove Outermost Parentheses|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1021.Remove-Outermost-Parentheses)|79.2%|Easy||
|
|
|
|
|
|1021|Remove Outermost Parentheses|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1021.Remove-Outermost-Parentheses)|79.1%|Easy||
|
|
|
|
|
|1022|Sum of Root To Leaf Binary Numbers||71.6%|Easy||
|
|
|
|
|
|1023|Camelcase Matching||57.6%|Medium||
|
|
|
|
|
|1024|Video Stitching||49.0%|Medium||
|
|
|
|
|
|1025|Divisor Game|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1025.Divisor-Game)|66.1%|Easy||
|
|
|
|
|
|1026|Maximum Difference Between Node and Ancestor|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1026.Maximum-Difference-Between-Node-and-Ancestor)|69.6%|Medium||
|
|
|
|
|
|1027|Longest Arithmetic Subsequence||49.8%|Medium||
|
|
|
|
|
|1027|Longest Arithmetic Subsequence||49.7%|Medium||
|
|
|
|
|
|1028|Recover a Tree From Preorder Traversal|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1028.Recover-a-Tree-From-Preorder-Traversal)|71.0%|Hard||
|
|
|
|
|
|1029|Two City Scheduling||58.1%|Medium||
|
|
|
|
|
|1030|Matrix Cells in Distance Order|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1030.Matrix-Cells-in-Distance-Order)|67.5%|Easy||
|
|
|
|
@ -1201,12 +1201,12 @@
|
|
|
|
|
|1060|Missing Element in Sorted Array||54.8%|Medium||
|
|
|
|
|
|1061|Lexicographically Smallest Equivalent String||66.9%|Medium||
|
|
|
|
|
|1062|Longest Repeating Substring||58.4%|Medium||
|
|
|
|
|
|1063|Number of Valid Subarrays||72.1%|Hard||
|
|
|
|
|
|1063|Number of Valid Subarrays||72.0%|Hard||
|
|
|
|
|
|1064|Fixed Point||64.9%|Easy||
|
|
|
|
|
|1065|Index Pairs of a String||61.0%|Easy||
|
|
|
|
|
|1066|Campus Bikes II||54.1%|Medium||
|
|
|
|
|
|1066|Campus Bikes II||54.2%|Medium||
|
|
|
|
|
|1067|Digit Count in Range||41.6%|Hard||
|
|
|
|
|
|1068|Product Sales Analysis I||82.0%|Easy||
|
|
|
|
|
|1068|Product Sales Analysis I||82.1%|Easy||
|
|
|
|
|
|1069|Product Sales Analysis II||83.3%|Easy||
|
|
|
|
|
|1070|Product Sales Analysis III||49.9%|Medium||
|
|
|
|
|
|1071|Greatest Common Divisor of Strings||51.5%|Easy||
|
|
|
|
@ -1219,7 +1219,7 @@
|
|
|
|
|
|1078|Occurrences After Bigram|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1078.Occurrences-After-Bigram)|65.0%|Easy||
|
|
|
|
|
|1079|Letter Tile Possibilities|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1079.Letter-Tile-Possibilities)|75.9%|Medium||
|
|
|
|
|
|1080|Insufficient Nodes in Root to Leaf Paths||50.0%|Medium||
|
|
|
|
|
|1081|Smallest Subsequence of Distinct Characters||53.5%|Medium||
|
|
|
|
|
|1081|Smallest Subsequence of Distinct Characters||53.6%|Medium||
|
|
|
|
|
|1082|Sales Analysis I||73.9%|Easy||
|
|
|
|
|
|1083|Sales Analysis II||50.8%|Easy||
|
|
|
|
|
|1084|Sales Analysis III||54.8%|Easy||
|
|
|
|
@ -1231,7 +1231,7 @@
|
|
|
|
|
|1090|Largest Values From Labels||60.1%|Medium||
|
|
|
|
|
|1091|Shortest Path in Binary Matrix|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1091.Shortest-Path-in-Binary-Matrix)|40.1%|Medium||
|
|
|
|
|
|1092|Shortest Common Supersequence||53.1%|Hard||
|
|
|
|
|
|1093|Statistics from a Large Sample|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1093.Statistics-from-a-Large-Sample)|49.0%|Medium||
|
|
|
|
|
|1093|Statistics from a Large Sample|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1093.Statistics-from-a-Large-Sample)|48.9%|Medium||
|
|
|
|
|
|1094|Car Pooling||59.7%|Medium||
|
|
|
|
|
|1095|Find in Mountain Array||36.1%|Hard||
|
|
|
|
|
|1096|Brace Expansion II||62.6%|Hard||
|
|
|
|
@ -1249,12 +1249,12 @@
|
|
|
|
|
|1108|Defanging an IP Address|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1108.Defanging-an-IP-Address)|88.4%|Easy||
|
|
|
|
|
|1109|Corporate Flight Bookings||54.3%|Medium||
|
|
|
|
|
|1110|Delete Nodes And Return Forest|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1110.Delete-Nodes-And-Return-Forest)|67.8%|Medium||
|
|
|
|
|
|1111|Maximum Nesting Depth of Two Valid Parentheses Strings|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings)|72.7%|Medium||
|
|
|
|
|
|1111|Maximum Nesting Depth of Two Valid Parentheses Strings|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings)|72.6%|Medium||
|
|
|
|
|
|1112|Highest Grade For Each Student||72.3%|Medium||
|
|
|
|
|
|1113|Reported Posts||66.0%|Easy||
|
|
|
|
|
|1114|Print in Order||67.2%|Easy||
|
|
|
|
|
|1115|Print FooBar Alternately||59.0%|Medium||
|
|
|
|
|
|1116|Print Zero Even Odd||57.7%|Medium||
|
|
|
|
|
|1116|Print Zero Even Odd||57.8%|Medium||
|
|
|
|
|
|1117|Building H2O||53.1%|Medium||
|
|
|
|
|
|1118|Number of Days in a Month||57.3%|Easy||
|
|
|
|
|
|1119|Remove Vowels from a String||90.5%|Easy||
|
|
|
|
@ -1263,7 +1263,7 @@
|
|
|
|
|
|1122|Relative Sort Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1122.Relative-Sort-Array)|68.1%|Easy||
|
|
|
|
|
|1123|Lowest Common Ancestor of Deepest Leaves|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1123.Lowest-Common-Ancestor-of-Deepest-Leaves)|68.0%|Medium||
|
|
|
|
|
|1124|Longest Well-Performing Interval||33.3%|Medium||
|
|
|
|
|
|1125|Smallest Sufficient Team||47.0%|Hard||
|
|
|
|
|
|1125|Smallest Sufficient Team||46.9%|Hard||
|
|
|
|
|
|1126|Active Businesses||68.6%|Medium||
|
|
|
|
|
|1127|User Purchase Platform||50.6%|Hard||
|
|
|
|
|
|1128|Number of Equivalent Domino Pairs|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1128.Number-of-Equivalent-Domino-Pairs)|46.4%|Easy||
|
|
|
|
@ -1271,7 +1271,7 @@
|
|
|
|
|
|1130|Minimum Cost Tree From Leaf Values||67.3%|Medium||
|
|
|
|
|
|1131|Maximum of Absolute Value Expression||51.6%|Medium||
|
|
|
|
|
|1132|Reported Posts II||34.7%|Medium||
|
|
|
|
|
|1133|Largest Unique Number||67.2%|Easy||
|
|
|
|
|
|1133|Largest Unique Number||67.3%|Easy||
|
|
|
|
|
|1134|Armstrong Number||78.1%|Easy||
|
|
|
|
|
|1135|Connecting Cities With Minimum Cost||59.5%|Medium||
|
|
|
|
|
|1136|Parallel Courses||60.6%|Medium||
|
|
|
|
@ -1292,7 +1292,7 @@
|
|
|
|
|
|1151|Minimum Swaps to Group All 1's Together||58.8%|Medium||
|
|
|
|
|
|1152|Analyze User Website Visit Pattern||43.1%|Medium||
|
|
|
|
|
|1153|String Transforms Into Another String||35.8%|Hard||
|
|
|
|
|
|1154|Day of the Year|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1154.Day-of-the-Year)|49.2%|Easy||
|
|
|
|
|
|1154|Day of the Year|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1154.Day-of-the-Year)|49.1%|Easy||
|
|
|
|
|
|1155|Number of Dice Rolls With Target Sum||47.6%|Medium||
|
|
|
|
|
|1156|Swap For Longest Repeated Character Substring||47.1%|Medium||
|
|
|
|
|
|1157|Online Majority Element In Subarray|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1157.Online-Majority-Element-In-Subarray)|39.9%|Hard||
|
|
|
|
@ -1335,8 +1335,8 @@
|
|
|
|
|
|1194|Tournament Winners||52.4%|Hard||
|
|
|
|
|
|1195|Fizz Buzz Multithreaded||70.8%|Medium||
|
|
|
|
|
|1196|How Many Apples Can You Put into the Basket||68.1%|Easy||
|
|
|
|
|
|1197|Minimum Knight Moves||37.3%|Medium||
|
|
|
|
|
|1198|Find Smallest Common Element in All Rows||76.3%|Medium||
|
|
|
|
|
|1197|Minimum Knight Moves||37.4%|Medium||
|
|
|
|
|
|1198|Find Smallest Common Element in All Rows||76.2%|Medium||
|
|
|
|
|
|1199|Minimum Time to Build Blocks||38.8%|Hard||
|
|
|
|
|
|1200|Minimum Absolute Difference|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1200.Minimum-Absolute-Difference)|67.0%|Easy||
|
|
|
|
|
|1201|Ugly Number III|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1201.Ugly-Number-III)|26.4%|Medium||
|
|
|
|
@ -1350,7 +1350,7 @@
|
|
|
|
|
|1209|Remove All Adjacent Duplicates in String II||57.7%|Medium||
|
|
|
|
|
|1210|Minimum Moves to Reach Target with Rotations||46.6%|Hard||
|
|
|
|
|
|1211|Queries Quality and Percentage||70.1%|Easy||
|
|
|
|
|
|1212|Team Scores in Football Tournament||56.9%|Medium||
|
|
|
|
|
|1212|Team Scores in Football Tournament||56.8%|Medium||
|
|
|
|
|
|1213|Intersection of Three Sorted Arrays||79.4%|Easy||
|
|
|
|
|
|1214|Two Sum BSTs||67.5%|Medium||
|
|
|
|
|
|1215|Stepping Numbers||43.6%|Medium||
|
|
|
|
@ -1379,7 +1379,7 @@
|
|
|
|
|
|1238|Circular Permutation in Binary Representation||66.4%|Medium||
|
|
|
|
|
|1239|Maximum Length of a Concatenated String with Unique Characters||49.8%|Medium||
|
|
|
|
|
|1240|Tiling a Rectangle with the Fewest Squares||52.7%|Hard||
|
|
|
|
|
|1241|Number of Comments per Post||67.8%|Easy||
|
|
|
|
|
|1241|Number of Comments per Post||67.9%|Easy||
|
|
|
|
|
|1242|Web Crawler Multithreaded||47.6%|Medium||
|
|
|
|
|
|1243|Array Transformation||49.9%|Easy||
|
|
|
|
|
|1244|Design A Leaderboard||66.3%|Medium||
|
|
|
|
@ -1390,10 +1390,10 @@
|
|
|
|
|
|1249|Minimum Remove to Make Valid Parentheses|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1249.Minimum-Remove-to-Make-Valid-Parentheses)|64.2%|Medium||
|
|
|
|
|
|1250|Check If It Is a Good Array||56.2%|Hard||
|
|
|
|
|
|1251|Average Selling Price||82.7%|Easy||
|
|
|
|
|
|1252|Cells with Odd Values in a Matrix|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1252.Cells-with-Odd-Values-in-a-Matrix)|78.7%|Easy||
|
|
|
|
|
|1252|Cells with Odd Values in a Matrix|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1252.Cells-with-Odd-Values-in-a-Matrix)|78.8%|Easy||
|
|
|
|
|
|1253|Reconstruct a 2-Row Binary Matrix||41.7%|Medium||
|
|
|
|
|
|1254|Number of Closed Islands|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1254.Number-of-Closed-Islands)|61.7%|Medium||
|
|
|
|
|
|1255|Maximum Score Words Formed by Letters||70.0%|Hard||
|
|
|
|
|
|1255|Maximum Score Words Formed by Letters||70.1%|Hard||
|
|
|
|
|
|1256|Encode Number||67.9%|Medium||
|
|
|
|
|
|1257|Smallest Common Region||61.1%|Medium||
|
|
|
|
|
|1258|Synonymous Sentences||62.7%|Medium||
|
|
|
|
@ -1403,14 +1403,14 @@
|
|
|
|
|
|1262|Greatest Sum Divisible by Three||49.8%|Medium||
|
|
|
|
|
|1263|Minimum Moves to Move a Box to Their Target Location||43.4%|Hard||
|
|
|
|
|
|1264|Page Recommendations||69.3%|Medium||
|
|
|
|
|
|1265|Print Immutable Linked List in Reverse||94.3%|Medium||
|
|
|
|
|
|1265|Print Immutable Linked List in Reverse||94.2%|Medium||
|
|
|
|
|
|1266|Minimum Time Visiting All Points|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1266.Minimum-Time-Visiting-All-Points)|79.3%|Easy||
|
|
|
|
|
|1267|Count Servers that Communicate||57.8%|Medium||
|
|
|
|
|
|1268|Search Suggestions System||64.7%|Medium||
|
|
|
|
|
|1269|Number of Ways to Stay in the Same Place After Some Steps||43.3%|Hard||
|
|
|
|
|
|1270|All People Report to the Given Manager||88.3%|Medium||
|
|
|
|
|
|1271|Hexspeak||55.5%|Easy||
|
|
|
|
|
|1272|Remove Interval||58.4%|Medium||
|
|
|
|
|
|1271|Hexspeak||55.4%|Easy||
|
|
|
|
|
|1272|Remove Interval||58.3%|Medium||
|
|
|
|
|
|1273|Delete Tree Nodes||62.0%|Medium||
|
|
|
|
|
|1274|Number of Ships in a Rectangle||65.9%|Hard||
|
|
|
|
|
|1275|Find Winner on a Tic Tac Toe Game|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1275.Find-Winner-on-a-Tic-Tac-Toe-Game)|52.8%|Easy||
|
|
|
|
@ -1473,7 +1473,7 @@
|
|
|
|
|
|1332|Remove Palindromic Subsequences|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1332.Remove-Palindromic-Subsequences)|68.2%|Easy||
|
|
|
|
|
|1333|Filter Restaurants by Vegan-Friendly, Price and Distance||57.4%|Medium||
|
|
|
|
|
|1334|Find the City With the Smallest Number of Neighbors at a Threshold Distance||47.2%|Medium||
|
|
|
|
|
|1335|Minimum Difficulty of a Job Schedule||56.7%|Hard||
|
|
|
|
|
|1335|Minimum Difficulty of a Job Schedule||56.8%|Hard||
|
|
|
|
|
|1336|Number of Transactions per Visit||48.9%|Hard||
|
|
|
|
|
|1337|The K Weakest Rows in a Matrix|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1337.The-K-Weakest-Rows-in-a-Matrix)|72.0%|Easy||
|
|
|
|
|
|1338|Reduce Array Size to The Half||67.7%|Medium||
|
|
|
|
@ -1492,11 +1492,11 @@
|
|
|
|
|
|1351|Count Negative Numbers in a Sorted Matrix||75.8%|Easy||
|
|
|
|
|
|1352|Product of the Last K Numbers||44.9%|Medium||
|
|
|
|
|
|1353|Maximum Number of Events That Can Be Attended||30.5%|Medium||
|
|
|
|
|
|1354|Construct Target Array With Multiple Sums||31.2%|Hard||
|
|
|
|
|
|1354|Construct Target Array With Multiple Sums||31.3%|Hard||
|
|
|
|
|
|1355|Activity Participants||74.5%|Medium||
|
|
|
|
|
|1356|Sort Integers by The Number of 1 Bits||69.9%|Easy||
|
|
|
|
|
|1357|Apply Discount Every n Orders||66.9%|Medium||
|
|
|
|
|
|1358|Number of Substrings Containing All Three Characters||60.5%|Medium||
|
|
|
|
|
|1358|Number of Substrings Containing All Three Characters||60.6%|Medium||
|
|
|
|
|
|1359|Count All Valid Pickup and Delivery Options||56.2%|Hard||
|
|
|
|
|
|1360|Number of Days Between Two Dates||46.6%|Easy||
|
|
|
|
|
|1361|Validate Binary Tree Nodes||43.5%|Medium||
|
|
|
|
@ -1527,10 +1527,10 @@
|
|
|
|
|
|1386|Cinema Seat Allocation||36.0%|Medium||
|
|
|
|
|
|1387|Sort Integers by The Power Value||70.6%|Medium||
|
|
|
|
|
|1388|Pizza With 3n Slices||46.0%|Hard||
|
|
|
|
|
|1389|Create Target Array in the Given Order|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1389.Create-Target-Array-in-the-Given-Order)|84.8%|Easy||
|
|
|
|
|
|1389|Create Target Array in the Given Order|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1389.Create-Target-Array-in-the-Given-Order)|84.9%|Easy||
|
|
|
|
|
|1390|Four Divisors||39.4%|Medium||
|
|
|
|
|
|1391|Check if There is a Valid Path in a Grid||44.9%|Medium||
|
|
|
|
|
|1392|Longest Happy Prefix||42.0%|Hard||
|
|
|
|
|
|1391|Check if There is a Valid Path in a Grid||45.0%|Medium||
|
|
|
|
|
|1392|Longest Happy Prefix||42.1%|Hard||
|
|
|
|
|
|1393|Capital Gain/Loss||90.9%|Medium||
|
|
|
|
|
|1394|Find Lucky Integer in an Array||63.1%|Easy||
|
|
|
|
|
|1395|Count Number of Teams||75.7%|Medium||
|
|
|
|
@ -1540,7 +1540,7 @@
|
|
|
|
|
|1399|Count Largest Group||65.3%|Easy||
|
|
|
|
|
|1400|Construct K Palindrome Strings||63.1%|Medium||
|
|
|
|
|
|1401|Circle and Rectangle Overlapping||42.5%|Medium||
|
|
|
|
|
|1402|Reducing Dishes||72.2%|Hard||
|
|
|
|
|
|1402|Reducing Dishes||72.1%|Hard||
|
|
|
|
|
|1403|Minimum Subsequence in Non-Increasing Order||71.4%|Easy||
|
|
|
|
|
|1404|Number of Steps to Reduce a Number in Binary Representation to One||50.0%|Medium||
|
|
|
|
|
|1405|Longest Happy String||52.5%|Medium||
|
|
|
|
@ -1553,7 +1553,7 @@
|
|
|
|
|
|1412|Find the Quiet Students in All Exams||63.9%|Hard||
|
|
|
|
|
|1413|Minimum Value to Get Positive Step by Step Sum||65.5%|Easy||
|
|
|
|
|
|1414|Find the Minimum Number of Fibonacci Numbers Whose Sum Is K||63.0%|Medium||
|
|
|
|
|
|1415|The k-th Lexicographical String of All Happy Strings of Length n||69.8%|Medium||
|
|
|
|
|
|1415|The k-th Lexicographical String of All Happy Strings of Length n||69.9%|Medium||
|
|
|
|
|
|1416|Restore The Array||36.8%|Hard||
|
|
|
|
|
|1417|Reformat The String||56.1%|Easy||
|
|
|
|
|
|1418|Display Table of Food Orders in a Restaurant||69.1%|Medium||
|
|
|
|
@ -1562,7 +1562,7 @@
|
|
|
|
|
|1421|NPV Queries||82.3%|Medium||
|
|
|
|
|
|1422|Maximum Score After Splitting a String||57.1%|Easy||
|
|
|
|
|
|1423|Maximum Points You Can Obtain from Cards|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1423.Maximum-Points-You-Can-Obtain-from-Cards)|46.8%|Medium||
|
|
|
|
|
|1424|Diagonal Traverse II||46.1%|Medium||
|
|
|
|
|
|1424|Diagonal Traverse II||46.2%|Medium||
|
|
|
|
|
|1425|Constrained Subsequence Sum||45.0%|Hard||
|
|
|
|
|
|1426|Counting Elements||59.1%|Easy||
|
|
|
|
|
|1427|Perform String Shifts||53.5%|Easy||
|
|
|
|
@ -1577,26 +1577,26 @@
|
|
|
|
|
|1436|Destination City||77.3%|Easy||
|
|
|
|
|
|1437|Check If All 1's Are at Least Length K Places Away|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1437.Check-If-All-1's-Are-at-Least-Length-K-Places-Away)|62.1%|Easy||
|
|
|
|
|
|1438|Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1438.Longest-Continuous-Subarray-With-Absolute-Diff-Less-Than-or-Equal-to-Limit)|44.4%|Medium||
|
|
|
|
|
|1439|Find the Kth Smallest Sum of a Matrix With Sorted Rows|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1439.Find-the-Kth-Smallest-Sum-of-a-Matrix-With-Sorted-Rows)|60.0%|Hard||
|
|
|
|
|
|1439|Find the Kth Smallest Sum of a Matrix With Sorted Rows|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1439.Find-the-Kth-Smallest-Sum-of-a-Matrix-With-Sorted-Rows)|60.1%|Hard||
|
|
|
|
|
|1440|Evaluate Boolean Expression||75.0%|Medium||
|
|
|
|
|
|1441|Build an Array With Stack Operations||70.3%|Easy||
|
|
|
|
|
|1442|Count Triplets That Can Form Two Arrays of Equal XOR||71.7%|Medium||
|
|
|
|
|
|1443|Minimum Time to Collect All Apples in a Tree||54.6%|Medium||
|
|
|
|
|
|1444|Number of Ways of Cutting a Pizza||53.9%|Hard||
|
|
|
|
|
|1445|Apples & Oranges||90.8%|Medium||
|
|
|
|
|
|1445|Apples & Oranges||90.9%|Medium||
|
|
|
|
|
|1446|Consecutive Characters||61.2%|Easy||
|
|
|
|
|
|1447|Simplified Fractions||62.2%|Medium||
|
|
|
|
|
|1448|Count Good Nodes in Binary Tree||71.1%|Medium||
|
|
|
|
|
|1449|Form Largest Integer With Digits That Add up to Target||44.2%|Hard||
|
|
|
|
|
|1449|Form Largest Integer With Digits That Add up to Target||44.3%|Hard||
|
|
|
|
|
|1450|Number of Students Doing Homework at a Given Time||77.1%|Easy||
|
|
|
|
|
|1451|Rearrange Words in a Sentence||59.7%|Medium||
|
|
|
|
|
|1451|Rearrange Words in a Sentence||59.8%|Medium||
|
|
|
|
|
|1452|People Whose List of Favorite Companies Is Not a Subset of Another List||55.1%|Medium||
|
|
|
|
|
|1453|Maximum Number of Darts Inside of a Circular Dartboard||35.5%|Hard||
|
|
|
|
|
|1454|Active Users||38.9%|Medium||
|
|
|
|
|
|1455|Check If a Word Occurs As a Prefix of Any Word in a Sentence|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence)|65.3%|Easy||
|
|
|
|
|
|1456|Maximum Number of Vowels in a Substring of Given Length||54.8%|Medium||
|
|
|
|
|
|1457|Pseudo-Palindromic Paths in a Binary Tree||70.3%|Medium||
|
|
|
|
|
|1458|Max Dot Product of Two Subsequences||43.3%|Hard||
|
|
|
|
|
|1456|Maximum Number of Vowels in a Substring of Given Length||54.9%|Medium||
|
|
|
|
|
|1457|Pseudo-Palindromic Paths in a Binary Tree||70.2%|Medium||
|
|
|
|
|
|1458|Max Dot Product of Two Subsequences||43.4%|Hard||
|
|
|
|
|
|1459|Rectangles Area||65.3%|Medium||
|
|
|
|
|
|1460|Make Two Arrays Equal by Reversing Sub-arrays||72.1%|Easy||
|
|
|
|
|
|1461|Check If a String Contains All Binary Codes of Size K|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1461.Check-If-a-String-Contains-All-Binary-Codes-of-Size-K)|54.3%|Medium||
|
|
|
|
@ -1610,7 +1610,7 @@
|
|
|
|
|
|1469|Find All The Lonely Nodes||80.4%|Easy||
|
|
|
|
|
|1470|Shuffle the Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1470.Shuffle-the-Array)|88.2%|Easy||
|
|
|
|
|
|1471|The k Strongest Values in an Array||58.5%|Medium||
|
|
|
|
|
|1472|Design Browser History||71.8%|Medium||
|
|
|
|
|
|1472|Design Browser History||71.7%|Medium||
|
|
|
|
|
|1473|Paint House III||48.5%|Hard||
|
|
|
|
|
|1474|Delete N Nodes After M Nodes of a Linked List||74.0%|Easy||
|
|
|
|
|
|1475|Final Prices With a Special Discount in a Shop||75.0%|Easy||
|
|
|
|
@ -1621,9 +1621,9 @@
|
|
|
|
|
|1480|Running Sum of 1d Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1480.Running-Sum-of-1d-Array)|88.7%|Easy||
|
|
|
|
|
|1481|Least Number of Unique Integers after K Removals||55.9%|Medium||
|
|
|
|
|
|1482|Minimum Number of Days to Make m Bouquets||50.5%|Medium||
|
|
|
|
|
|1483|Kth Ancestor of a Tree Node||31.0%|Hard||
|
|
|
|
|
|1484|Group Sold Products By The Date||85.3%|Easy||
|
|
|
|
|
|1485|Clone Binary Tree With Random Pointer||79.4%|Medium||
|
|
|
|
|
|1483|Kth Ancestor of a Tree Node||31.1%|Hard||
|
|
|
|
|
|1484|Group Sold Products By The Date||85.4%|Easy||
|
|
|
|
|
|1485|Clone Binary Tree With Random Pointer||79.3%|Medium||
|
|
|
|
|
|1486|XOR Operation in an Array||84.0%|Easy||
|
|
|
|
|
|1487|Making File Names Unique||30.9%|Medium||
|
|
|
|
|
|1488|Avoid Flood in The City||24.5%|Medium||
|
|
|
|
@ -1631,9 +1631,9 @@
|
|
|
|
|
|1490|Clone N-ary Tree||83.4%|Medium||
|
|
|
|
|
|1491|Average Salary Excluding the Minimum and Maximum Salary||68.4%|Easy||
|
|
|
|
|
|1492|The kth Factor of n||63.1%|Medium||
|
|
|
|
|
|1493|Longest Subarray of 1's After Deleting One Element||57.6%|Medium||
|
|
|
|
|
|1493|Longest Subarray of 1's After Deleting One Element||57.7%|Medium||
|
|
|
|
|
|1494|Parallel Courses II||31.1%|Hard||
|
|
|
|
|
|1495|Friendly Movies Streamed Last Month||51.3%|Easy||
|
|
|
|
|
|1495|Friendly Movies Streamed Last Month||51.2%|Easy||
|
|
|
|
|
|1496|Path Crossing||55.3%|Easy||
|
|
|
|
|
|1497|Check If Array Pairs Are Divisible by k||40.3%|Medium||
|
|
|
|
|
|1498|Number of Subsequences That Satisfy the Given Sum Condition||38.8%|Medium||
|
|
|
|
@ -1679,14 +1679,14 @@
|
|
|
|
|
|1538|Guess the Majority in a Hidden Array||61.2%|Medium||
|
|
|
|
|
|1539|Kth Missing Positive Number|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1539.Kth-Missing-Positive-Number)|54.9%|Easy||
|
|
|
|
|
|1540|Can Convert String in K Moves||31.1%|Medium||
|
|
|
|
|
|1541|Minimum Insertions to Balance a Parentheses String||43.0%|Medium||
|
|
|
|
|
|1542|Find Longest Awesome Substring||36.6%|Hard||
|
|
|
|
|
|1541|Minimum Insertions to Balance a Parentheses String||43.1%|Medium||
|
|
|
|
|
|1542|Find Longest Awesome Substring||36.7%|Hard||
|
|
|
|
|
|1543|Fix Product Name Format||67.4%|Easy||
|
|
|
|
|
|1544|Make The String Great||55.5%|Easy||
|
|
|
|
|
|1545|Find Kth Bit in Nth Binary String||57.6%|Medium||
|
|
|
|
|
|1546|Maximum Number of Non-Overlapping Subarrays With Sum Equals Target||43.9%|Medium||
|
|
|
|
|
|1547|Minimum Cost to Cut a Stick||52.9%|Hard||
|
|
|
|
|
|1548|The Most Similar Path in a Graph||54.2%|Hard||
|
|
|
|
|
|1547|Minimum Cost to Cut a Stick||53.0%|Hard||
|
|
|
|
|
|1548|The Most Similar Path in a Graph||54.3%|Hard||
|
|
|
|
|
|1549|The Most Recent Orders for Each Product||66.9%|Medium||
|
|
|
|
|
|1550|Three Consecutive Odds||64.5%|Easy||
|
|
|
|
|
|1551|Minimum Operations to Make Array Equal||77.8%|Medium||
|
|
|
|
@ -1701,7 +1701,7 @@
|
|
|
|
|
|1560|Most Visited Sector in a Circular Track||56.9%|Easy||
|
|
|
|
|
|1561|Maximum Number of Coins You Can Get||77.3%|Medium||
|
|
|
|
|
|1562|Find Latest Group of Size M||39.6%|Medium||
|
|
|
|
|
|1563|Stone Game V||39.9%|Hard||
|
|
|
|
|
|1563|Stone Game V||40.0%|Hard||
|
|
|
|
|
|1564|Put Boxes Into the Warehouse I||65.9%|Medium||
|
|
|
|
|
|1565|Unique Orders and Customers Per Month||83.0%|Easy||
|
|
|
|
|
|1566|Detect Pattern of Length M Repeated K or More Times||42.5%|Easy||
|
|
|
|
@ -1710,19 +1710,19 @@
|
|
|
|
|
|1569|Number of Ways to Reorder Array to Get Same BST||50.1%|Hard||
|
|
|
|
|
|1570|Dot Product of Two Sparse Vectors||91.3%|Medium||
|
|
|
|
|
|1571|Warehouse Manager||89.9%|Easy||
|
|
|
|
|
|1572|Matrix Diagonal Sum||77.7%|Easy||
|
|
|
|
|
|1572|Matrix Diagonal Sum||77.6%|Easy||
|
|
|
|
|
|1573|Number of Ways to Split a String|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1573.Number-of-Ways-to-Split-a-String)|31.3%|Medium||
|
|
|
|
|
|1574|Shortest Subarray to be Removed to Make Array Sorted||34.0%|Medium||
|
|
|
|
|
|1575|Count All Possible Routes||57.1%|Hard||
|
|
|
|
|
|1576|Replace All ?'s to Avoid Consecutive Repeating Characters||49.5%|Easy||
|
|
|
|
|
|1577|Number of Ways Where Square of Number Is Equal to Product of Two Numbers||37.8%|Medium||
|
|
|
|
|
|1578|Minimum Deletion Cost to Avoid Repeating Letters||60.6%|Medium||
|
|
|
|
|
|1578|Minimum Deletion Cost to Avoid Repeating Letters||60.5%|Medium||
|
|
|
|
|
|1579|Remove Max Number of Edges to Keep Graph Fully Traversable|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1579.Remove-Max-Number-of-Edges-to-Keep-Graph-Fully-Traversable)|46.2%|Hard||
|
|
|
|
|
|1580|Put Boxes Into the Warehouse II||62.1%|Medium||
|
|
|
|
|
|1581|Customer Who Visited but Did Not Make Any Transactions||89.7%|Easy||
|
|
|
|
|
|1582|Special Positions in a Binary Matrix||64.3%|Easy||
|
|
|
|
|
|1583|Count Unhappy Friends||54.9%|Medium||
|
|
|
|
|
|1584|Min Cost to Connect All Points||52.7%|Medium||
|
|
|
|
|
|1584|Min Cost to Connect All Points||52.8%|Medium||
|
|
|
|
|
|1585|Check If String Is Transformable With Substring Sort Operations||48.5%|Hard||
|
|
|
|
|
|1586|Binary Search Tree Iterator II||67.1%|Medium||
|
|
|
|
|
|1587|Bank Account Summary II||89.8%|Easy||
|
|
|
|
@ -1734,11 +1734,11 @@
|
|
|
|
|
|1593|Split a String Into the Max Number of Unique Substrings||49.7%|Medium||
|
|
|
|
|
|1594|Maximum Non Negative Product in a Matrix||31.9%|Medium||
|
|
|
|
|
|1595|Minimum Cost to Connect Two Groups of Points||43.4%|Hard||
|
|
|
|
|
|1596|The Most Frequently Ordered Products for Each Customer||85.0%|Medium||
|
|
|
|
|
|1596|The Most Frequently Ordered Products for Each Customer||85.1%|Medium||
|
|
|
|
|
|1597|Build Binary Expression Tree From Infix Expression||59.4%|Hard||
|
|
|
|
|
|1598|Crawler Log Folder||63.9%|Easy||
|
|
|
|
|
|1599|Maximum Profit of Operating a Centennial Wheel||43.7%|Medium||
|
|
|
|
|
|1600|Throne Inheritance||60.5%|Medium||
|
|
|
|
|
|1600|Throne Inheritance||60.4%|Medium||
|
|
|
|
|
|1601|Maximum Number of Achievable Transfer Requests||47.7%|Hard||
|
|
|
|
|
|1602|Find Nearest Right Node in Binary Tree||73.5%|Medium||
|
|
|
|
|
|1603|Design Parking System|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1603.Design-Parking-System)|86.2%|Easy||
|
|
|
|
@ -1749,8 +1749,8 @@
|
|
|
|
|
|1608|Special Array With X Elements Greater Than or Equal X|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1608.Special-Array-With-X-Elements-Greater-Than-or-Equal-X)|61.3%|Easy||
|
|
|
|
|
|1609|Even Odd Tree||52.4%|Medium||
|
|
|
|
|
|1610|Maximum Number of Visible Points||30.3%|Hard||
|
|
|
|
|
|1611|Minimum One Bit Operations to Make Integers Zero||57.4%|Hard||
|
|
|
|
|
|1612|Check If Two Expression Trees are Equivalent||69.9%|Medium||
|
|
|
|
|
|1611|Minimum One Bit Operations to Make Integers Zero||57.5%|Hard||
|
|
|
|
|
|1612|Check If Two Expression Trees are Equivalent||70.0%|Medium||
|
|
|
|
|
|1613|Find the Missing IDs||74.5%|Medium||
|
|
|
|
|
|1614|Maximum Nesting Depth of the Parentheses|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1614.Maximum-Nesting-Depth-of-the-Parentheses)|82.7%|Easy||
|
|
|
|
|
|1615|Maximal Network Rank||52.5%|Medium||
|
|
|
|
@ -1759,8 +1759,8 @@
|
|
|
|
|
|1618|Maximum Font to Fit a Sentence in a Screen||56.5%|Medium||
|
|
|
|
|
|1619|Mean of Array After Removing Some Elements|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1619.Mean-of-Array-After-Removing-Some-Elements)|64.8%|Easy||
|
|
|
|
|
|1620|Coordinate With Maximum Network Quality||37.1%|Medium||
|
|
|
|
|
|1621|Number of Sets of K Non-Overlapping Line Segments||41.5%|Medium||
|
|
|
|
|
|1622|Fancy Sequence||14.9%|Hard||
|
|
|
|
|
|1621|Number of Sets of K Non-Overlapping Line Segments||41.4%|Medium||
|
|
|
|
|
|1622|Fancy Sequence||15.0%|Hard||
|
|
|
|
|
|1623|All Valid Triplets That Can Represent a Country||88.9%|Easy||
|
|
|
|
|
|1624|Largest Substring Between Two Equal Characters|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1624.Largest-Substring-Between-Two-Equal-Characters)|58.6%|Easy||
|
|
|
|
|
|1625|Lexicographically Smallest String After Applying Operations||64.1%|Medium||
|
|
|
|
@ -1773,7 +1773,7 @@
|
|
|
|
|
|1632|Rank Transform of a Matrix||31.3%|Hard||
|
|
|
|
|
|1633|Percentage of Users Attended a Contest||71.2%|Easy||
|
|
|
|
|
|1634|Add Two Polynomials Represented as Linked Lists||54.9%|Medium||
|
|
|
|
|
|1635|Hopper Company Queries I||56.3%|Hard||
|
|
|
|
|
|1635|Hopper Company Queries I||56.2%|Hard||
|
|
|
|
|
|1636|Sort Array by Increasing Frequency|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1636.Sort-Array-by-Increasing-Frequency)|66.8%|Easy||
|
|
|
|
|
|1637|Widest Vertical Area Between Two Points Containing No Points||83.6%|Medium||
|
|
|
|
|
|1638|Count Substrings That Differ by One Character||69.8%|Medium||
|
|
|
|
@ -1783,18 +1783,18 @@
|
|
|
|
|
|1642|Furthest Building You Can Reach||50.1%|Medium||
|
|
|
|
|
|1643|Kth Smallest Instructions||44.4%|Hard||
|
|
|
|
|
|1644|Lowest Common Ancestor of a Binary Tree II||56.2%|Medium||
|
|
|
|
|
|1645|Hopper Company Queries II||38.7%|Hard||
|
|
|
|
|
|1646|Get Maximum in Generated Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1646.Get-Maximum-in-Generated-Array)|53.3%|Easy||
|
|
|
|
|
|1645|Hopper Company Queries II||38.6%|Hard||
|
|
|
|
|
|1646|Get Maximum in Generated Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1646.Get-Maximum-in-Generated-Array)|53.2%|Easy||
|
|
|
|
|
|1647|Minimum Deletions to Make Character Frequencies Unique|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique)|55.0%|Medium||
|
|
|
|
|
|1648|Sell Diminishing-Valued Colored Balls|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1648.Sell-Diminishing-Valued-Colored-Balls)|30.5%|Medium||
|
|
|
|
|
|1649|Create Sorted Array through Instructions|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1649.Create-Sorted-Array-through-Instructions)|36.4%|Hard||
|
|
|
|
|
|1650|Lowest Common Ancestor of a Binary Tree III||76.6%|Medium||
|
|
|
|
|
|1651|Hopper Company Queries III||67.1%|Hard||
|
|
|
|
|
|1651|Hopper Company Queries III||67.2%|Hard||
|
|
|
|
|
|1652|Defuse the Bomb|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1652.Defuse-the-Bomb)|62.0%|Easy||
|
|
|
|
|
|1653|Minimum Deletions to Make String Balanced|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1653.Minimum-Deletions-to-Make-String-Balanced)|51.5%|Medium||
|
|
|
|
|
|1654|Minimum Jumps to Reach Home|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1654.Minimum-Jumps-to-Reach-Home)|25.3%|Medium||
|
|
|
|
|
|1655|Distribute Repeating Integers|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1655.Distribute-Repeating-Integers)|39.9%|Hard||
|
|
|
|
|
|1656|Design an Ordered Stream|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1656.Design-an-Ordered-Stream)|82.0%|Easy||
|
|
|
|
|
|1656|Design an Ordered Stream|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1656.Design-an-Ordered-Stream)|81.9%|Easy||
|
|
|
|
|
|1657|Determine if Two Strings Are Close|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1657.Determine-if-Two-Strings-Are-Close)|55.3%|Medium||
|
|
|
|
|
|1658|Minimum Operations to Reduce X to Zero|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1658.Minimum-Operations-to-Reduce-X-to-Zero)|33.3%|Medium||
|
|
|
|
|
|1659|Maximize Grid Happiness|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1659.Maximize-Grid-Happiness)|35.6%|Hard||
|
|
|
|
@ -1804,7 +1804,7 @@
|
|
|
|
|
|1663|Smallest String With A Given Numeric Value|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1663.Smallest-String-With-A-Given-Numeric-Value)|64.4%|Medium||
|
|
|
|
|
|1664|Ways to Make a Fair Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1664.Ways-to-Make-a-Fair-Array)|62.2%|Medium||
|
|
|
|
|
|1665|Minimum Initial Energy to Finish Tasks|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1665.Minimum-Initial-Energy-to-Finish-Tasks)|65.3%|Hard||
|
|
|
|
|
|1666|Change the Root of a Binary Tree||68.4%|Medium||
|
|
|
|
|
|1666|Change the Root of a Binary Tree||68.5%|Medium||
|
|
|
|
|
|1667|Fix Names in a Table||63.1%|Easy||
|
|
|
|
|
|1668|Maximum Repeating Substring|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1668.Maximum-Repeating-Substring)|38.8%|Easy||
|
|
|
|
|
|1669|Merge In Between Linked Lists|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1669.Merge-In-Between-Linked-Lists)|75.8%|Medium||
|
|
|
|
@ -1820,11 +1820,11 @@
|
|
|
|
|
|1679|Max Number of K-Sum Pairs|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1679.Max-Number-of-K-Sum-Pairs)|53.9%|Medium||
|
|
|
|
|
|1680|Concatenation of Consecutive Binary Numbers|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1680.Concatenation-of-Consecutive-Binary-Numbers)|52.3%|Medium||
|
|
|
|
|
|1681|Minimum Incompatibility|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1681.Minimum-Incompatibility)|35.7%|Hard||
|
|
|
|
|
|1682|Longest Palindromic Subsequence II||51.7%|Medium||
|
|
|
|
|
|1682|Longest Palindromic Subsequence II||51.8%|Medium||
|
|
|
|
|
|1683|Invalid Tweets||90.9%|Easy||
|
|
|
|
|
|1684|Count the Number of Consistent Strings|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1684.Count-the-Number-of-Consistent-Strings)|82.0%|Easy||
|
|
|
|
|
|1685|Sum of Absolute Differences in a Sorted Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1685.Sum-of-Absolute-Differences-in-a-Sorted-Array)|62.9%|Medium||
|
|
|
|
|
|1686|Stone Game VI||49.9%|Medium||
|
|
|
|
|
|1686|Stone Game VI||49.8%|Medium||
|
|
|
|
|
|1687|Delivering Boxes from Storage to Ports||35.0%|Hard||
|
|
|
|
|
|1688|Count of Matches in Tournament|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1688.Count-of-Matches-in-Tournament)|81.5%|Easy||
|
|
|
|
|
|1689|Partitioning Into Minimum Number Of Deci-Binary Numbers|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1689.Partitioning-Into-Minimum-Number-Of-Deci-Binary-Numbers)|87.1%|Medium||
|
|
|
|
@ -1835,17 +1835,17 @@
|
|
|
|
|
|1694|Reformat Phone Number|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1694.Reformat-Phone-Number)|65.5%|Easy||
|
|
|
|
|
|1695|Maximum Erasure Value|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1695.Maximum-Erasure-Value)|49.6%|Medium||
|
|
|
|
|
|1696|Jump Game VI|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1696.Jump-Game-VI)|52.2%|Medium||
|
|
|
|
|
|1697|Checking Existence of Edge Length Limited Paths||54.5%|Hard||
|
|
|
|
|
|1697|Checking Existence of Edge Length Limited Paths||54.4%|Hard||
|
|
|
|
|
|1698|Number of Distinct Substrings in a String||60.5%|Medium||
|
|
|
|
|
|1699|Number of Calls Between Two Persons||86.3%|Medium||
|
|
|
|
|
|1700|Number of Students Unable to Eat Lunch|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1700.Number-of-Students-Unable-to-Eat-Lunch)|68.0%|Easy||
|
|
|
|
|
|1701|Average Waiting Time||61.4%|Medium||
|
|
|
|
|
|1702|Maximum Binary String After Change||59.6%|Medium||
|
|
|
|
|
|1702|Maximum Binary String After Change||59.7%|Medium||
|
|
|
|
|
|1703|Minimum Adjacent Swaps for K Consecutive Ones||39.8%|Hard||
|
|
|
|
|
|1704|Determine if String Halves Are Alike|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1704.Determine-if-String-Halves-Are-Alike)|77.1%|Easy||
|
|
|
|
|
|1705|Maximum Number of Eaten Apples||41.8%|Medium||
|
|
|
|
|
|1706|Where Will the Ball Fall||60.1%|Medium||
|
|
|
|
|
|1707|Maximum XOR With an Element From Array||46.6%|Hard||
|
|
|
|
|
|1707|Maximum XOR With an Element From Array||46.7%|Hard||
|
|
|
|
|
|1708|Largest Subarray Length K||63.1%|Easy||
|
|
|
|
|
|1709|Biggest Window Between Visits||83.0%|Medium||
|
|
|
|
|
|1710|Maximum Units on a Truck|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1710.Maximum-Units-on-a-Truck)|69.9%|Easy||
|
|
|
|
@ -1858,18 +1858,18 @@
|
|
|
|
|
|1717|Maximum Score From Removing Substrings||40.6%|Medium||
|
|
|
|
|
|1718|Construct the Lexicographically Largest Valid Sequence||46.3%|Medium||
|
|
|
|
|
|1719|Number Of Ways To Reconstruct A Tree||39.5%|Hard||
|
|
|
|
|
|1720|Decode XORed Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1720.Decode-XORed-Array)|85.2%|Easy||
|
|
|
|
|
|1720|Decode XORed Array|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1720.Decode-XORed-Array)|85.1%|Easy||
|
|
|
|
|
|1721|Swapping Nodes in a Linked List|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1721.Swapping-Nodes-in-a-Linked-List)|67.9%|Medium||
|
|
|
|
|
|1722|Minimize Hamming Distance After Swap Operations||54.3%|Medium||
|
|
|
|
|
|1723|Find Minimum Time to Finish All Jobs||43.7%|Hard||
|
|
|
|
|
|1723|Find Minimum Time to Finish All Jobs||43.6%|Hard||
|
|
|
|
|
|1724|Checking Existence of Edge Length Limited Paths II||58.0%|Hard||
|
|
|
|
|
|1725|Number Of Rectangles That Can Form The Largest Square|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1725.Number-Of-Rectangles-That-Can-Form-The-Largest-Square)|78.0%|Easy||
|
|
|
|
|
|1726|Tuple with Same Product||56.5%|Medium||
|
|
|
|
|
|1727|Largest Submatrix With Rearrangements||58.6%|Medium||
|
|
|
|
|
|1728|Cat and Mouse II||40.8%|Hard||
|
|
|
|
|
|1729|Find Followers Count||71.3%|Easy||
|
|
|
|
|
|1730|Shortest Path to Get Food||56.4%|Medium||
|
|
|
|
|
|1731|The Number of Employees Which Report to Each Employee||49.1%|Easy||
|
|
|
|
|
|1730|Shortest Path to Get Food||56.3%|Medium||
|
|
|
|
|
|1731|The Number of Employees Which Report to Each Employee||49.2%|Easy||
|
|
|
|
|
|1732|Find the Highest Altitude|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1732.Find-the-Highest-Altitude)|80.1%|Easy||
|
|
|
|
|
|1733|Minimum Number of People to Teach||37.4%|Medium||
|
|
|
|
|
|1734|Decode XORed Permutation||53.8%|Medium||
|
|
|
|
@ -1884,8 +1884,8 @@
|
|
|
|
|
|1743|Restore the Array From Adjacent Pairs||63.0%|Medium||
|
|
|
|
|
|1744|Can You Eat Your Favorite Candy on Your Favorite Day?||30.5%|Medium||
|
|
|
|
|
|1745|Palindrome Partitioning IV||49.5%|Hard||
|
|
|
|
|
|1746|Maximum Subarray Sum After One Operation||61.9%|Medium||
|
|
|
|
|
|1747|Leetflex Banned Accounts||69.3%|Medium||
|
|
|
|
|
|1746|Maximum Subarray Sum After One Operation||61.7%|Medium||
|
|
|
|
|
|1747|Leetflex Banned Accounts||69.2%|Medium||
|
|
|
|
|
|1748|Sum of Unique Elements|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1748.Sum-of-Unique-Elements)|75.0%|Easy||
|
|
|
|
|
|1749|Maximum Absolute Sum of Any Subarray||52.1%|Medium||
|
|
|
|
|
|1750|Minimum Length of String After Deleting Similar Ends||42.5%|Medium||
|
|
|
|
@ -1899,24 +1899,24 @@
|
|
|
|
|
|1758|Minimum Changes To Make Alternating Binary String|[Go](https://github.com/halfrost/LeetCode-Go/tree/master/leetcode/1758.Minimum-Changes-To-Make-Alternating-Binary-String)|58.5%|Easy||
|
|
|
|
|
|1759|Count Number of Homogenous Substrings||42.4%|Medium||
|
|
|
|
|
|1760|Minimum Limit of Balls in a Bag||52.6%|Medium||
|
|
|
|
|
|1761|Minimum Degree of a Connected Trio in a Graph||37.4%|Hard||
|
|
|
|
|
|1762|Buildings With an Ocean View||81.0%|Medium||
|
|
|
|
|
|1761|Minimum Degree of a Connected Trio in a Graph||37.3%|Hard||
|
|
|
|
|
|1762|Buildings With an Ocean View||80.9%|Medium||
|
|
|
|
|
|1763|Longest Nice Substring||61.4%|Easy||
|
|
|
|
|
|1764|Form Array by Concatenating Subarrays of Another Array||55.0%|Medium||
|
|
|
|
|
|1764|Form Array by Concatenating Subarrays of Another Array||54.9%|Medium||
|
|
|
|
|
|1765|Map of Highest Peak||54.9%|Medium||
|
|
|
|
|
|1766|Tree of Coprimes||36.6%|Hard||
|
|
|
|
|
|1767|Find the Subtasks That Did Not Execute||87.5%|Hard||
|
|
|
|
|
|1767|Find the Subtasks That Did Not Execute||87.6%|Hard||
|
|
|
|
|
|1768|Merge Strings Alternately||76.3%|Easy||
|
|
|
|
|
|1769|Minimum Number of Operations to Move All Balls to Each Box||87.3%|Medium||
|
|
|
|
|
|1770|Maximum Score from Performing Multiplication Operations||29.3%|Medium||
|
|
|
|
|
|1769|Minimum Number of Operations to Move All Balls to Each Box||87.2%|Medium||
|
|
|
|
|
|1770|Maximum Score from Performing Multiplication Operations||29.2%|Medium||
|
|
|
|
|
|1771|Maximize Palindrome Length From Subsequences||34.1%|Hard||
|
|
|
|
|
|1772|Sort Features by Popularity||65.0%|Medium||
|
|
|
|
|
|1773|Count Items Matching a Rule||85.4%|Easy||
|
|
|
|
|
|1774|Closest Dessert Cost||58.6%|Medium||
|
|
|
|
|
|1773|Count Items Matching a Rule||85.5%|Easy||
|
|
|
|
|
|1774|Closest Dessert Cost||58.7%|Medium||
|
|
|
|
|
|1775|Equal Sum Arrays With Minimum Number of Operations||50.7%|Medium||
|
|
|
|
|
|1776|Car Fleet II||45.2%|Hard||
|
|
|
|
|
|1777|Product's Price for Each Store||87.0%|Easy||
|
|
|
|
|
|1778|Shortest Path in a Hidden Grid||46.4%|Medium||
|
|
|
|
|
|1778|Shortest Path in a Hidden Grid||46.0%|Medium||
|
|
|
|
|
|1779|Find Nearest Point That Has the Same X or Y Coordinate||67.7%|Easy||
|
|
|
|
|
|1780|Check if Number is a Sum of Powers of Three||63.3%|Medium||
|
|
|
|
|
|1781|Sum of Beauty of All Substrings||57.3%|Medium||
|
|
|
|
@ -1926,27 +1926,28 @@
|
|
|
|
|
|1785|Minimum Elements to Add to Form a Given Sum||39.2%|Medium||
|
|
|
|
|
|1786|Number of Restricted Paths From First to Last Node||35.9%|Medium||
|
|
|
|
|
|1787|Make the XOR of All Segments Equal to Zero||36.5%|Hard||
|
|
|
|
|
|1788|Maximize the Beauty of the Garden||69.8%|Hard||
|
|
|
|
|
|1788|Maximize the Beauty of the Garden||69.7%|Hard||
|
|
|
|
|
|1789|Primary Department for Each Employee||79.3%|Easy||
|
|
|
|
|
|1790|Check if One String Swap Can Make Strings Equal||62.4%|Easy||
|
|
|
|
|
|1791|Find Center of Star Graph||84.9%|Medium||
|
|
|
|
|
|1790|Check if One String Swap Can Make Strings Equal||62.3%|Easy||
|
|
|
|
|
|1791|Find Center of Star Graph||84.8%|Medium||
|
|
|
|
|
|1792|Maximum Average Pass Ratio||56.3%|Medium||
|
|
|
|
|
|1793|Maximum Score of a Good Subarray||45.8%|Hard||
|
|
|
|
|
|1794|Count Pairs of Equal Substrings With Minimum Difference||67.8%|Medium||
|
|
|
|
|
|1795|Rearrange Products Table||91.7%|Easy||
|
|
|
|
|
|1793|Maximum Score of a Good Subarray||45.7%|Hard||
|
|
|
|
|
|1794|Count Pairs of Equal Substrings With Minimum Difference||67.9%|Medium||
|
|
|
|
|
|1795|Rearrange Products Table||91.5%|Easy||
|
|
|
|
|
|1796|Second Largest Digit in a String||47.9%|Easy||
|
|
|
|
|
|1797|Design Authentication Manager||47.9%|Medium||
|
|
|
|
|
|1798|Maximum Number of Consecutive Values You Can Make||42.6%|Medium||
|
|
|
|
|
|1798|Maximum Number of Consecutive Values You Can Make||42.7%|Medium||
|
|
|
|
|
|1799|Maximize Score After N Operations||52.3%|Hard||
|
|
|
|
|
|1800|Maximum Ascending Subarray Sum||65.6%|Easy||
|
|
|
|
|
|1801|Number of Orders in the Backlog||43.5%|Medium||
|
|
|
|
|
|1802|Maximum Value at a Given Index in a Bounded Array||27.1%|Medium||
|
|
|
|
|
|1803|Count Pairs With XOR in a Range||41.6%|Hard||
|
|
|
|
|
|1804|Implement Trie II (Prefix Tree)||62.8%|Medium||
|
|
|
|
|
|1805|Number of Different Integers in a String||36.2%|Easy||
|
|
|
|
|
|1806|Minimum Number of Operations to Reinitialize a Permutation||69.7%|Medium||
|
|
|
|
|
|1807|Evaluate the Bracket Pairs of a String||67.1%|Medium||
|
|
|
|
|
|1808|Maximize Number of Nice Divisors||21.2%|Hard||
|
|
|
|
|
|1802|Maximum Value at a Given Index in a Bounded Array||27.2%|Medium||
|
|
|
|
|
|1803|Count Pairs With XOR in a Range||41.7%|Hard||
|
|
|
|
|
|1804|Implement Trie II (Prefix Tree)||62.1%|Medium||
|
|
|
|
|
|1805|Number of Different Integers in a String||36.7%|Easy||
|
|
|
|
|
|1806|Minimum Number of Operations to Reinitialize a Permutation||69.9%|Medium||
|
|
|
|
|
|1807|Evaluate the Bracket Pairs of a String||67.6%|Medium||
|
|
|
|
|
|1808|Maximize Number of Nice Divisors||23.3%|Hard||
|
|
|
|
|
|1809|Ad-Free Sessions||92.1%|Easy||
|
|
|
|
|
|------------|-------------------------------------------------------|-------| ----------------| ---------------|-------------|
|
|
|
|
|
|
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|