|
17 | 17 |
|
18 | 18 | Note: 所有的讲解写在了 GitHub Issue 上面, **请不要在本项目中新建任何的 Issue 或者 Pull Request,因为博主希望题目编号和 Issue 编号保持一致**,多谢!
|
19 | 19 |
|
20 |
| -('$' 代表锁住的题目, '*' 代表数据库类题目, '#' 代表脚本类题目。) |
| 20 | +('$' 代表锁住的题目, '*' 代表数据库类题目, '#' 代表脚本类题目, '~' 代表并行类题目。) |
21 | 21 |
|
22 | 22 |
|
23 | 23 | | # | Title | Solution | Difficulty |
|
24 | 24 | |---| ----- | -------- | ---------- |
|
| 25 | +|1260|[Shift 2D Grid](https://github.com/grandyang/leetcode/issues/1260)|62.10%|Easy| |
| 26 | +|1259|Handshakes That Don't Cross $|54.40%|Hard| |
| 27 | +|1258|Synonymous Sentences $|57.40%|Medium| |
| 28 | +|1257|Smallest Common Region $|62.10%|Medium| |
| 29 | +|1256|Encode Number $|69.00%|Medium| |
| 30 | +|1255|[Maximum Score Words Formed by Letters](https://github.com/grandyang/leetcode/issues/1255)|71.30%|Hard| |
| 31 | +|1254|[Number of Closed Islands](https://github.com/grandyang/leetcode/issues/1254)|62.70%|Medium| |
| 32 | +|1253|[Reconstruct a 2-Row Binary Matrix](https://github.com/grandyang/leetcode/issues/1253)|42.70%|Medium| |
| 33 | +|1252|[Cells with Odd Values in a Matrix](https://github.com/grandyang/leetcode/issues/1252)|78.50%|Easy| |
| 34 | +|1251|Average Selling Price * $|83.20%|Easy| |
| 35 | +|1250|[Check If It Is a Good Array](https://github.com/grandyang/leetcode/issues/1250)|57.50%|Hard| |
| 36 | +|1249|[Minimum Remove to Make Valid Parentheses](https://github.com/grandyang/leetcode/issues/1249)|65.00%|Medium| |
| 37 | +|1248|[Count Number of Nice Subarrays](https://github.com/grandyang/leetcode/issues/1248)|57.60%|Medium| |
| 38 | +|1247|[Minimum Swaps to Make Strings Equal](https://github.com/grandyang/leetcode/issues/1247)|63.60%|Medium| |
| 39 | +|1246|Palindrome Removal $|45.80%|Hard| |
| 40 | +|1245|Tree Diameter $|62.00%|Medium| |
| 41 | +|1244|Design A Leaderboard $|67.30%|Medium| |
| 42 | +|1243|Array Transformation $|50.10%|Easy| |
| 43 | +|1242|Web Crawler Multithreaded ~ $|48.20%|Medium| |
| 44 | +|1241|Number of Comments per Post * $|68.00%|Easy| |
| 45 | +|1240|[Tiling a Rectangle with the Fewest Squares](https://github.com/grandyang/leetcode/issues/1240)|52.40%|Hard| |
| 46 | +|1239|[Maximum Length of a Concatenated String with Unique Characters](https://github.com/grandyang/leetcode/issues/1239)|50.70%|Medium| |
| 47 | +|1238|[Circular Permutation in Binary Representation](https://github.com/grandyang/leetcode/issues/1238)|67.90%|Medium| |
| 48 | +|1237|[Find Positive Integer Solution for a Given Equation](https://github.com/grandyang/leetcode/issues/1237)|69.70%|Medium| |
| 49 | +|1236|Web Crawler $|65.40%|Medium| |
| 50 | +|1235|[Maximum Profit in Job Scheduling](https://github.com/grandyang/leetcode/issues/1235)|50.50%|Hard| |
| 51 | +|1234|[Replace the Substring for Balanced String](https://github.com/grandyang/leetcode/issues/1234)|35.50%|Medium| |
| 52 | +|1233|[Remove Sub-Folders from the Filesystem](https://github.com/grandyang/leetcode/issues/1233)|64.50%|Medium| |
| 53 | +|1232|[Check If It Is a Straight Line](https://github.com/grandyang/leetcode/issues/1232)|42.30%|Easy| |
| 54 | +|1231|Divide Chocolate $|55.50%|Hard| |
| 55 | +|1230|Toss Strange Coins $|50.80%|Medium| |
| 56 | +|1229|Meeting Scheduler $|54.70%|Medium| |
| 57 | +|1228|Missing Number In Arithmetic Progression $|51.20%|Medium| |
| 58 | +|1227|[Airplane Seat Assignment Probability](https://github.com/grandyang/leetcode/issues/1227)|63.00%|Medium| |
| 59 | +|1226|The Dining Philosophers ~|60.20%|Medium| |
| 60 | +|1225|Report Contiguous Dates *|63.80%|Hard| |
| 61 | +|1224|[Maximum Equal Frequency](https://github.com/grandyang/leetcode/issues/1224)|36.20%|Hard| |
| 62 | +|1223|[Dice Roll Simulation](https://github.com/grandyang/leetcode/issues/1223)|47.40%|Hard| |
| 63 | +|1222|[Queens That Can Attack the King](https://github.com/grandyang/leetcode/issues/1222)|70.20%|Medium| |
| 64 | +|1221|[Split a String in Balanced Strings](https://github.com/grandyang/leetcode/issues/1221)|84.60%|Easy| |
| 65 | +|1220|[Count Vowels Permutation](https://github.com/grandyang/leetcode/issues/1220)|56.60%|Hard| |
| 66 | +|1219|[Path with Maximum Gold](https://github.com/grandyang/leetcode/issues/1219)|66.10%|Medium| |
| 67 | +|1218|[Longest Arithmetic Subsequence of Given Difference](https://github.com/grandyang/leetcode/issues/1218)|48.10%|Medium| |
| 68 | +|1217|[Minimum Cost to Move Chips to The Same Position](https://github.com/grandyang/leetcode/issues/1217)|70.70%|Easy| |
| 69 | +|1216|Valid Palindrome III $|50.80%|Hard| |
| 70 | +|1215|Stepping Numbers $|44.60%|Medium| |
| 71 | +|1214|Two Sum BSTs $|67.30%|Medium| |
| 72 | +|1213|Intersection of Three Sorted Arrays $|79.80%|Easy| |
| 73 | +|1212|Team Scores in Football Tournament *|57.00%|Medium| |
| 74 | +|1211|Queries Quality and Percentage *|70.40%|Easy| |
| 75 | +|1210|[Minimum Moves to Reach Target with Rotations](https://github.com/grandyang/leetcode/issues/1210)|47.50%|Hard| |
| 76 | +|1209|[Remove All Adjacent Duplicates in String II](https://github.com/grandyang/leetcode/issues/1209)|56.40%|Medium| |
| 77 | +|1208|[Get Equal Substrings Within Budget](https://github.com/grandyang/leetcode/issues/1208)|45.30%|Medium| |
| 78 | +|1207|[Unique Number of Occurrences](https://github.com/grandyang/leetcode/issues/1207)|72.40%|Easy| |
| 79 | +|1206|[Design Skiplist](https://github.com/grandyang/leetcode/issues/1206)|59.60%|Hard| |
| 80 | +|1205|Monthly Transactions II *|45.30%|Medium| |
| 81 | +|1204|Last Person to Fit in the Bus *|73.00%|Medium| |
| 82 | +|1203|[Sort Items by Groups Respecting Dependencies](https://github.com/grandyang/leetcode/issues/1203)|48.80%|Hard| |
| 83 | +|1202|[Smallest String With Swaps](https://github.com/grandyang/leetcode/issues/1202)|50.50%|Medium| |
| 84 | +|1201|[Ugly Number III](https://github.com/grandyang/leetcode/issues/1201)|27.20%|Medium| |
| 85 | +|1200|[Minimum Absolute Difference](https://github.com/grandyang/leetcode/issues/1200)|67.30%|Easy| |
| 86 | +|1199|Minimum Time to Build Blocks $|39.40%|Hard| |
| 87 | +|1198|Find Smallest Common Element in All Rows $|76.30%|Medium| |
| 88 | +|1197|Minimum Knight Moves $|38.60%|Medium| |
| 89 | +|1196|How Many Apples Can You Put into the Basket $|68.30%|Easy| |
| 90 | +|1195|Fizz Buzz Multithreaded ~|71.40%|Medium| |
| 91 | +|1194|Tournament Winners *|52.70%|Hard| |
| 92 | +|1193|Monthly Transactions I *|68.70%|Medium| |
| 93 | +|1192|[Critical Connections in a Network](https://github.com/grandyang/leetcode/issues/1192)|51.80%|Hard| |
| 94 | +|1191|[K-Concatenation Maximum Sum](https://github.com/grandyang/leetcode/issues/1191)|24.60%|Medium| |
| 95 | +|1190|[Reverse Substrings Between Each Pair of Parentheses](https://github.com/grandyang/leetcode/issues/1190)|65.00%|Medium| |
| 96 | +|1189|[Maximum Number of Balloons](https://github.com/grandyang/leetcode/issues/1189)|62.00%|Easy| |
| 97 | +|1188|Design Bounded Blocking Queue ~|73.20%|Medium| |
| 98 | +|1187|[Make Array Strictly Increasing](https://github.com/grandyang/leetcode/issues/1187)|43.80%|Hard| |
| 99 | +|1186|[Maximum Subarray Sum with One Deletion](https://github.com/grandyang/leetcode/issues/1186)|39.80%|Medium| |
| 100 | +|1185|[Day of the Week](https://github.com/grandyang/leetcode/issues/1185)|59.90%|Easy| |
| 101 | +|1184|[Distance Between Bus Stops](https://github.com/grandyang/leetcode/issues/1184)|53.90%|Easy| |
| 102 | +|1183|Maximum Number of Ones $|58.70%|Hard| |
| 103 | +|1182|Shortest Distance to Target Color $|54.30%|Medium| |
| 104 | +|1181|Before and After Puzzle $|44.70%|Medium| |
| 105 | +|1180|Count Substrings with Only One Distinct Letter $|78.30%|Easy| |
| 106 | +|1179|Reformat Department Table *|82.10%|Easy| |
| 107 | +|1178|[Number of Valid Words for Each Puzzle](https://github.com/grandyang/leetcode/issues/1178)|40.80%|Hard| |
| 108 | +|1177|[Can Make Palindrome from Substring](https://github.com/grandyang/leetcode/issues/1177)|36.50%|Medium| |
| 109 | +|1176|Diet Plan Performance $|53.50%|Easy| |
| 110 | +|1175|[Prime Arrangements](https://github.com/grandyang/leetcode/issues/1175)|51.90%|Medium| |
| 111 | +|1174|Immediate Food Delivery II *|63.10%|Medium| |
| 112 | +|1173|Immediate Food Delivery I *|83.10%|Easy| |
| 113 | +|1172|[Dinner Plate Stacks](https://github.com/grandyang/leetcode/issues/1172)|36.40%|Hard| |
| 114 | +|1171|[Remove Zero Sum Consecutive Nodes from Linked List](https://github.com/grandyang/leetcode/issues/1171)|41.90%|Medium| |
| 115 | +|1170|[Compare Strings by Frequency of the Smallest Character](https://github.com/grandyang/leetcode/issues/1170)|60.60%|Medium| |
| 116 | +|1169|[Invalid Transactions](https://github.com/grandyang/leetcode/issues/1169)|30.40%|Medium| |
| 117 | +|1168|Optimize Water Distribution in a Village $|62.30%|Hard| |
| 118 | +|1167|Minimum Cost to Connect Sticks $|65.70%|Medium| |
| 119 | +|1166|Design File System $|59.00%|Medium| |
| 120 | +|1165|Single-Row Keyboard $|85.50%|Easy| |
| 121 | +|1164|Product Price at a Given Date *|69.00%|Medium| |
| 122 | +|1163|[Last Substring in Lexicographical Order](https://github.com/grandyang/leetcode/issues/1163)|36.00%|Hard| |
| 123 | +|1162|[As Far from Land as Possible](https://github.com/grandyang/leetcode/issues/1162)|46.60%|Medium| |
| 124 | +|1161|[Maximum Level Sum of a Binary Tree](https://github.com/grandyang/leetcode/issues/1161)|67.50%|Medium| |
| 125 | +|1160|[Find Words That Can Be Formed by Characters](https://github.com/grandyang/leetcode/issues/1160)|67.80%|Easy| |
| 126 | +|1159|Market Analysis II *|57.00%|Hard| |
| 127 | +|1158|Market Analysis I *|65.00%|Medium| |
| 128 | +|1157|[Online Majority Element In Subarray](https://github.com/grandyang/leetcode/issues/1157)|41.60%|Hard| |
| 129 | +|1156|[Swap For Longest Repeated Character Substring](https://github.com/grandyang/leetcode/issues/1156)|47.20%|Medium| |
| 130 | +|1155|[Number of Dice Rolls With Target Sum](https://github.com/grandyang/leetcode/issues/1155)|47.70%|Medium| |
| 131 | +|1154|[Day of the Year](https://github.com/grandyang/leetcode/issues/1154)|50.10%|Easy| |
| 132 | +|1153|String Transforms Into Another String $|35.60%|Hard| |
| 133 | +|1152|Analyze User Website Visit Pattern $|43.20%|Medium| |
| 134 | +|1151|Minimum Swaps to Group All 1's Together $|51.90%|Medium| |
| 135 | +|1150|Check If a Number Is Majority Element in a Sorted Array $|57.10%|Easy| |
| 136 | +|1149|Article Views II * $|48.20%|Medium| |
| 137 | +|1148|Article Views I * $|77.10%|Easy| |
| 138 | +|1147|[Longest Chunked Palindrome Decomposition](https://github.com/grandyang/leetcode/issues/1147)|59.80%|Hard| |
| 139 | +|1146|[Snapshot Array](https://github.com/grandyang/leetcode/issues/1146)|37.00%|Medium| |
| 140 | +|1145|[Binary Tree Coloring Game](https://github.com/grandyang/leetcode/issues/1145)|51.10%|Medium| |
| 141 | +|1144|[Decrease Elements To Make Array Zigzag](https://github.com/grandyang/leetcode/issues/1144)|46.50%|Medium| |
| 142 | +|1143|[Longest Common Subsequence](https://github.com/grandyang/leetcode/issues/1143)|58.80%|Medium| |
| 143 | +|1142|User Activity for the Past 30 Days II * $|35.50%|Easy| |
| 144 | +|1141|User Activity for the Past 30 Days I * $|54.60%|Easy| |
| 145 | +|1140|[Stone Game II](https://github.com/grandyang/leetcode/issues/1140)|64.60%|Medium| |
| 146 | +|1139|[Largest 1-Bordered Square](https://github.com/grandyang/leetcode/issues/1139)|48.70%|Medium| |
| 147 | +|1138|[Alphabet Board Path](https://github.com/grandyang/leetcode/issues/1138)|51.60%|Medium| |
| 148 | +|1137|[N-th Tribonacci Number](https://github.com/grandyang/leetcode/issues/1137)|55.70%|Easy| |
| 149 | +|1136|Parallel Courses $|60.70%|Medium| |
| 150 | +|1135|Connecting Cities With Minimum Cost $|60.00%|Easy| |
| 151 | +|1134|Armstrong Number $|78.50%|Easy| |
| 152 | +|1133|Largest Unique Number $|67.20%|Easy| |
| 153 | +|1132|Reported Posts II * $|34.40%|Medium| |
| 154 | +|1131|[Maximum of Absolute Value Expression](https://github.com/grandyang/leetcode/issues/1131)|51.30%|Medium| |
| 155 | +|1130|[Minimum Cost Tree From Leaf Values](https://github.com/grandyang/leetcode/issues/1130)|67.40%|Medium| |
| 156 | +|1129|[Shortest Path with Alternating Colors](https://github.com/grandyang/leetcode/issues/1129)|40.70%|Medium| |
| 157 | +|1128|[Number of Equivalent Domino Pairs](https://github.com/grandyang/leetcode/issues/1128)|45.90%|Easy| |
| 158 | +|1127|User Purchase Platform * $|50.80%|Hard| |
| 159 | +|1126|Active Businesses * $|68.40%|Medium| |
| 160 | +|1125|[Smallest Sufficient Team](https://github.com/grandyang/leetcode/issues/1125)|47.20%|Hard| |
| 161 | +|1124|[Longest Well-Performing Interval](https://github.com/grandyang/leetcode/issues/1124)|33.50%|Medium| |
| 162 | +|1123|[Lowest Common Ancestor of Deepest Leaves](https://github.com/grandyang/leetcode/issues/1123)|68.50%|Medium| |
| 163 | +|1122|[Relative Sort Array](https://github.com/grandyang/leetcode/issues/1122)|67.90%|Easy| |
| 164 | +|1121|Divide Array Into Increasing Sequences $|59.00%|Hard| |
| 165 | +|1120|Maximum Average Subtree $|64.50%|Medium| |
| 166 | +|1119|Remove Vowels from a String $|90.50%|Easy| |
| 167 | +|1118|Number of Days in a Month $|57.30%|Easy| |
| 168 | +|1117|Building H2O ~|53.10%|Medium| |
| 169 | +|1116|Print Zero Even Odd ~|58.20%|Medium| |
| 170 | +|1115|Print FooBar Alternately ~|59.00%|Medium| |
| 171 | +|1114|Print in Order ~|67.60%|Easy| |
| 172 | +|1113|Reported Posts * $|66.40%|Medium| |
| 173 | +|1112|Highest Grade For Each Student * $|72.80%|Medium| |
| 174 | +|1111|[Maximum Nesting Depth of Two Valid Parentheses Strings](https://github.com/grandyang/leetcode/issues/1111)|72.70%|Medium| |
25 | 175 | |1110|[Delete Nodes And Return Forest](https://github.com/grandyang/leetcode/issues/1110)|68.00%|Medium|
|
26 | 176 | |1109|[Corporate Flight Bookings](https://github.com/grandyang/leetcode/issues/1109)|54.30%|Medium|
|
27 | 177 | |1108|[Defanging an IP Address](https://github.com/grandyang/leetcode/issues/1108)|88.40%|Easy|
|
@@ -1079,7 +1229,7 @@ Note: 所有的讲解写在了 GitHub Issue 上面, **请不要在本项目中
|
1079 | 1229 | |53|[Maximum Subarray](https://github.com/grandyang/leetcode/issues/53)|34.50%|Medium|
|
1080 | 1230 | |52|[N-Queens II](https://github.com/grandyang/leetcode/issues/52)|35.80%|Hard|
|
1081 | 1231 | |51|[N-Queens](https://github.com/grandyang/leetcode/issues/51)|26.50%|Hard|
|
1082 |
| -|50|"Pow(x| n)"|26.70%| |
| 1232 | +|50|[Pow(x, n)](https://github.com/grandyang/leetcode/issues/50)|26.70%| |
1083 | 1233 | |49|[Anagrams](https://github.com/grandyang/leetcode/issues/49)|24.30%|Medium|
|
1084 | 1234 | |48|[Rotate Image](https://github.com/grandyang/leetcode/issues/48)|31.90%|Medium|
|
1085 | 1235 | |47|[Permutations II](https://github.com/grandyang/leetcode/issues/47)|25.80%|Hard|
|
@@ -1133,6 +1283,8 @@ Note: 所有的讲解写在了 GitHub Issue 上面, **请不要在本项目中
|
1133 | 1283 |
|
1134 | 1284 |
|
1135 | 1285 |
|
| 1286 | + |
| 1287 | + |
1136 | 1288 | <br>
|
1137 | 1289 |
|
1138 | 1290 | ## 微信公众号
|
|
0 commit comments