├── .github
├── FUNDING.yml
└── ISSUE_TEMPLATE
│ ├── please-do-not-create-bug-report-in-this-project.md
│ ├── please-do-not-create-custom-issue-in-this-project.md
│ └── please-do-not-create-feature-request-in-this-project.md
├── README-CN.md
├── README.md
├── _config.yml
├── img
├── 204_sieve_of_Eratosthenes_animation.gif
├── 208_trie.png
├── 222_full_binary_tree.png
├── 407_1.jpg
├── 407_2.jpg
├── 407_3.jpg
├── 407_4.jpg
├── 407_5.jpg
├── 407_6.jpg
├── 407_7.jpg
├── 407_8.jpg
├── 850_showcases.png
├── 858_three.png
├── manacher_1.png
└── manacher_2.png
├── leetcode-meet-me.gif
├── plugin.gif
├── podcast.png
├── reward.png
├── shua2sum.png
├── venmo.gif
├── venmo.png
└── wechat-shua2sum.png
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [grandyang]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/please-do-not-create-bug-report-in-this-project.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Please DO NOT create bug report in this project
3 | about: Please DO NOT create bug report in this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | Please DO NOT create bug report in this project!
11 | Please DO NOT create bug report in this project!
12 | Please DO NOT create bug report in this project!
13 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/please-do-not-create-custom-issue-in-this-project.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Please DO NOT create custom issue in this project
3 | about: Please DO NOT create custom issue in this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | Please DO NOT create custom issue in this project!
11 | Please DO NOT create custom issue in this project!
12 | Please DO NOT create custom issue in this project!
13 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/please-do-not-create-feature-request-in-this-project.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Please DO NOT create feature request in this project
3 | about: Please DO NOT create feature request in this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | Please DO NOT create feature request in this project!
11 | Please DO NOT create feature request in this project!
12 | Please DO NOT create feature request in this project!
13 |
--------------------------------------------------------------------------------
/README-CN.md:
--------------------------------------------------------------------------------
1 | # LeetCode All In One
2 |
3 | 
4 | 
5 | 
6 | 
7 | 
8 |
9 |
10 | [English](./README.md) | 简体中文
11 |
12 | ---
13 |
14 | 提供博主所有的 LeetCode 的解题代码和中文讲解。
15 |
16 | 与博客园上相同: [LeetCode All in One 题目讲解汇总(持续更新中...)](https://www.cnblogs.com/grandyang/p/4606334.html)
17 |
18 | [请点击下方图片观看讲解视频](https://www.youtube.com/playlist?list=PLZFoAdzIur8ii06R2KsX7Mct2PEuUh0tc)
19 | [](https://www.youtube.com/playlist?list=PLZFoAdzIur8ii06R2KsX7Mct2PEuUh0tc)
20 |
21 | Note: 所有的讲解写在了 GitHub Issue 上面, **请不要在本项目中新建任何的 Issue 或者 Pull Request,因为博主希望题目编号和 Issue 编号保持一致**,多谢!
22 |
23 | ('$' 代表锁住的题目, '*' 代表数据库类题目, '#' 代表脚本类题目, '~' 代表并行类题目。)
24 |
25 |
26 | | # | Title | Solution | Difficulty |
27 | |---| ----- | -------- | ---------- |
28 | |1352|[Product of the Last K Numbers](https://github.com/grandyang/leetcode/issues/1352)|50.20%|Medium|
29 | |1351|[Count Negative Numbers in a Sorted Matrix](https://github.com/grandyang/leetcode/issues/1351)|77.30%|Easy|
30 | |1350|Students With Invalid Departments * $|89.90%|Easy|
31 | |1349|[Maximum Students Taking Exam](https://github.com/grandyang/leetcode/issues/1349)|49.80%|Hard|
32 | |1348|[Tweet Counts Per Frequency](https://github.com/grandyang/leetcode/issues/1348)|44.00%|Medium|
33 | |1347|[Minimum Number of Steps to Make Two Strings Anagram](https://github.com/grandyang/leetcode/issues/1347)|78.00%|Medium|
34 | |1346|[Check If N and Its Double Exist](https://github.com/grandyang/leetcode/issues/1346)|36.70%|Easy|
35 | |1345|[Jump Game IV](https://github.com/grandyang/leetcode/issues/1345)|46.60%|Hard|
36 | |1344|[Angle Between Hands of a Clock](https://github.com/grandyang/leetcode/issues/1344)|63.40%|Medium|
37 | |1343|[Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold](https://github.com/grandyang/leetcode/issues/1343)|68.10%|Medium|
38 | |1342|[Number of Steps to Reduce a Number to Zero](https://github.com/grandyang/leetcode/issues/1342)|84.90%|Easy|
39 | |1341|Movie Rating *|43.80%|Medium|
40 | |1340|[Jump Game V](https://github.com/grandyang/leetcode/issues/1340)|62.60%|Hard|
41 | |1339|[Maximum Product of Splitted Binary Tree](https://github.com/grandyang/leetcode/issues/1339)|47.70%|Medium|
42 | |1338|[Reduce Array Size to The Half](https://github.com/grandyang/leetcode/issues/1338)|69.20%|Medium|
43 | |1337|[The K Weakest Rows in a Matrix](https://github.com/grandyang/leetcode/issues/1337)|71.40%|Easy|
44 | |1336|Number of Transactions per Visit *|48.10%|Hard|
45 | |1335|[Minimum Difficulty of a Job Schedule](https://github.com/grandyang/leetcode/issues/1335)|58.30%|Hard|
46 | |1334|[Find the City With the Smallest Number of Neighbors at a Threshold Distance](https://github.com/grandyang/leetcode/issues/1334)|57.70%|Medium|
47 | |1333|"Filter Restaurants by Vegan-Friendly| Price and Distance"|60.50%|
48 | |1332|[Remove Palindromic Subsequences](https://github.com/grandyang/leetcode/issues/1332)|76.20%|Easy|
49 | |1331|[Rank Transform of an Array](https://github.com/grandyang/leetcode/issues/1331)|59.80%|Easy|
50 | |1330|[Reverse Subarray To Maximize Array Value](https://github.com/grandyang/leetcode/issues/1330)|41.30%|Hard|
51 | |1329|[Sort the Matrix Diagonally](https://github.com/grandyang/leetcode/issues/1329)|83.00%|Medium|
52 | |1328|[Break a Palindrome](https://github.com/grandyang/leetcode/issues/1328)|52.10%|Medium|
53 | |1327|List the Products Ordered in a Period *|71.90%|Easy|
54 | |1326|[Minimum Number of Taps to Open to Water a Garden](https://github.com/grandyang/leetcode/issues/1326)|51.60%|Hard|
55 | |1325|[Delete Leaves With a Given Value](https://github.com/grandyang/leetcode/issues/1325)|74.40%|Medium|
56 | |1324|[Print Words Vertically](https://github.com/grandyang/leetcode/issues/1324)|62.40%|Medium|
57 | |1323|[Maximum 69 Number](https://github.com/grandyang/leetcode/issues/1323)|82.00%|Easy|
58 | |1322|Ads Performance * $|60.10%|Easy|
59 | |1321|Restaurant Growth *|53.40%|Medium|
60 | |1320|[Minimum Distance to Type a Word Using Two Fingers](https://github.com/grandyang/leetcode/issues/1320)|59.80%|Hard|
61 | |1319|[Number of Operations to Make Network Connected](https://github.com/grandyang/leetcode/issues/1319)|58.50%|Medium|
62 | |1318|[Minimum Flips to Make a OR b Equal to c](https://github.com/grandyang/leetcode/issues/1318)|66.00%|Medium|
63 | |1317|[Convert Integer to the Sum of Two No-Zero Integers](https://github.com/grandyang/leetcode/issues/1317)|56.00%|Easy|
64 | |1316|[Distinct Echo Substrings](https://github.com/grandyang/leetcode/issues/1316)|49.70%|Hard|
65 | |1315|[Sum of Nodes with Even-Valued Grandparent](https://github.com/grandyang/leetcode/issues/1315)|85.60%|Medium|
66 | |1314|[Matrix Block Sum](https://github.com/grandyang/leetcode/issues/1314)|75.40%|Medium|
67 | |1313|[Decompress Run-Length Encoded List](https://github.com/grandyang/leetcode/issues/1313)|85.90%|Easy|
68 | |1312|[Minimum Insertion Steps to Make a String Palindrome](https://github.com/grandyang/leetcode/issues/1312)|65.70%|Hard|
69 | |1311|[Get Watched Videos by Your Friends](https://github.com/grandyang/leetcode/issues/1311)|45.90%|Medium|
70 | |1310|[XOR Queries of a Subarray](https://github.com/grandyang/leetcode/issues/1310)|72.20%|Medium|
71 | |1309|[Decrypt String from Alphabet to Integer Mapping](https://github.com/grandyang/leetcode/issues/1309)|79.50%|Easy|
72 | |1308|Running Total for Different Genders * $|88.20%|Medium|
73 | |1307|[Verbal Arithmetic Puzzle](https://github.com/grandyang/leetcode/issues/1307)|34.80%|Hard|
74 | |1306|[Jump Game III](https://github.com/grandyang/leetcode/issues/1306)|63.10%|Medium|
75 | |1305|[All Elements in Two Binary Search Trees](https://github.com/grandyang/leetcode/issues/1305)|79.80%|Medium|
76 | |1304|[Find N Unique Integers Sum up to Zero](https://github.com/grandyang/leetcode/issues/1304)|77.10%|Easy|
77 | |1303|Find the Team Size * $|90.80%|Easy|
78 | |1302|[Deepest Leaves Sum](https://github.com/grandyang/leetcode/issues/1302)|86.90%|Medium|
79 | |1301|[Number of Paths with Max Score](https://github.com/grandyang/leetcode/issues/1301)|38.70%|Hard|
80 | |1300|[Sum of Mutated Array Closest to Target](https://github.com/grandyang/leetcode/issues/1300)|43.10%|Medium|
81 | |1299|[Replace Elements with Greatest Element on Right Side](https://github.com/grandyang/leetcode/issues/1299)|74.70%|Easy|
82 | |1298|[Maximum Candies You Can Get from Boxes](https://github.com/grandyang/leetcode/issues/1298)|60.90%|Hard|
83 | |1297|[Maximum Number of Occurrences of a Substring](https://github.com/grandyang/leetcode/issues/1297)|52.00%|Medium|
84 | |1296|[Divide Array in Sets of K Consecutive Numbers](https://github.com/grandyang/leetcode/issues/1296)|56.60%|Medium|
85 | |1295|[Find Numbers with Even Number of Digits](https://github.com/grandyang/leetcode/issues/1295)|77.00%|Easy|
86 | |1294|Weather Type in Each Country * $|68.00%|Easy|
87 | |1293|[Shortest Path in a Grid with Obstacles Elimination](https://github.com/grandyang/leetcode/issues/1293)|45.60%|Hard|
88 | |1292|[Maximum Side Length of a Square with Sum Less than or Equal to Threshold](https://github.com/grandyang/leetcode/issues/1292)|52.10%|Medium|
89 | |1291|[Sequential Digits](https://github.com/grandyang/leetcode/issues/1291)|60.90%|Medium|
90 | |1290|[Convert Binary Number in a Linked List to Integer](https://github.com/grandyang/leetcode/issues/1290)|82.70%|Easy|
91 | |1289|[Minimum Falling Path Sum II](https://github.com/grandyang/leetcode/issues/1289)|61.20%|Hard|
92 | |1288|[Remove Covered Intervals](https://github.com/grandyang/leetcode/issues/1288)|57.40%|Medium|
93 | |1287|[Element Appearing More Than 25% In Sorted Array](https://github.com/grandyang/leetcode/issues/1287)|59.50%|Easy|
94 | |1286|[Iterator for Combination](https://github.com/grandyang/leetcode/issues/1286)|73.20%|Medium|
95 | |1285|Find the Start and End Number of Continuous Ranges * $|88.30%|Medium|
96 | |1284|[Minimum Number of Flips to Convert Binary Matrix to Zero Matrix](https://github.com/grandyang/leetcode/issues/1284)|72.00%|Hard|
97 | |1283|[Find the Smallest Divisor Given a Threshold](https://github.com/grandyang/leetcode/issues/1283)|53.70%|Medium|
98 | |1282|[Group the People Given the Group Size They Belong To](https://github.com/grandyang/leetcode/issues/1282)|85.20%|Medium|
99 | |1281|[Subtract the Product and Sum of Digits of an Integer](https://github.com/grandyang/leetcode/issues/1281)|86.30%|Easy|
100 | |1280|Students and Examinations * $|74.60%|Easy|
101 | |1279|Traffic Light Controlled Intersection ~ $|75.30%|Easy|
102 | |1278|[Palindrome Partitioning III](https://github.com/grandyang/leetcode/issues/1278)|60.90%|Hard|
103 | |1277|[Count Square Submatrices with All Ones](https://github.com/grandyang/leetcode/issues/1277)|74.20%|Medium|
104 | |1276|[Number of Burgers with No Waste of Ingredients](https://github.com/grandyang/leetcode/issues/1276)|50.60%|Medium|
105 | |1275|[Find Winner on a Tic Tac Toe Game](https://github.com/grandyang/leetcode/issues/1275)|54.90%|Easy|
106 | |1274|Number of Ships in a Rectangle $|68.60%|Hard|
107 | |1273|Delete Tree Nodes $|61.20%|Medium|
108 | |1272|Remove Interval $|61.10%|Medium|
109 | |1271|Hexspeak $|56.30%|Easy|
110 | |1270|All People Report to the Given Manager * $|88.10%|Medium|
111 | |1269|[Number of Ways to Stay in the Same Place After Some Steps](https://github.com/grandyang/leetcode/issues/1269)|43.40%|Hard|
112 | |1268|[Search Suggestions System](https://github.com/grandyang/leetcode/issues/1268)|65.40%|Medium|
113 | |1267|Count Servers that Communicate|58.30%|Medium|
114 | |1266|[Minimum Time Visiting All Points](https://github.com/grandyang/leetcode/issues/1266)|79.20%|Easy|
115 | |1265|Print Immutable Linked List in Reverse $|94.30%|Medium|
116 | |1264|Page Recommendations * $|67.70%|Medium|
117 | |1263|[Minimum Moves to Move a Box to Their Target Location](https://github.com/grandyang/leetcode/issues/1263)|48.30%|Hard|
118 | |1262|[Greatest Sum Divisible by Three](https://github.com/grandyang/leetcode/issues/1262)|50.80%|Medium|
119 | |1261|[Find Elements in a Contaminated Binary Tree](https://github.com/grandyang/leetcode/issues/1261)|75.70%|Medium|
120 | |1260|[Shift 2D Grid](https://github.com/grandyang/leetcode/issues/1260)|62.10%|Easy|
121 | |1259|Handshakes That Don't Cross $|54.40%|Hard|
122 | |1258|Synonymous Sentences $|57.40%|Medium|
123 | |1257|Smallest Common Region $|62.10%|Medium|
124 | |1256|Encode Number $|69.00%|Medium|
125 | |1255|[Maximum Score Words Formed by Letters](https://github.com/grandyang/leetcode/issues/1255)|71.30%|Hard|
126 | |1254|[Number of Closed Islands](https://github.com/grandyang/leetcode/issues/1254)|62.70%|Medium|
127 | |1253|[Reconstruct a 2-Row Binary Matrix](https://github.com/grandyang/leetcode/issues/1253)|42.70%|Medium|
128 | |1252|[Cells with Odd Values in a Matrix](https://github.com/grandyang/leetcode/issues/1252)|78.50%|Easy|
129 | |1251|Average Selling Price * $|83.20%|Easy|
130 | |1250|[Check If It Is a Good Array](https://github.com/grandyang/leetcode/issues/1250)|57.50%|Hard|
131 | |1249|[Minimum Remove to Make Valid Parentheses](https://github.com/grandyang/leetcode/issues/1249)|65.00%|Medium|
132 | |1248|[Count Number of Nice Subarrays](https://github.com/grandyang/leetcode/issues/1248)|57.60%|Medium|
133 | |1247|[Minimum Swaps to Make Strings Equal](https://github.com/grandyang/leetcode/issues/1247)|63.60%|Medium|
134 | |1246|Palindrome Removal $|45.80%|Hard|
135 | |1245|Tree Diameter $|62.00%|Medium|
136 | |1244|Design A Leaderboard $|67.30%|Medium|
137 | |1243|Array Transformation $|50.10%|Easy|
138 | |1242|Web Crawler Multithreaded ~ $|48.20%|Medium|
139 | |1241|Number of Comments per Post * $|68.00%|Easy|
140 | |1240|[Tiling a Rectangle with the Fewest Squares](https://github.com/grandyang/leetcode/issues/1240)|52.40%|Hard|
141 | |1239|[Maximum Length of a Concatenated String with Unique Characters](https://github.com/grandyang/leetcode/issues/1239)|50.70%|Medium|
142 | |1238|[Circular Permutation in Binary Representation](https://github.com/grandyang/leetcode/issues/1238)|67.90%|Medium|
143 | |1237|[Find Positive Integer Solution for a Given Equation](https://github.com/grandyang/leetcode/issues/1237)|69.70%|Medium|
144 | |1236|Web Crawler $|65.40%|Medium|
145 | |1235|[Maximum Profit in Job Scheduling](https://github.com/grandyang/leetcode/issues/1235)|50.50%|Hard|
146 | |1234|[Replace the Substring for Balanced String](https://github.com/grandyang/leetcode/issues/1234)|35.50%|Medium|
147 | |1233|[Remove Sub-Folders from the Filesystem](https://github.com/grandyang/leetcode/issues/1233)|64.50%|Medium|
148 | |1232|[Check If It Is a Straight Line](https://github.com/grandyang/leetcode/issues/1232)|42.30%|Easy|
149 | |1231|Divide Chocolate $|55.50%|Hard|
150 | |1230|Toss Strange Coins $|50.80%|Medium|
151 | |1229|Meeting Scheduler $|54.70%|Medium|
152 | |1228|Missing Number In Arithmetic Progression $|51.20%|Medium|
153 | |1227|[Airplane Seat Assignment Probability](https://github.com/grandyang/leetcode/issues/1227)|63.00%|Medium|
154 | |1226|The Dining Philosophers ~|60.20%|Medium|
155 | |1225|Report Contiguous Dates *|63.80%|Hard|
156 | |1224|[Maximum Equal Frequency](https://github.com/grandyang/leetcode/issues/1224)|36.20%|Hard|
157 | |1223|[Dice Roll Simulation](https://github.com/grandyang/leetcode/issues/1223)|47.40%|Hard|
158 | |1222|[Queens That Can Attack the King](https://github.com/grandyang/leetcode/issues/1222)|70.20%|Medium|
159 | |1221|[Split a String in Balanced Strings](https://github.com/grandyang/leetcode/issues/1221)|84.60%|Easy|
160 | |1220|[Count Vowels Permutation](https://github.com/grandyang/leetcode/issues/1220)|56.60%|Hard|
161 | |1219|[Path with Maximum Gold](https://github.com/grandyang/leetcode/issues/1219)|66.10%|Medium|
162 | |1218|[Longest Arithmetic Subsequence of Given Difference](https://github.com/grandyang/leetcode/issues/1218)|48.10%|Medium|
163 | |1217|[Minimum Cost to Move Chips to The Same Position](https://github.com/grandyang/leetcode/issues/1217)|70.70%|Easy|
164 | |1216|Valid Palindrome III $|50.80%|Hard|
165 | |1215|Stepping Numbers $|44.60%|Medium|
166 | |1214|Two Sum BSTs $|67.30%|Medium|
167 | |1213|Intersection of Three Sorted Arrays $|79.80%|Easy|
168 | |1212|Team Scores in Football Tournament *|57.00%|Medium|
169 | |1211|Queries Quality and Percentage *|70.40%|Easy|
170 | |1210|[Minimum Moves to Reach Target with Rotations](https://github.com/grandyang/leetcode/issues/1210)|47.50%|Hard|
171 | |1209|[Remove All Adjacent Duplicates in String II](https://github.com/grandyang/leetcode/issues/1209)|56.40%|Medium|
172 | |1208|[Get Equal Substrings Within Budget](https://github.com/grandyang/leetcode/issues/1208)|45.30%|Medium|
173 | |1207|[Unique Number of Occurrences](https://github.com/grandyang/leetcode/issues/1207)|72.40%|Easy|
174 | |1206|[Design Skiplist](https://github.com/grandyang/leetcode/issues/1206)|59.60%|Hard|
175 | |1205|Monthly Transactions II *|45.30%|Medium|
176 | |1204|Last Person to Fit in the Bus *|73.00%|Medium|
177 | |1203|[Sort Items by Groups Respecting Dependencies](https://github.com/grandyang/leetcode/issues/1203)|48.80%|Hard|
178 | |1202|[Smallest String With Swaps](https://github.com/grandyang/leetcode/issues/1202)|50.50%|Medium|
179 | |1201|[Ugly Number III](https://github.com/grandyang/leetcode/issues/1201)|27.20%|Medium|
180 | |1200|[Minimum Absolute Difference](https://github.com/grandyang/leetcode/issues/1200)|67.30%|Easy|
181 | |1199|Minimum Time to Build Blocks $|39.40%|Hard|
182 | |1198|Find Smallest Common Element in All Rows $|76.30%|Medium|
183 | |1197|Minimum Knight Moves $|38.60%|Medium|
184 | |1196|How Many Apples Can You Put into the Basket $|68.30%|Easy|
185 | |1195|Fizz Buzz Multithreaded ~|71.40%|Medium|
186 | |1194|Tournament Winners *|52.70%|Hard|
187 | |1193|Monthly Transactions I *|68.70%|Medium|
188 | |1192|[Critical Connections in a Network](https://github.com/grandyang/leetcode/issues/1192)|51.80%|Hard|
189 | |1191|[K-Concatenation Maximum Sum](https://github.com/grandyang/leetcode/issues/1191)|24.60%|Medium|
190 | |1190|[Reverse Substrings Between Each Pair of Parentheses](https://github.com/grandyang/leetcode/issues/1190)|65.00%|Medium|
191 | |1189|[Maximum Number of Balloons](https://github.com/grandyang/leetcode/issues/1189)|62.00%|Easy|
192 | |1188|Design Bounded Blocking Queue ~|73.20%|Medium|
193 | |1187|[Make Array Strictly Increasing](https://github.com/grandyang/leetcode/issues/1187)|43.80%|Hard|
194 | |1186|[Maximum Subarray Sum with One Deletion](https://github.com/grandyang/leetcode/issues/1186)|39.80%|Medium|
195 | |1185|[Day of the Week](https://github.com/grandyang/leetcode/issues/1185)|59.90%|Easy|
196 | |1184|[Distance Between Bus Stops](https://github.com/grandyang/leetcode/issues/1184)|53.90%|Easy|
197 | |1183|Maximum Number of Ones $|58.70%|Hard|
198 | |1182|Shortest Distance to Target Color $|54.30%|Medium|
199 | |1181|Before and After Puzzle $|44.70%|Medium|
200 | |1180|Count Substrings with Only One Distinct Letter $|78.30%|Easy|
201 | |1179|Reformat Department Table *|82.10%|Easy|
202 | |1178|[Number of Valid Words for Each Puzzle](https://github.com/grandyang/leetcode/issues/1178)|40.80%|Hard|
203 | |1177|[Can Make Palindrome from Substring](https://github.com/grandyang/leetcode/issues/1177)|36.50%|Medium|
204 | |1176|Diet Plan Performance $|53.50%|Easy|
205 | |1175|[Prime Arrangements](https://github.com/grandyang/leetcode/issues/1175)|51.90%|Medium|
206 | |1174|Immediate Food Delivery II *|63.10%|Medium|
207 | |1173|Immediate Food Delivery I *|83.10%|Easy|
208 | |1172|[Dinner Plate Stacks](https://github.com/grandyang/leetcode/issues/1172)|36.40%|Hard|
209 | |1171|[Remove Zero Sum Consecutive Nodes from Linked List](https://github.com/grandyang/leetcode/issues/1171)|41.90%|Medium|
210 | |1170|[Compare Strings by Frequency of the Smallest Character](https://github.com/grandyang/leetcode/issues/1170)|60.60%|Medium|
211 | |1169|[Invalid Transactions](https://github.com/grandyang/leetcode/issues/1169)|30.40%|Medium|
212 | |1168|Optimize Water Distribution in a Village $|62.30%|Hard|
213 | |1167|Minimum Cost to Connect Sticks $|65.70%|Medium|
214 | |1166|Design File System $|59.00%|Medium|
215 | |1165|Single-Row Keyboard $|85.50%|Easy|
216 | |1164|Product Price at a Given Date *|69.00%|Medium|
217 | |1163|[Last Substring in Lexicographical Order](https://github.com/grandyang/leetcode/issues/1163)|36.00%|Hard|
218 | |1162|[As Far from Land as Possible](https://github.com/grandyang/leetcode/issues/1162)|46.60%|Medium|
219 | |1161|[Maximum Level Sum of a Binary Tree](https://github.com/grandyang/leetcode/issues/1161)|67.50%|Medium|
220 | |1160|[Find Words That Can Be Formed by Characters](https://github.com/grandyang/leetcode/issues/1160)|67.80%|Easy|
221 | |1159|Market Analysis II *|57.00%|Hard|
222 | |1158|Market Analysis I *|65.00%|Medium|
223 | |1157|[Online Majority Element In Subarray](https://github.com/grandyang/leetcode/issues/1157)|41.60%|Hard|
224 | |1156|[Swap For Longest Repeated Character Substring](https://github.com/grandyang/leetcode/issues/1156)|47.20%|Medium|
225 | |1155|[Number of Dice Rolls With Target Sum](https://github.com/grandyang/leetcode/issues/1155)|47.70%|Medium|
226 | |1154|[Day of the Year](https://github.com/grandyang/leetcode/issues/1154)|50.10%|Easy|
227 | |1153|String Transforms Into Another String $|35.60%|Hard|
228 | |1152|Analyze User Website Visit Pattern $|43.20%|Medium|
229 | |1151|Minimum Swaps to Group All 1's Together $|51.90%|Medium|
230 | |1150|Check If a Number Is Majority Element in a Sorted Array $|57.10%|Easy|
231 | |1149|Article Views II * $|48.20%|Medium|
232 | |1148|Article Views I * $|77.10%|Easy|
233 | |1147|[Longest Chunked Palindrome Decomposition](https://github.com/grandyang/leetcode/issues/1147)|59.80%|Hard|
234 | |1146|[Snapshot Array](https://github.com/grandyang/leetcode/issues/1146)|37.00%|Medium|
235 | |1145|[Binary Tree Coloring Game](https://github.com/grandyang/leetcode/issues/1145)|51.10%|Medium|
236 | |1144|[Decrease Elements To Make Array Zigzag](https://github.com/grandyang/leetcode/issues/1144)|46.50%|Medium|
237 | |1143|[Longest Common Subsequence](https://github.com/grandyang/leetcode/issues/1143)|58.80%|Medium|
238 | |1142|User Activity for the Past 30 Days II * $|35.50%|Easy|
239 | |1141|User Activity for the Past 30 Days I * $|54.60%|Easy|
240 | |1140|[Stone Game II](https://github.com/grandyang/leetcode/issues/1140)|64.60%|Medium|
241 | |1139|[Largest 1-Bordered Square](https://github.com/grandyang/leetcode/issues/1139)|48.70%|Medium|
242 | |1138|[Alphabet Board Path](https://github.com/grandyang/leetcode/issues/1138)|51.60%|Medium|
243 | |1137|[N-th Tribonacci Number](https://github.com/grandyang/leetcode/issues/1137)|55.70%|Easy|
244 | |1136|Parallel Courses $|60.70%|Medium|
245 | |1135|Connecting Cities With Minimum Cost $|60.00%|Easy|
246 | |1134|Armstrong Number $|78.50%|Easy|
247 | |1133|Largest Unique Number $|67.20%|Easy|
248 | |1132|Reported Posts II * $|34.40%|Medium|
249 | |1131|[Maximum of Absolute Value Expression](https://github.com/grandyang/leetcode/issues/1131)|51.30%|Medium|
250 | |1130|[Minimum Cost Tree From Leaf Values](https://github.com/grandyang/leetcode/issues/1130)|67.40%|Medium|
251 | |1129|[Shortest Path with Alternating Colors](https://github.com/grandyang/leetcode/issues/1129)|40.70%|Medium|
252 | |1128|[Number of Equivalent Domino Pairs](https://github.com/grandyang/leetcode/issues/1128)|45.90%|Easy|
253 | |1127|User Purchase Platform * $|50.80%|Hard|
254 | |1126|Active Businesses * $|68.40%|Medium|
255 | |1125|[Smallest Sufficient Team](https://github.com/grandyang/leetcode/issues/1125)|47.20%|Hard|
256 | |1124|[Longest Well-Performing Interval](https://github.com/grandyang/leetcode/issues/1124)|33.50%|Medium|
257 | |1123|[Lowest Common Ancestor of Deepest Leaves](https://github.com/grandyang/leetcode/issues/1123)|68.50%|Medium|
258 | |1122|[Relative Sort Array](https://github.com/grandyang/leetcode/issues/1122)|67.90%|Easy|
259 | |1121|Divide Array Into Increasing Sequences $|59.00%|Hard|
260 | |1120|Maximum Average Subtree $|64.50%|Medium|
261 | |1119|Remove Vowels from a String $|90.50%|Easy|
262 | |1118|Number of Days in a Month $|57.30%|Easy|
263 | |1117|Building H2O ~|53.10%|Medium|
264 | |1116|Print Zero Even Odd ~|58.20%|Medium|
265 | |1115|Print FooBar Alternately ~|59.00%|Medium|
266 | |1114|Print in Order ~|67.60%|Easy|
267 | |1113|Reported Posts * $|66.40%|Medium|
268 | |1112|Highest Grade For Each Student * $|72.80%|Medium|
269 | |1111|[Maximum Nesting Depth of Two Valid Parentheses Strings](https://github.com/grandyang/leetcode/issues/1111)|72.70%|Medium|
270 | |1110|[Delete Nodes And Return Forest](https://github.com/grandyang/leetcode/issues/1110)|68.00%|Medium|
271 | |1109|[Corporate Flight Bookings](https://github.com/grandyang/leetcode/issues/1109)|54.30%|Medium|
272 | |1108|[Defanging an IP Address](https://github.com/grandyang/leetcode/issues/1108)|88.40%|Easy|
273 | |1107|New Users Daily Count * $|46.10%|Medium|
274 | |1106|[Parsing A Boolean Expression](https://github.com/grandyang/leetcode/issues/1106)|59.50%|Hard|
275 | |1105|[Filling Bookcase Shelves](https://github.com/grandyang/leetcode/issues/1105)|57.50%|Medium|
276 | |1104|[Path In Zigzag Labelled Binary Tree](https://github.com/grandyang/leetcode/issues/1104)|73.50%|Medium|
277 | |1103|[Distribute Candies to People](https://github.com/grandyang/leetcode/issues/1103)|63.40%|Easy|
278 | |1102|Path With Maximum Minimum Value $|51.00%|Medium|
279 | |1101|The Earliest Moment When Everyone Become Friends $|67.80%|Medium|
280 | |1100|Find K-Length Substrings With No Repeated Characters $|73.10%|Medium|
281 | |1099|Two Sum Less Than K $|60.80%|Easy|
282 | |1098|Unpopular Books * $|45.50%|Medium|
283 | |1097|Game Play Analysis V * $|57.00%|Hard|
284 | |1096|[Brace Expansion II](https://github.com/grandyang/leetcode/issues/1096)|62.90%|Hard|
285 | |1095|[Find in Mountain Array](https://github.com/grandyang/leetcode/issues/1095)|36.10%|Hard|
286 | |1094|[Car Pooling](https://github.com/grandyang/leetcode/issues/1094)|59.70%|Medium|
287 | |1093|[Statistics from a Large Sample](https://github.com/grandyang/leetcode/issues/1093)|48.50%|Medium|
288 | |1092|[Shortest Common Supersequence](https://github.com/grandyang/leetcode/issues/1092)|53.40%|Hard|
289 | |1091|[Shortest Path in Binary Matrix](https://github.com/grandyang/leetcode/issues/1091)|40.30%|Medium|
290 | |1090|[Largest Values From Labels](https://github.com/grandyang/leetcode/issues/1090)|60.10%|Medium|
291 | |1089|[Duplicate Zeros](https://github.com/grandyang/leetcode/issues/1089)|51.60%|Easy|
292 | |1088|[Confusing Number II](https://github.com/grandyang/leetcode/issues/1088)|45.60%|Hard|
293 | |1087|Brace Expansion $|63.20%|Medium|
294 | |1086|High Five $|77.50%|Easy|
295 | |1085|Sum of Digits in the Minimum Number $|75.10%|Easy|
296 | |1084|Sales Analysis III * $|54.80%|Easy|
297 | |1083|Sales Analysis II * $|50.80%|Easy|
298 | |1082|Sales Analysis I * $|73.90%|Easy|
299 | |1081|[Smallest Subsequence of Distinct Characters](https://github.com/grandyang/leetcode/issues/1081)|53.60%|Medium|
300 | |1080|[Insufficient Nodes in Root to Leaf Paths](https://github.com/grandyang/leetcode/issues/1080)|50.10%|Medium|
301 | |1079|[Letter Tile Possibilities](https://github.com/grandyang/leetcode/issues/1079)|75.90%|Medium|
302 | |1078|[Occurrences After Bigram](https://github.com/grandyang/leetcode/issues/1078)|65.00%|Easy|
303 | |1077|Project Employees III * $|78.00%|Medium|
304 | |1076|Project Employees II * $|52.80%|Easy|
305 | |1075|Project Employees I * $|66.20%|Easy|
306 | |1074|[Number of Submatrices That Sum to Target](https://github.com/grandyang/leetcode/issues/1074)|62.00%|Hard|
307 | |1073|[Adding Two Negabinary Numbers](https://github.com/grandyang/leetcode/issues/1073)|34.80%|Medium|
308 | |1072|[Flip Columns For Maximum Number of Equal Rows](https://github.com/grandyang/leetcode/issues/1072)|61.60%|Medium|
309 | |1071|[Greatest Common Divisor of Strings](https://github.com/grandyang/leetcode/issues/1071)|51.50%|Easy|
310 | |1070|Product Sales Analysis III * $|49.90%|Medium|
311 | |1069|Product Sales Analysis II * $|83.30%|Easy|
312 | |1068|Product Sales Analysis I * $|82.10%|Easy|
313 | |1067|Digit Count in Range $|41.60%|Hard|
314 | |1066|Campus Bikes II $|54.20%|Medium|
315 | |1065|Index Pairs of a String $|61.00%|Easy|
316 | |1064|Fixed Point $|64.90%|Easy|
317 | |1063|Number of Valid Subarrays $|72.10%|Hard|
318 | |1062|Longest Repeating Substring $|58.40%|Medium|
319 | |1061|Lexicographically Smallest Equivalent String $|66.90%|Medium|
320 | |1060|Missing Element in Sorted Array $|54.80%|Medium|
321 | |1059|All Paths from Source Lead to Destination $|43.00%|Medium|
322 | |1058|Minimize Rounding Error to Meet Target $|43.70%|Medium|
323 | |1057|[Campus Bikes ](https://github.com/grandyang/leetcode/issues/1057) $|57.80%|Medium|
324 | |1056|[Confusing Number ](https://github.com/grandyang/leetcode/issues/1056) $|47.00%|Easy|
325 | |1055|[Shortest Way to Form String ](https://github.com/grandyang/leetcode/issues/1055) $|57.20%|Medium|
326 | |1054|[Distant Barcodes](https://github.com/grandyang/leetcode/issues/1054)|44.20%|Medium|
327 | |1053|[Previous Permutation With One Swap](https://github.com/grandyang/leetcode/issues/1053)|51.20%|Medium|
328 | |1052|[Grumpy Bookstore Owner](https://github.com/grandyang/leetcode/issues/1052)|55.90%|Medium|
329 | |1051|[Height Checker](https://github.com/grandyang/leetcode/issues/1051)|72.10%|Easy|
330 | |1050|Actors and Directors Who Cooperated At Least Three Times * $|72.40%|Easy|
331 | |1049|[Last Stone Weight II](https://github.com/grandyang/leetcode/issues/1049)|45.40%|Medium|
332 | |1048|[Longest String Chain](https://github.com/grandyang/leetcode/issues/1048)|55.50%|Medium|
333 | |1047|[Remove All Adjacent Duplicates In String](https://github.com/grandyang/leetcode/issues/1047)|70.90%|Easy|
334 | |1046|[Last Stone Weight](https://github.com/grandyang/leetcode/issues/1046)|62.40%|Easy|
335 | |1045|Customers Who Bought All Products * $|68.40%|Medium|
336 | |1044|[Longest Duplicate Substring](https://github.com/grandyang/leetcode/issues/1044)|31.40%|Hard|
337 | |1043|[Partition Array for Maximum Sum](https://github.com/grandyang/leetcode/issues/1043)|67.10%|Medium|
338 | |1042|[Flower Planting With No Adjacent](https://github.com/grandyang/leetcode/issues/1042)|48.80%|Medium|
339 | |1041|[Robot Bounded In Circle](https://github.com/grandyang/leetcode/issues/1041)|55.00%|Medium|
340 | |1040|[Moving Stones Until Consecutive II](https://github.com/grandyang/leetcode/issues/1040)|54.10%|Medium|
341 | |1039|[Minimum Score Triangulation of Polygon](https://github.com/grandyang/leetcode/issues/1039)|50.10%|Medium|
342 | |1038|[Binary Search Tree to Greater Sum Tree](https://github.com/grandyang/leetcode/issues/1038)|82.30%|Medium|
343 | |1037|[Valid Boomerang](https://github.com/grandyang/leetcode/issues/1037)|37.80%|Easy|
344 | |1036|[Escape a Large Maze](https://github.com/grandyang/leetcode/issues/1036)|34.50%|Hard|
345 | |1035|[Uncrossed Lines](https://github.com/grandyang/leetcode/issues/1035)|56.10%|Medium|
346 | |1034|[Coloring A Border](https://github.com/grandyang/leetcode/issues/1034)|45.70%|Medium|
347 | |1033|[Moving Stones Until Consecutive](https://github.com/grandyang/leetcode/issues/1033)|43.20%|Easy|
348 | |1032|[Stream of Characters](https://github.com/grandyang/leetcode/issues/1032)|48.60%|Hard|
349 | |1031|[Maximum Sum of Two Non-Overlapping Subarrays](https://github.com/grandyang/leetcode/issues/1031)|58.90%|Medium|
350 | |1030|[Matrix Cells in Distance Order](https://github.com/grandyang/leetcode/issues/1030)|66.90%|Easy|
351 | |1029|[Two City Scheduling](https://github.com/grandyang/leetcode/issues/1029)|57.90%|Medium|
352 | |1028|[Recover a Tree From Preorder Traversal](https://github.com/grandyang/leetcode/issues/1028)|70.90%|Hard|
353 | |1027|[Longest Arithmetic Subsequence](https://github.com/grandyang/leetcode/issues/1027)|49.80%|Medium|
354 | |1026|[Maximum Difference Between Node and Ancestor](https://github.com/grandyang/leetcode/issues/1026)|69.40%|Medium|
355 | |1025|[Divisor Game](https://github.com/grandyang/leetcode/issues/1025)|66.20%|Easy|
356 | |1024|[Video Stitching](https://github.com/grandyang/leetcode/issues/1024)|49.00%|Medium|
357 | |1023|[Camelcase Matching](https://github.com/grandyang/leetcode/issues/1023)|57.40%|Medium|
358 | |1022|[Sum of Root To Leaf Binary Numbers](https://github.com/grandyang/leetcode/issues/1022)|71.50%|Easy|
359 | |1021|[Remove Outermost Parentheses](https://github.com/grandyang/leetcode/issues/1021)|79.00%|Easy|
360 | |1020|[Number of Enclaves](https://github.com/grandyang/leetcode/issues/1020)|58.90%|Medium|
361 | |1019|[Next Greater Node In Linked List](https://github.com/grandyang/leetcode/issues/1019)|58.20%|Medium|
362 | |1018|[Binary Prefix Divisible By 5](https://github.com/grandyang/leetcode/issues/1018)|47.80%|Easy|
363 | |1017|[Convert to Base -2](https://github.com/grandyang/leetcode/issues/1017)|59.60%|Medium|
364 | |1016|[Binary String With Substrings Representing 1 To N](https://github.com/grandyang/leetcode/issues/1016)|58.90%|Medium|
365 | |1015|[Smallest Integer Divisible by K](https://github.com/grandyang/leetcode/issues/1015)|41.80%|Medium|
366 | |1014|[Best Sightseeing Pair](https://github.com/grandyang/leetcode/issues/1014)|52.90%|Medium|
367 | |1013|[Partition Array Into Three Parts With Equal Sum](https://github.com/grandyang/leetcode/issues/1013)|49.10%|Easy|
368 | |1012|[Numbers With Repeated Digits](https://github.com/grandyang/leetcode/issues/1012)|37.80%|Hard|
369 | |1011|[Capacity To Ship Packages Within D Days](https://github.com/grandyang/leetcode/issues/1011)|59.70%|Medium|
370 | |1010|[Pairs of Songs With Total Durations Divisible by 60](https://github.com/grandyang/leetcode/issues/1010)|50.10%|Medium|
371 | |1009|[Complement of Base 10 Integer](https://github.com/grandyang/leetcode/issues/1009)|61.50%|Easy|
372 | |1008|[Construct Binary Search Tree from Preorder Traversal](https://github.com/grandyang/leetcode/issues/1008)|78.80%|Medium|
373 | |1007|[Minimum Domino Rotations For Equal Row](https://github.com/grandyang/leetcode/issues/1007)|50.90%|Medium|
374 | |1006|[Clumsy Factorial](https://github.com/grandyang/leetcode/issues/1006)|53.70%|Medium|
375 | |1005|[Maximize Sum Of Array After K Negations](https://github.com/grandyang/leetcode/issues/1005)|52.40%|Easy|
376 | |1004|[Max Consecutive Ones III](https://github.com/grandyang/leetcode/issues/1004)|60.50%|Medium|
377 | |1003|[Check If Word Is Valid After Substitutions](https://github.com/grandyang/leetcode/issues/1003)|56.10%|Medium|
378 | |1002|[Find Common Characters](https://github.com/grandyang/leetcode/issues/1002)|68.10%|Easy|
379 | |1001|[Grid Illumination](https://github.com/grandyang/leetcode/issues/1001)|36.60%|Hard|
380 | |1000|[Minimum Cost to Merge Stones](https://github.com/grandyang/leetcode/issues/1000)|40.40%|Hard|
381 | |999|[Available Captures for Rook](https://github.com/grandyang/leetcode/issues/999)|66.80%|Easy|
382 | |998|[Maximum Binary Tree II](https://github.com/grandyang/leetcode/issues/998)|63.70%|Medium|
383 | |997|[Find the Town Judge](https://github.com/grandyang/leetcode/issues/997)|49.80%|Easy|
384 | |996|[Number of Squareful Arrays](https://github.com/grandyang/leetcode/issues/996)|48.00%|Hard|
385 | |995|[Minimum Number of K Consecutive Bit Flips](https://github.com/grandyang/leetcode/issues/995)|49.60%|Hard|
386 | |994|[Rotting Oranges](https://github.com/grandyang/leetcode/issues/994)|49.60%|Medium|
387 | |993|[Cousins in Binary Tree](https://github.com/grandyang/leetcode/issues/993)|52.20%|Easy|
388 | |992|[Subarrays with K Different Integers](https://github.com/grandyang/leetcode/issues/992)|50.40%|Hard|
389 | |991|[Broken Calculator](https://github.com/grandyang/leetcode/issues/991)|46.40%|Medium|
390 | |990|[Satisfiability of Equality Equations](https://github.com/grandyang/leetcode/issues/990)|46.50%|Medium|
391 | |989|[Add to Array-Form of Integer](https://github.com/grandyang/leetcode/issues/989)|44.70%|Easy|
392 | |988|[Smallest String Starting From Leaf](https://github.com/grandyang/leetcode/issues/988)|46.60%|Medium|
393 | |987|[Vertical Order Traversal of a Binary Tree](https://github.com/grandyang/leetcode/issues/987)|37.60%|Medium|
394 | |986|[Interval List Intersections](https://github.com/grandyang/leetcode/issues/986)|68.10%|Medium|
395 | |985|[Sum of Even Numbers After Queries](https://github.com/grandyang/leetcode/issues/985)|60.70%|Easy|
396 | |984|[String Without AAA or BBB](https://github.com/grandyang/leetcode/issues/984)|38.50%|Medium|
397 | |983|[Minimum Cost For Tickets](https://github.com/grandyang/leetcode/issues/983)|62.60%|Medium|
398 | |982|[Triples with Bitwise AND Equal To Zero](https://github.com/grandyang/leetcode/issues/982)|56.10%|Hard|
399 | |981|[Time Based Key-Value Store](https://github.com/grandyang/leetcode/issues/981)|54.00%|Medium|
400 | |980|[Unique Paths III](https://github.com/grandyang/leetcode/issues/980)|77.10%|Hard|
401 | |979|[Distribute Coins in Binary Tree](https://github.com/grandyang/leetcode/issues/979)|69.30%|Medium|
402 | |978|[Longest Turbulent Subarray](https://github.com/grandyang/leetcode/issues/978)|46.60%|Medium|
403 | |977|[Squares of a Sorted Array](https://github.com/grandyang/leetcode/issues/977)|72.40%|Easy|
404 | |976|[Largest Perimeter Triangle](https://github.com/grandyang/leetcode/issues/976)|58.50%|Easy|
405 | |975|[Odd Even Jump](https://github.com/grandyang/leetcode/issues/975)|41.70%|Hard|
406 | |974|[Subarray Sums Divisible by K](https://github.com/grandyang/leetcode/issues/974)|50.30%|Medium|
407 | |973|[K Closest Points to Origin](https://github.com/grandyang/leetcode/issues/973)|64.40%|Medium|
408 | |972|[Equal Rational Numbers](https://github.com/grandyang/leetcode/issues/972)|41.80%|Hard|
409 | |971|[Flip Binary Tree To Match Preorder Traversal](https://github.com/grandyang/leetcode/issues/971)|46.10%|Medium|
410 | |970|[Powerful Integers](https://github.com/grandyang/leetcode/issues/970)|39.90%|Easy|
411 | |969|[Pancake Sorting](https://github.com/grandyang/leetcode/issues/969)|68.40%|Medium|
412 | |968|[Binary Tree Cameras](https://github.com/grandyang/leetcode/issues/968)|38.40%|Hard|
413 | |967|[Numbers With Same Consecutive Differences](https://github.com/grandyang/leetcode/issues/967)|44.30%|Medium|
414 | |966|[Vowel Spellchecker](https://github.com/grandyang/leetcode/issues/966)|47.70%|Medium|
415 | |965|[Univalued Binary Tree](https://github.com/grandyang/leetcode/issues/965)|67.60%|Easy|
416 | |964|[Least Operators to Express Number](https://github.com/grandyang/leetcode/issues/964)|44.70%|Hard|
417 | |963|[Minimum Area Rectangle II](https://github.com/grandyang/leetcode/issues/963)|51.60%|Medium|
418 | |962|[Maximum Width Ramp](https://github.com/grandyang/leetcode/issues/962)|46.00%|Medium|
419 | |961|[N-Repeated Element in Size 2N Array](https://github.com/grandyang/leetcode/issues/961)|74.20%|Easy|
420 | |960|[Delete Columns to Make Sorted III](https://github.com/grandyang/leetcode/issues/960)|54.00%|Hard|
421 | |959|[Regions Cut By Slashes](https://github.com/grandyang/leetcode/issues/959)|66.70%|Medium|
422 | |958|[Check Completeness of a Binary Tree](https://github.com/grandyang/leetcode/issues/958)|52.30%|Medium|
423 | |957|[Prison Cells After N Days](https://github.com/grandyang/leetcode/issues/957)|40.30%|Medium|
424 | |956|[Tallest Billboard](https://github.com/grandyang/leetcode/issues/956)|39.70%|Hard|
425 | |955|[Delete Columns to Make Sorted II](https://github.com/grandyang/leetcode/issues/955)|33.40%|Medium|
426 | |954|[Array of Doubled Pairs](https://github.com/grandyang/leetcode/issues/954)|35.30%|Medium|
427 | |953|[Verifying an Alien Dictionary](https://github.com/grandyang/leetcode/issues/953)|52.90%|Easy|
428 | |952|[Largest Component Size by Common Factor](https://github.com/grandyang/leetcode/issues/952)|36.00%|Hard|
429 | |951|[Flip Equivalent Binary Trees](https://github.com/grandyang/leetcode/issues/951)|65.50%|Medium|
430 | |950|[Reveal Cards In Increasing Order](https://github.com/grandyang/leetcode/issues/950)|75.00%|Medium|
431 | |949|[Largest Time for Given Digits](https://github.com/grandyang/leetcode/issues/949)|36.30%|Medium|
432 | |948|[Bag of Tokens](https://github.com/grandyang/leetcode/issues/948)|46.20%|Medium|
433 | |947|[Most Stones Removed with Same Row or Column](https://github.com/grandyang/leetcode/issues/947)|55.30%|Medium|
434 | |946|[Validate Stack Sequences](https://github.com/grandyang/leetcode/issues/946)|63.10%|Medium|
435 | |945|[Minimum Increment to Make Array Unique](https://github.com/grandyang/leetcode/issues/945)|46.50%|Medium|
436 | |944|[Delete Columns to Make Sorted](https://github.com/grandyang/leetcode/issues/944)|70.90%|Easy|
437 | |943|[Find the Shortest Superstring](https://github.com/grandyang/leetcode/issues/943)|43.20%|Hard|
438 | |942|[DI String Match](https://github.com/grandyang/leetcode/issues/942)|73.20%|Easy|
439 | |941|[Valid Mountain Array](https://github.com/grandyang/leetcode/issues/941)|32.20%|Easy|
440 | |940|[Distinct Subsequences II](https://github.com/grandyang/leetcode/issues/940)|41.50%|Hard|
441 | |939|[Minimum Area Rectangle](https://github.com/grandyang/leetcode/issues/939)|52.00%|Medium|
442 | |938|[Range Sum of BST](https://github.com/grandyang/leetcode/issues/938)|79.90%|Easy|
443 | |937|[Reorder Data in Log Files](https://github.com/grandyang/leetcode/issues/937)|53.70%|Easy|
444 | |936|[Stamping The Sequence](https://github.com/grandyang/leetcode/issues/936)|38.10%|Hard|
445 | |935|[Knight Dialer](https://github.com/grandyang/leetcode/issues/935)|43.80%|Medium|
446 | |934|[Shortest Bridge](https://github.com/grandyang/leetcode/issues/934)|46.50%|Medium|
447 | |933|[Number of Recent Calls](https://github.com/grandyang/leetcode/issues/933)|70.90%|Easy|
448 | |932|[Beautiful Array](https://github.com/grandyang/leetcode/issues/932)|57.10%|Medium|
449 | |931|[Minimum Falling Path Sum](https://github.com/grandyang/leetcode/issues/931)|61.30%|Medium|
450 | |930|[Binary Subarrays With Sum](https://github.com/grandyang/leetcode/issues/930)|41.40%|Medium|
451 | |929|[Unique Email Addresses](https://github.com/grandyang/leetcode/issues/929)|67.60%|Easy|
452 | |928|[Minimize Malware Spread II](https://github.com/grandyang/leetcode/issues/928)|40.10%|Hard|
453 | |927|[Three Equal Parts](https://github.com/grandyang/leetcode/issues/927)|32.80%|Hard|
454 | |926|[Flip String to Monotone Increasing](https://github.com/grandyang/leetcode/issues/926)|51.60%|Medium|
455 | |925|[Long Pressed Name](https://github.com/grandyang/leetcode/issues/925)|45.00%|Easy|
456 | |924|[Minimize Malware Spread](https://github.com/grandyang/leetcode/issues/924)|41.70%|Hard|
457 | |923|[3Sum With Multiplicity](https://github.com/grandyang/leetcode/issues/923)|35.30%|Medium|
458 | |922|[Sort Array By Parity II](https://github.com/grandyang/leetcode/issues/922)|68.30%|Easy|
459 | |921|[Minimum Add to Make Parentheses Valid](https://github.com/grandyang/leetcode/issues/921)|72.30%|Medium|
460 | |920|[Number of Music Playlists](https://github.com/grandyang/leetcode/issues/920)|45.70%|Hard|
461 | |919|[Complete Binary Tree Inserter](https://github.com/grandyang/leetcode/issues/919)|55.70%|Medium|
462 | |918|[Maximum Sum Circular Subarray](https://github.com/grandyang/leetcode/issues/918)|33.20%|Medium|
463 | |917|[Reverse Only Letters](https://github.com/grandyang/leetcode/issues/917)|56.30%|Easy|
464 | |916|[Word Subsets](https://github.com/grandyang/leetcode/issues/916)|45.90%|Medium|
465 | |915|[Partition Array into Disjoint Intervals](https://github.com/grandyang/leetcode/issues/915)|43.90%|Medium|
466 | |914|[X of a Kind in a Deck of Cards](https://github.com/grandyang/leetcode/issues/914)|34.00%|Easy|
467 | |913|[Cat and Mouse](https://github.com/grandyang/leetcode/issues/913)|29.90%|Hard|
468 | |912|[Sort an Array](https://github.com/grandyang/leetcode/issues/912)|62.90%|Medium|
469 | |911|[Online Election](https://github.com/grandyang/leetcode/issues/911)|48.30%|Medium|
470 | |910|[Smallest Range II](https://github.com/grandyang/leetcode/issues/910)|24.90%|Medium|
471 | |909|[Snakes and Ladders](https://github.com/grandyang/leetcode/issues/909)|36.10%|Easy|
472 | |908|[Smallest Range I](https://github.com/grandyang/leetcode/issues/908)|65.00%|Easy|
473 | |907|[Sum of Subarray Minimums](https://github.com/grandyang/leetcode/issues/907)|29.40%|Medium|
474 | |906|[Super Palindromes](https://github.com/grandyang/leetcode/issues/906)|30.80%|Hard|
475 | |905|[Sort Array By Parity](https://github.com/grandyang/leetcode/issues/905)|72.60%|Easy|
476 | |904|[Fruit Into Baskets](https://github.com/grandyang/leetcode/issues/904)|41.70%|Medium|
477 | |903|[Valid Permutations for DI Sequence](https://github.com/grandyang/leetcode/issues/903)|45.10%|Hard|
478 | |902|[Numbers At Most N Given Digit Set](https://github.com/grandyang/leetcode/issues/902)|28.80%|Hard|
479 | |901|[Online Stock Span](https://github.com/grandyang/leetcode/issues/901)|49.90%|Medium|
480 | |900|[RLE Iterator](https://github.com/grandyang/leetcode/issues/900)|50.50%|Medium|
481 | |899|[Orderly Queue](https://github.com/grandyang/leetcode/issues/899)|47.70%|Hard|
482 | |898|[Bitwise ORs of Subarrays](https://github.com/grandyang/leetcode/issues/898)|34.70%|Medium|
483 | |897|[Increasing Order Search Tree](https://github.com/grandyang/leetcode/issues/897)|65.20%|Easy|
484 | |896|[Monotonic Array](https://github.com/grandyang/leetcode/issues/896)|55.40%|Easy|
485 | |895|[Maximum Frequency Stack](https://github.com/grandyang/leetcode/issues/895)|56.70%|Hard|
486 | |894|[All Possible Full Binary Trees](https://github.com/grandyang/leetcode/issues/894)|71.30%|Medium|
487 | |893|[Groups of Special-Equivalent Strings](https://github.com/grandyang/leetcode/issues/893)|63.00%|Easy|
488 | |892|[Surface Area of 3D Shapes](https://github.com/grandyang/leetcode/issues/892)|56.10%|Easy|
489 | |891|[Sum of Subsequence Widths](https://github.com/grandyang/leetcode/issues/891)|29.20%|Hard|
490 | |890|[Find and Replace Pattern](https://github.com/grandyang/leetcode/issues/890)|71.30%|Medium|
491 | |889|[Construct Binary Tree from Preorder and Postorder Traversal](https://github.com/grandyang/leetcode/issues/889)|60.70%|Medium|
492 | |888|[Fair Candy Swap](https://github.com/grandyang/leetcode/issues/888)|56.90%|Easy|
493 | |887|[Super Egg Drop](https://github.com/grandyang/leetcode/issues/887)|24.90%|Hard|
494 | |886|[Possible Bipartition](https://github.com/grandyang/leetcode/issues/886)|40.90%|Medium|
495 | |885|[Spiral Matrix III](https://github.com/grandyang/leetcode/issues/885)|64.80%|Medium|
496 | |884|[Uncommon Words from Two Sentences](https://github.com/grandyang/leetcode/issues/884)|60.90%|Easy|
497 | |883|[Projection Area of 3D Shapes](https://github.com/grandyang/leetcode/issues/883)|65.90%|Easy|
498 | |882|[Reachable Nodes In Subdivided Graph](https://github.com/grandyang/leetcode/issues/882)|38.20%|Hard|
499 | |881|[Boats to Save People](https://github.com/grandyang/leetcode/issues/881)|44.10%|Medium|
500 | |880|[Decoded String at Index](https://github.com/grandyang/leetcode/issues/880)|23.00%|Medium|
501 | |879|[Profitable Schemes](https://github.com/grandyang/leetcode/issues/879)|36.20%|Hard|
502 | |878|[Nth Magical Number](https://github.com/grandyang/leetcode/issues/878)|25.40%|Hard|
503 | |877|[Stone Game](https://github.com/grandyang/leetcode/issues/877)|61.10%|Medium|
504 | |876|[Middle of the Linked List](https://github.com/grandyang/leetcode/issues/876)|63.80%|Easy|
505 | |875|[Koko Eating Bananas](https://github.com/grandyang/leetcode/issues/875)|45.90%|Medium|
506 | |874|[Walking Robot Simulation](https://github.com/grandyang/leetcode/issues/874)|31.70%|Easy|
507 | |873|[Length of Longest Fibonacci Subsequence](https://github.com/grandyang/leetcode/issues/873)|46.00%|Medium|
508 | |872|[Leaf-Similar Trees](https://github.com/grandyang/leetcode/issues/872)|63.10%|Easy|
509 | |871|[Minimum Number of Refueling Stops](https://github.com/grandyang/leetcode/issues/871)|28.70%|Hard|
510 | |870|[Advantage Shuffle](https://github.com/grandyang/leetcode/issues/870)|42.20%|Medium|
511 | |869|[Reordered Power of 2](https://github.com/grandyang/leetcode/issues/869)|50.60%|Medium|
512 | |868|[Binary Gap](https://github.com/grandyang/leetcode/issues/868)|59.30%|Easy|
513 | |867|[Transpose Matrix](https://github.com/grandyang/leetcode/issues/867)|63.90%|Easy|
514 | |866|[Prime Palindrome](https://github.com/grandyang/leetcode/issues/866)|20.00%|Medium|
515 | |865|[Smallest Subtree with all the Deepest Nodes](https://github.com/grandyang/leetcode/issues/865)|55.40%|Medium|
516 | |864|[Shortest Path to Get All Keys](https://github.com/grandyang/leetcode/issues/864)|35.70%|Hard|
517 | |863|[All Nodes Distance K in Binary Tree](https://github.com/grandyang/leetcode/issues/863)|46.80%|Medium|
518 | |862|[Shortest Subarray with Sum at Least K](https://github.com/grandyang/leetcode/issues/862)|22.00%|Hard|
519 | |861|[Score After Flipping Matrix](https://github.com/grandyang/leetcode/issues/861)|69.30%|Medium|
520 | |860|[Lemonade Change](https://github.com/grandyang/leetcode/issues/860)|50.20%|Easy|
521 | |859|[Buddy Strings](https://github.com/grandyang/leetcode/issues/859)|27.60%|Easy|
522 | |858|[Mirror Reflection](https://github.com/grandyang/leetcode/issues/858)|52.00%|Medium|
523 | |857|[Minimum Cost to Hire K Workers](https://github.com/grandyang/leetcode/issues/857)|47.30%|Hard|
524 | |856|[Score of Parentheses](https://github.com/grandyang/leetcode/issues/856)|55.90%|Medium|
525 | |855|[Exam Room](https://github.com/grandyang/leetcode/issues/855)|38.10%|Medium|
526 | |854|[K-Similar Strings](https://github.com/grandyang/leetcode/issues/854)|33.20%|Hard|
527 | |853|[Car Fleet](https://github.com/grandyang/leetcode/issues/853)|39.30%|Medium|
528 | |852|[Peak Index in a Mountain Array](https://github.com/grandyang/leetcode/issues/852)|68.50%|Easy|
529 | |851|[Loud and Rich](https://github.com/grandyang/leetcode/issues/851)|47.40%|Medium|
530 | |850|[Rectangle Area II](https://github.com/grandyang/leetcode/issues/850)|44.00%|Hard|
531 | |849|[Maximize Distance to Closest Person](https://github.com/grandyang/leetcode/issues/849)|40.40%|Easy|
532 | |848|[Shifting Letters](https://github.com/grandyang/leetcode/issues/848)|39.90%|Medium|
533 | |847|[Shortest Path Visiting All Nodes](https://github.com/grandyang/leetcode/issues/847)|45.90%|Hard|
534 | |846|[Hand of Straights](https://github.com/grandyang/leetcode/issues/846)|48.60%|Medium|
535 | |845|[Longest Mountain in Array](https://github.com/grandyang/leetcode/issues/845)|34.00%|Medium|
536 | |844|[Backspace String Compare](https://github.com/grandyang/leetcode/issues/844)|45.50%|Easy|
537 | |843|[Guess the Word](https://github.com/grandyang/leetcode/issues/843)|42.60%|Hard|
538 | |842|[Split Array into Fibonacci Sequence](https://github.com/grandyang/leetcode/issues/842)|34.60%|Medium|
539 | |841|[Keys and Rooms](https://github.com/grandyang/leetcode/issues/841)|59.70%|Medium|
540 | |840|[Magic Squares In Grid](https://github.com/grandyang/leetcode/issues/840)|35.10%|Easy|
541 | |839|[Similar String Groups](https://github.com/grandyang/leetcode/issues/839)|33.50%|Hard|
542 | |838|[Push Dominoes](https://github.com/grandyang/leetcode/issues/838)|42.80%|Medium|
543 | |837|[New 21 Game](https://github.com/grandyang/leetcode/issues/837)|29.50%|Medium|
544 | |836|[Rectangle Overlap](https://github.com/grandyang/leetcode/issues/836)|45.50%|Easy|
545 | |835|[Image Overlap](https://github.com/grandyang/leetcode/issues/835)|50.30%|Medium|
546 | |834|[Sum of Distances in Tree](https://github.com/grandyang/leetcode/issues/834)|38.10%|Hard|
547 | |833|[Find And Replace in String](https://github.com/grandyang/leetcode/issues/833)|44.50%|Medium|
548 | |832|[Flipping an Image](https://github.com/grandyang/leetcode/issues/832)|71.30%|Easy|
549 | |831|[Masking Personal Information](https://github.com/grandyang/leetcode/issues/831)|41.50%|Medium|
550 | |830|[Positions of Large Groups](https://github.com/grandyang/leetcode/issues/830)|47.40%|Easy|
551 | |829|[Consecutive Numbers Sum](https://github.com/grandyang/leetcode/issues/829)|32.10%|Hard|
552 | |828|[Unique Letter String](https://github.com/grandyang/leetcode/issues/828)|38.10%|Hard|
553 | |827|[Making A Large Island](https://github.com/grandyang/leetcode/issues/827)|42.10%|Hard|
554 | |826|[Most Profit Assigning Work](https://github.com/grandyang/leetcode/issues/826)|34.70%|Medium|
555 | |825|[Friends Of Appropriate Ages](https://github.com/grandyang/leetcode/issues/825)|35.00%|Medium|
556 | |824|[Goat Latin](https://github.com/grandyang/leetcode/issues/824)|56.70%|Easy|
557 | |823|[Binary Trees With Factors](https://github.com/grandyang/leetcode/issues/823)|31.50%|Medium|
558 | |822|[Card Flipping Game](https://github.com/grandyang/leetcode/issues/822)|39.70%|Medium|
559 | |821|[Shortest Distance to a Character](https://github.com/grandyang/leetcode/issues/821)|62.60%|Easy|
560 | |820|[Short Encoding of Words](https://github.com/grandyang/leetcode/issues/820)|46.00%|Medium|
561 | |819|[Most Common Word](https://github.com/grandyang/leetcode/issues/819)|41.50%|Easy|
562 | |818|[Race Car](https://github.com/grandyang/leetcode/issues/818)|34.00%|Hard|
563 | |817|[Linked List Components](https://github.com/grandyang/leetcode/issues/817)|51.90%|Medium|
564 | |816|[Ambiguous Coordinates](https://github.com/grandyang/leetcode/issues/816)|42.40%|Medium|
565 | |815|[Bus Routes](https://github.com/grandyang/leetcode/issues/815)|36.10%|Hard|
566 | |814|[Binary Tree Pruning](https://github.com/grandyang/leetcode/issues/814)|68.30%|Medium|
567 | |813|[Largest Sum of Averages](https://github.com/grandyang/leetcode/issues/813)|42.40%|Medium|
568 | |812|[Largest Triangle Area](https://github.com/grandyang/leetcode/issues/812)|53.80%|Easy|
569 | |811|[Subdomain Visit Count](https://github.com/grandyang/leetcode/issues/811)|61.50%|Easy|
570 | |810|[Chalkboard XOR Game](https://github.com/grandyang/leetcode/issues/810)|41.90%|Hard|
571 | |809|[Expressive Words](https://github.com/grandyang/leetcode/issues/809)|39.50%|Medium|
572 | |808|[Soup Servings](https://github.com/grandyang/leetcode/issues/808)|33.60%|Medium|
573 | |807|[Max Increase to Keep City Skyline](https://github.com/grandyang/leetcode/issues/807)|79.60%|Medium|
574 | |806|[Number of Lines To Write String](https://github.com/grandyang/leetcode/issues/806)|62.10%|Easy|
575 | |805|[Split Array With Same Average](https://github.com/grandyang/leetcode/issues/805)|21.00%|Hard|
576 | |804|[Unique Morse Code Words](https://github.com/grandyang/leetcode/issues/804)|71.30%|Easy|
577 | |803|[Bricks Falling When Hit](https://github.com/grandyang/leetcode/issues/803)|22.90%|Hard|
578 | |802|[Find Eventual Safe States](https://github.com/grandyang/leetcode/issues/802)|39.20%|Medium|
579 | |801|[Minimum Swaps To Make Sequences Increasing](https://github.com/grandyang/leetcode/issues/801)|31.00%|Medium|
580 | |800|[Similar RGB Color](https://github.com/grandyang/leetcode/issues/800) $|54.50%|Easy|
581 | |799|[Champagne Tower](https://github.com/grandyang/leetcode/issues/799)|29.90%|Medium|
582 | |798|[Smallest Rotation with Highest Score](https://github.com/grandyang/leetcode/issues/798)|34.30%|Hard|
583 | |797|[All Paths From Source to Target](https://github.com/grandyang/leetcode/issues/797)|67.40%|Medium|
584 | |796|[Rotate String](https://github.com/grandyang/leetcode/issues/796)|49.60%|Easy|
585 | |795|[Number of Subarrays with Bounded Maximum](https://github.com/grandyang/leetcode/issues/795)|41.60%|Medium|
586 | |794|[Valid Tic-Tac-Toe State](https://github.com/grandyang/leetcode/issues/794)|27.80%|Medium|
587 | |793|[Preimage Size of Factorial Zeroes Function](https://github.com/grandyang/leetcode/issues/793)|40.80%|Hard|
588 | |792|[Number of Matching Subsequences](https://github.com/grandyang/leetcode/issues/792)|37.30%|Medium|
589 | |791|[Custom Sort String](https://github.com/grandyang/leetcode/issues/791)|59.40%|Medium|
590 | |790|[Domino and Tromino Tiling](https://github.com/grandyang/leetcode/issues/790)|32.80%|Medium|
591 | |789|[Escape The Ghosts](https://github.com/grandyang/leetcode/issues/789)|51.00%|Medium|
592 | |788|[Rotated Digits](https://github.com/grandyang/leetcode/issues/788)|51.00%|Easy|
593 | |787|[Cheapest Flights Within K Stops](https://github.com/grandyang/leetcode/issues/787)|29.90%|Medium|
594 | |786|[K-th Smallest Prime Fraction](https://github.com/grandyang/leetcode/issues/786)|32.50%|Hard|
595 | |785|[Is Graph Bipartite](https://github.com/grandyang/leetcode/issues/785)|38.50%|Medium|
596 | |784|[Letter Case Permutation](https://github.com/grandyang/leetcode/issues/784)|53.00%|Easy|
597 | |783|[Minimum Distance Between BST Nodes](https://github.com/grandyang/leetcode/issues/783)|47.80%|Easy|
598 | |782|[Transform to Chessboard](https://github.com/grandyang/leetcode/issues/782)|37.50%|Hard|
599 | |781|[Rabbits in Forest](https://github.com/grandyang/leetcode/issues/781)|49.80%|Medium|
600 | |780|[Reaching Points](https://github.com/grandyang/leetcode/issues/780)|23.90%|Hard|
601 | |779|[K-th Symbol in Grammar](https://github.com/grandyang/leetcode/issues/779)|37.30%|Medium|
602 | |778|[Swim in Rising Water](https://github.com/grandyang/leetcode/issues/778)|44.60%|Hard|
603 | |777|[Swap Adjacent in LR String](https://github.com/grandyang/leetcode/issues/777)|28.90%|Medium|
604 | |776|[Split BST](https://github.com/grandyang/leetcode/issues/776) $|49.90%|Medium|
605 | |775|[Global and Local Inversions](https://github.com/grandyang/leetcode/issues/775)|33.60%|Medium|
606 | |774|[Minimize Max Distance to Gas Station](https://github.com/grandyang/leetcode/issues/774) $|32.80%|Hard|
607 | |773|[Sliding Puzzle](https://github.com/grandyang/leetcode/issues/773)|46.50%|Hard|
608 | |772|[Basic Calculator III](https://github.com/grandyang/leetcode/issues/772) $|40.10%|Hard|
609 | |771|[Jewels and Stones](https://github.com/grandyang/leetcode/issues/771)|81.90%|Easy|
610 | |770|Basic Calculator IV|42.10%|Hard|
611 | |769|[Max Chunks To Make Sorted](https://github.com/grandyang/leetcode/issues/769)|48.00%|Medium|
612 | |768|[Max Chunks To Make Sorted II](https://github.com/grandyang/leetcode/issues/768)|43.20%|Hard|
613 | |767|[Reorganize String](https://github.com/grandyang/leetcode/issues/767)|36.50%|Medium|
614 | |766|[Toeplitz Matrix](https://github.com/grandyang/leetcode/issues/766)|57.90%|Easy|
615 | |765|[Couples Holding Hands](https://github.com/grandyang/leetcode/issues/765)|48.50%|Hard|
616 | |764|[Largest Plus Sign](https://github.com/grandyang/leetcode/issues/764)|39.20%|Medium|
617 | |763|[Partition Labels](https://github.com/grandyang/leetcode/issues/763)|64.10%|Medium|
618 | |762|[Prime Number of Set Bits in Binary Representation](https://github.com/grandyang/leetcode/issues/762)|55.00%|Easy|
619 | |761|[Special Binary String](https://github.com/grandyang/leetcode/issues/761)|41.00%|Hard|
620 | |760|[Find Anagram Mappings](https://github.com/grandyang/leetcode/issues/760) $|75.60%|Easy|
621 | |759|[Employee Free Time](https://github.com/grandyang/leetcode/issues/759) $|51.90%|Hard|
622 | |758|[Bold Words in String](https://github.com/grandyang/leetcode/issues/758) $|37.90%|Easy|
623 | |757|[Set Intersection Size At Least Two](https://github.com/grandyang/leetcode/issues/757)|34.60%|Hard|
624 | |756|[Pyramid Transition Matrix](https://github.com/grandyang/leetcode/issues/756)|45.50%|Medium|
625 | |755|[Pour Water](https://github.com/grandyang/leetcode/issues/755) $|34.00%|Medium|
626 | |754|[Reach a Number](https://github.com/grandyang/leetcode/issues/754)|26.10%|Medium|
627 | |753|[Cracking the Safe](https://github.com/grandyang/leetcode/issues/753)|39.70%|Hard|
628 | |752|[Open the Lock](https://github.com/grandyang/leetcode/issues/752)|38.20%|Medium|
629 | |751|[IP to CIDR](https://github.com/grandyang/leetcode/issues/751) $|54.80%|Easy|
630 | |750|[Number Of Corner Rectangles](https://github.com/grandyang/leetcode/issues/750) $|51.00%|Medium|
631 | |749|[Contain Virus](https://github.com/grandyang/leetcode/issues/749)|39.60%|Hard|
632 | |748|[Shortest Completing Word](https://github.com/grandyang/leetcode/issues/748)|53.50%|Medium|
633 | |747|[Largest Number At Least Twice of Others](https://github.com/grandyang/leetcode/issues/747)|42.60%|Easy|
634 | |746|[Min Cost Climbing Stairs](https://github.com/grandyang/leetcode/issues/746)|43.60%|Easy|
635 | |745|[Prefix and Suffix Search](https://github.com/grandyang/leetcode/issues/745)|24.50%|Hard|
636 | |744|[Find Smallest Letter Greater Than Target](https://github.com/grandyang/leetcode/issues/744)|45.30%|Easy|
637 | |743|[Network Delay Time](https://github.com/grandyang/leetcode/issues/743)|34.30%|Medium|
638 | |742|[Closest Leaf in a Binary Tree](https://github.com/grandyang/leetcode/issues/742) $|33.20%|Medium|
639 | |741|[Cherry Pickup](https://github.com/grandyang/leetcode/issues/741)|22.50%|Hard|
640 | |740|[Delete and Earn](https://github.com/grandyang/leetcode/issues/740)|42.60%|Medium|
641 | |739|[Daily Temperatures](https://github.com/grandyang/leetcode/issues/739)|53.50%|Medium|
642 | |738|[Monotone Increasing Digits](https://github.com/grandyang/leetcode/issues/738)|41.80%|Medium|
643 | |737|[Sentence Similarity II](https://github.com/grandyang/leetcode/issues/737) $|41.20%|Medium|
644 | |736|[Parse Lisp Expression](https://github.com/grandyang/leetcode/issues/736)|42.00%|Hard|
645 | |735|[Asteroid Collision](https://github.com/grandyang/leetcode/issues/735)|37.60%|Medium|
646 | |734|[Sentence Similarity](https://github.com/grandyang/leetcode/issues/734) $|38.60%|Easy|
647 | |733|[Flood Fill](https://github.com/grandyang/leetcode/issues/733)|49.30%|Easy|
648 | |732|[My Calendar III](https://github.com/grandyang/leetcode/issues/732)|51.30%|Hard|
649 | |731|[My Calendar II](https://github.com/grandyang/leetcode/issues/731)|35.00%|Medium|
650 | |730|[Count Different Palindromic Subsequences](https://github.com/grandyang/leetcode/issues/730)|32.40%|Hard|
651 | |729|[My Calendar I](https://github.com/grandyang/leetcode/issues/729)|40.10%|Medium|
652 | |728|[Self Dividing Numbers](https://github.com/grandyang/leetcode/issues/728)|68.50%|Easy|
653 | |727|[Minimum Window Subsequence](https://github.com/grandyang/leetcode/issues/727)|30.10%|Hard|
654 | |726|[Number of Atoms](https://github.com/grandyang/leetcode/issues/726)|45.00%|Hard|
655 | |725|[Split Linked List in Parts](https://github.com/grandyang/leetcode/issues/725)|50.00%|Medium|
656 | |724|[Find Pivot Index](https://github.com/grandyang/leetcode/issues/724)|41.00%|Easy|
657 | |723|[Candy Crush](https://github.com/grandyang/leetcode/issues/723) $|56.10%|Medium|
658 | |722|[Remove Comments](https://github.com/grandyang/leetcode/issues/722)|26.30%|Medium|
659 | |721|[Accounts Merge](https://github.com/grandyang/leetcode/issues/721)|29.60%|Medium|
660 | |720|[Longest Word in Dictionary](https://github.com/grandyang/leetcode/issues/720)|40.60%|Easy|
661 | |719|[Find K-th Smallest Pair Distance](https://github.com/grandyang/leetcode/issues/719)|26.10%|Hard|
662 | |718|[Maximum Length of Repeated Subarray](https://github.com/grandyang/leetcode/issues/718)|39.90%|Medium|
663 | |717|[1-bit and 2-bit Characters](https://github.com/grandyang/leetcode/issues/717)|50.90%|Easy|
664 | |716|[Max Stack](https://github.com/grandyang/leetcode/issues/716) $|35.50%|Hard|
665 | |715|[Range Module](https://github.com/grandyang/leetcode/issues/715)|31.00%|Hard|
666 | |714|[Best Time to Buy and Sell Stock with Transaction Fee](https://github.com/grandyang/leetcode/issues/714)|41.60%|Medium|
667 | |713|[Subarray Product Less Than K](https://github.com/grandyang/leetcode/issues/713)|32.90%|Medium|
668 | |712|[Minimum ASCII Delete Sum for Two Strings](https://github.com/grandyang/leetcode/issues/712)|50.90%|Medium|
669 | |711|[Number of Distinct Islands II](https://github.com/grandyang/leetcode/issues/711) $|39.40%|Hard|
670 | |710|[Random Pick with Blacklist](https://github.com/grandyang/leetcode/issues/710)|29.80%|Hard|
671 | |709|[To Lower Case](https://github.com/grandyang/leetcode/issues/709)|74.50%|Easy|
672 | |708|[Insert into a Cyclic Sorted List](https://github.com/grandyang/leetcode/issues/708) $|25.50%|Medium|
673 | |707|[Design Linked List](https://github.com/grandyang/leetcode/issues/707)|19.10%|Easy|
674 | |706|[Design HashMap](https://github.com/grandyang/leetcode/issues/706)|49.10%|Easy|
675 | |705|[Design HashSet](https://github.com/grandyang/leetcode/issues/705)|43.60%|Easy|
676 | |704|[Binary Search](https://github.com/grandyang/leetcode/issues/704)|40.10%|Easy|
677 | |703|[Kth Largest Element in a Stream](https://github.com/grandyang/leetcode/issues/703)|39.60%|Easy|
678 | |702|[Search in a Sorted Array of Unknown Size](https://github.com/grandyang/leetcode/issues/702)|43.00%|Medium|
679 | |701|[Insert into a Binary Search Tree](https://github.com/grandyang/leetcode/issues/701)|67.90%|Medium|
680 | |700|[Search in a Binary Search Tree](https://github.com/grandyang/leetcode/issues/700)|62.70%|Easy|
681 | |699|[Falling Squares](https://github.com/grandyang/leetcode/issues/699)|36.80%|Hard|
682 | |698|[Partition to K Equal Sum Subsets](https://github.com/grandyang/leetcode/issues/698)|35.60%|Medium|
683 | |697|[Degree of an Array](https://github.com/grandyang/leetcode/issues/697)|47.90%|Easy|
684 | |696|[Count Binary Substrings](https://github.com/grandyang/leetcode/issues/696)|51.90%|Easy|
685 | |695|[Max Area of Island](https://github.com/grandyang/leetcode/issues/695)|53.30%|Easy|
686 | |694|[Number of Distinct Islands](https://github.com/grandyang/leetcode/issues/694) $|43.90%|Medium|
687 | |693|[Binary Number with Alternating Bits](https://github.com/grandyang/leetcode/issues/693)|54.20%|Easy|
688 | |692|[Top K Frequent Words](https://github.com/grandyang/leetcode/issues/692)|41.70%|Medium|
689 | |691|[Stickers to Spell Word](https://github.com/grandyang/leetcode/issues/691)|32.30%|Hard|
690 | |690|[Employee Importance](https://github.com/grandyang/leetcode/issues/690)|53.60%|Easy|
691 | |689|[Maximum Sum of 3 Non-Overlapping Subarrays](https://github.com/grandyang/leetcode/issues/689)|41.70%|Hard|
692 | |688|[Knight Probability in Chessboard](https://github.com/grandyang/leetcode/issues/688)|38.90%|Medium|
693 | |687|[Longest Univalue Path](https://github.com/grandyang/leetcode/issues/687)|32.90%|Easy|
694 | |686|[Repeated String Match](https://github.com/grandyang/leetcode/issues/686)|31.70%|Easy|
695 | |685|[Redundant Connection II](https://github.com/grandyang/leetcode/issues/685)|28.40%|Hard|
696 | |684|[Redundant Connection](https://github.com/grandyang/leetcode/issues/684)|37.40%|Medium|
697 | |683|[K Empty Slots](https://github.com/grandyang/leetcode/issues/683)|37.00%|Hard|
698 | |682|[Baseball Game](https://github.com/grandyang/leetcode/issues/682)|58.60%|Easy|
699 | |681|[Next Closest Time](https://github.com/grandyang/leetcode/issues/681) $|43.00%|Medium|
700 | |680|[Valid Palindrome II](https://github.com/grandyang/leetcode/issues/680)|31.10%|Easy|
701 | |679|[24 Game](https://github.com/grandyang/leetcode/issues/679)|38.30%|Hard|
702 | |678|[Valid Parenthesis String](https://github.com/grandyang/leetcode/issues/678)|28.30%|Medium|
703 | |677|[Map Sum Pairs](https://github.com/grandyang/leetcode/issues/677)|53.80%|Medium|
704 | |676|[Implement Magic Dictionary](https://github.com/grandyang/leetcode/issues/676)|50.70%|Medium|
705 | |675|[Cut Off Trees for Golf Event](https://github.com/grandyang/leetcode/issues/675)|27.20%|Hard|
706 | |674|[Longest Continuous Increasing Subsequence](https://github.com/grandyang/leetcode/issues/674)|43.20%|Easy|
707 | |673|[Number of Longest Increasing Subsequence](https://github.com/grandyang/leetcode/issues/673)|30.80%|Medium|
708 | |672|[Bulb Switcher II](https://github.com/grandyang/leetcode/issues/672)|47.60%|Medium|
709 | |671|[Second Minimum Node In a Binary Tree](https://github.com/grandyang/leetcode/issues/671)|42.30%|Easy|
710 | |670|[Maximum Swap](https://github.com/grandyang/leetcode/issues/670)|38.40%|Medium|
711 | |669|[Trim a Binary Search Tree](https://github.com/grandyang/leetcode/issues/669)|58.70%|Easy|
712 | |668|[Kth Smallest Number in Multiplication Table](https://github.com/grandyang/leetcode/issues/668)|36.30%|Hard|
713 | |667|[Beautiful Arrangement II](https://github.com/grandyang/leetcode/issues/667)|51.50%|Medium|
714 | |666|[Path Sum IV](https://github.com/grandyang/leetcode/issues/666) $|48.90%|Medium|
715 | |665|[Non-decreasing Array](https://github.com/grandyang/leetcode/issues/665)|21.20%|Easy|
716 | |664|[Strange Printer](https://github.com/grandyang/leetcode/issues/664)|31.10%|Hard|
717 | |663|[Equal Tree Partition](https://github.com/grandyang/leetcode/issues/663) $|36.70%|Medium|
718 | |662|[Maximum Width of Binary Tree](https://github.com/grandyang/leetcode/issues/662)|37.00%|Medium|
719 | |661|[Image Smoother](https://github.com/grandyang/leetcode/issues/661)|46.60%|Easy|
720 | |660|[Remove 9](https://github.com/grandyang/leetcode/issues/660) $|46.10%|Hard|
721 | |659|[Split Array into Consecutive Subsequences](https://github.com/grandyang/leetcode/issues/659)|39.40%|Medium|
722 | |658|[Find K Closest Elements](https://github.com/grandyang/leetcode/issues/658)|36.30%|Medium|
723 | |657|[Judge Route Circle](https://github.com/grandyang/leetcode/issues/657)|69.30%|Easy|
724 | |656|[Coin Path](https://github.com/grandyang/leetcode/issues/656) $|24.60%|Hard|
725 | |655|[Print Binary Tree](https://github.com/grandyang/leetcode/issues/655)|50.80%|Medium|
726 | |654|[Maximum Binary Tree](https://github.com/grandyang/leetcode/issues/654)|70.80%|Medium|
727 | |653|[Two Sum IV - Input is a BST](https://github.com/grandyang/leetcode/issues/653)|50.60%|Easy|
728 | |652|[Find Duplicate Subtrees](https://github.com/grandyang/leetcode/issues/652)|33.20%|Medium|
729 | |651|[4 Keys Keyboard](https://github.com/grandyang/leetcode/issues/651) $|46.70%|Medium|
730 | |650|[2 Keys Keyboard](https://github.com/grandyang/leetcode/issues/650)|42.70%|Medium|
731 | |649|[Dota2 Senate](https://github.com/grandyang/leetcode/issues/649)|35.60%|Medium|
732 | |648|[Replace Words](https://github.com/grandyang/leetcode/issues/648)|48.40%|Medium|
733 | |647|[Palindromic Substrings](https://github.com/grandyang/leetcode/issues/647)|55.70%|Medium|
734 | |646|[Maximum Length of Pair Chain](https://github.com/grandyang/leetcode/issues/646)|47.40%|Medium|
735 | |645|[Set Mismatch](https://github.com/grandyang/leetcode/issues/645)|40.40%|Easy|
736 | |644|[Maximum Average Subarray II](https://github.com/grandyang/leetcode/issues/644) $|20.30%|Hard|
737 | |643|[Maximum Average Subarray I](https://github.com/grandyang/leetcode/issues/643)|38.40%|Easy|
738 | |642|[Design Search Autocomplete System](https://github.com/grandyang/leetcode/issues/642) $|29.40%|Hard|
739 | |641|[Design Circular Deque](https://github.com/grandyang/leetcode/issues/641)|48.00%|Medium|
740 | |640|[Solve the Equation](https://github.com/grandyang/leetcode/issues/640)|39.00%|Medium|
741 | |639|[Decode Ways II](https://github.com/grandyang/leetcode/issues/639)|22.80%|Hard|
742 | |638|[Shopping Offers](https://github.com/grandyang/leetcode/issues/638)|41.50%|Medium|
743 | |637|[Average of Levels in Binary Tree](https://github.com/grandyang/leetcode/issues/637)|55.60%|Easy|
744 | |636|[Exclusive Time of Functions](https://github.com/grandyang/leetcode/issues/636)|40.30%|Medium|
745 | |635|[Design Log Storage System](https://github.com/grandyang/leetcode/issues/635) $|47.70%|Medium|
746 | |634|[Find the Derangement of An Array](https://github.com/grandyang/leetcode/issues/634) $|32.70%|Medium|
747 | |633|[Sum of Square Numbers](https://github.com/grandyang/leetcode/issues/633)|31.60%|Easy|
748 | |632|[Smallest Range](https://github.com/grandyang/leetcode/issues/632)|42.80%|Hard|
749 | |631|[Design Excel Sum Formula](https://github.com/grandyang/leetcode/issues/631) $|25.60%|Hard|
750 | |630|[Course Schedule III](https://github.com/grandyang/leetcode/issues/630)|20.50%|Medium|
751 | |629|[K Inverse Pairs Array](https://github.com/grandyang/leetcode/issues/629)|23.90%|Hard|
752 | |628|[Maximum Product of Three Numbers](https://github.com/grandyang/leetcode/issues/628)|45.40%|Easy|
753 | |627|Swap Salary|67.40%|Easy|
754 | |626|Exchange Seats|49.60%|Medium|
755 | |625|[Minimum Factorization](https://github.com/grandyang/leetcode/issues/625)|29.50%|Medium|
756 | |624|[Maximum Distance in Arrays](https://github.com/grandyang/leetcode/issues/624) $|32.70%|Easy|
757 | |623|[Add One Row to Tree](https://github.com/grandyang/leetcode/issues/623)|48.70%|Medium|
758 | |622|[Design Circular Queue](https://github.com/grandyang/leetcode/issues/622)|36.60%|Medium|
759 | |621|[Task Scheduler](https://github.com/grandyang/leetcode/issues/621)|41.40%|Medium|
760 | |620|Not Boring Movies|59.80%|Easy|
761 | |619|Biggest Single Number $|36.60%|Easy|
762 | |618|Students Report By Geography $|40.40%|Hard|
763 | |617|[Merge Two Binary Trees](https://github.com/grandyang/leetcode/issues/617)|69.60%|Easy|
764 | |616|[Add Bold Tag in String](https://github.com/grandyang/leetcode/issues/616) $|37.30%|Medium|
765 | |615|Average Salary: Departments VS Company $|33.00%|Hard|
766 | |614|Second Degree Follower $|22.70%|Medium|
767 | |613|Shortest Distance in a Line $|70.60%|Easy|
768 | |612|Shortest Distance in a Plane $|51.00%|Medium|
769 | |611|[Valid Triangle Number](https://github.com/grandyang/leetcode/issues/611)|38.90%|Medium|
770 | |610|Triangle Judgement $|59.10%|Easy|
771 | |609|[Find Duplicate File in System](https://github.com/grandyang/leetcode/issues/609)|52.50%|Medium|
772 | |608|Tree Node $|54.60%|Medium|
773 | |607|[Sales Person ](https://github.com/grandyang/leetcode/issues/607) $|51.10%|Easy|
774 | |606|[Construct String from Binary Tree](https://github.com/grandyang/leetcode/issues/606)|51.80%|Easy|
775 | |605|[Can Place Flowers](https://github.com/grandyang/leetcode/issues/605)|30.00%|Easy|
776 | |604|[Design Compressed String Iterator](https://github.com/grandyang/leetcode/issues/604) $|31.60%|Easy|
777 | |603|Consecutive Available Seats $|54.50%|Easy|
778 | |602|Friend Requests II: Who Has the Most Friends $|42.50%|Medium|
779 | |601|Human Traffic of Stadium|33.80%|Hard|
780 | |600|[Non-negative Integers without Consecutive Ones](https://github.com/grandyang/leetcode/issues/600)|27.40%|Hard|
781 | |599|[Minimum Index Sum of Two Lists](https://github.com/grandyang/leetcode/issues/599)|48.00%|Easy|
782 | |598|[Range Addition II](https://github.com/grandyang/leetcode/issues/598)|48.30%|Easy|
783 | |597|Friend Requests I: Overall Acceptance Rate $|38.40%|Easy|
784 | |596|Classes More Than 5 Students|33.40%|Easy|
785 | |595|[Big Countries](https://github.com/grandyang/leetcode/issues/595)|72.00%|Easy|
786 | |594|[Longest Harmonious Subsequence](https://github.com/grandyang/leetcode/issues/594)|40.00%|Easy|
787 | |593|[Valid Square](https://github.com/grandyang/leetcode/issues/593)|39.20%|Medium|
788 | |592|[Fraction Addition and Subtraction](https://github.com/grandyang/leetcode/issues/592)|47.00%|Medium|
789 | |591|[Tag Validator](https://github.com/grandyang/leetcode/issues/591)|26.40%|Hard|
790 | |590|[N-ary Tree Postorder Traversal](https://github.com/grandyang/leetcode/issues/590)|63.00%|Easy|
791 | |589|[N-ary Tree Preorder Traversal](https://github.com/grandyang/leetcode/issues/589)|63.10%|Easy|
792 | |588|[Design In-Memory File System](https://github.com/grandyang/leetcode/issues/588) $|32.40%|Hard|
793 | |587|[Erect the Fence](https://github.com/grandyang/leetcode/issues/587)|29.90%|Hard|
794 | |586|Customer Placing the Largest Number of Orders $|62.50%|Easy|
795 | |585|Investments in 2016 $|44.60%|Medium|
796 | |584|Find Customer Referee $|63.60%|Easy|
797 | |583|[Delete Operation for Two Strings](https://github.com/grandyang/leetcode/issues/583)|44.00%|Medium|
798 | |582|[Kill Process](https://github.com/grandyang/leetcode/issues/582) $|47.70%|Medium|
799 | |581|[Shortest Unsorted Continuous Subarray](https://github.com/grandyang/leetcode/issues/581)|30.10%|Easy|
800 | |580|Count Student Number in Departments $|40.00%|Medium|
801 | |579|Find Cumulative Salary of an Employee $|30.90%|Hard|
802 | |578|Get Highest Answer Rate Question $|33.10%|Medium|
803 | |577|Employee Bonus $|53.80%|Easy|
804 | |576|[Out of Boundary Paths](https://github.com/grandyang/leetcode/issues/576)|33.10%|Medium|
805 | |575|[Distribute Candies](https://github.com/grandyang/leetcode/issues/575)|59.50%|Easy|
806 | |574|[Winning Candidate ](https://github.com/grandyang/leetcode/issues/574) $|34.50%|Medium|
807 | |573|[Squirrel Simulation](https://github.com/grandyang/leetcode/issues/573) $|51.00%|Medium|
808 | |572|[Subtree of Another Tree](https://github.com/grandyang/leetcode/issues/572)|41.00%|Easy|
809 | |571|Find Median Given Frequency of Numbers $|44.90%|Hard|
810 | |570|Managers with at Least 5 Direct Reports $|59.00%|Medium|
811 | |569|[Median Employee Salary ](https://github.com/grandyang/leetcode/issues/569) $|41.60%|Hard|
812 | |568|[Maximum Vacation Days](https://github.com/grandyang/leetcode/issues/568) $|39.90%|Hard|
813 | |567|[Permutation in String](https://github.com/grandyang/leetcode/issues/567)|36.30%|Medium|
814 | |566|[Reshape the Matrix](https://github.com/grandyang/leetcode/issues/566)|59.80%|Easy|
815 | |565|[Array Nesting](https://github.com/grandyang/leetcode/issues/565)|50.00%|Medium|
816 | |564|[Find the Closest Palindrome](https://github.com/grandyang/leetcode/issues/564)|16.60%|Hard|
817 | |563|[Binary Tree Tilt](https://github.com/grandyang/leetcode/issues/563)|47.00%|Easy|
818 | |562|[Longest Line of Consecutive One in Matrix](https://github.com/grandyang/leetcode/issues/562) $|38.80%|Medium|
819 | |561|[Array Partition I](https://github.com/grandyang/leetcode/issues/561)|69.80%|Easy|
820 | |560|[Subarray Sum Equals K](https://github.com/grandyang/leetcode/issues/560)|41.80%|Medium|
821 | |559|[Maximum Depth of N-ary Tree](https://github.com/grandyang/leetcode/issues/559)|62.10%|Easy|
822 | |558|[Quad Tree Intersection](https://github.com/grandyang/leetcode/issues/558)|36.40%|Easy|
823 | |557|[Reverse Words in a String III](https://github.com/grandyang/leetcode/issues/557)|61.20%|Easy|
824 | |556|[Next Greater Element III](https://github.com/grandyang/leetcode/issues/556)|27.70%|Medium|
825 | |555|[Split Concatenated Strings](https://github.com/grandyang/leetcode/issues/555) $|30.00%|Medium|
826 | |554|[Brick Wall](https://github.com/grandyang/leetcode/issues/554)|42.70%|Medium|
827 | |553|[Optimal Division](https://github.com/grandyang/leetcode/issues/553)|55.20%|Medium|
828 | |552|[Student Attendance Record II](https://github.com/grandyang/leetcode/issues/552)|28.50%|Hard|
829 | |551|[Student Attendance Record I](https://github.com/grandyang/leetcode/issues/551)|43.90%|Easy|
830 | |549|[Binary Tree Longest Consecutive Sequence II](https://github.com/grandyang/leetcode/issues/549) $|38.10%|Medium|
831 | |548|[Split Array with Equal Sum](https://github.com/grandyang/leetcode/issues/548) $|30.80%|Medium|
832 | |547|[Friend Circles](https://github.com/grandyang/leetcode/issues/547)|49.00%|Medium|
833 | |546|[Remove Boxes](https://github.com/grandyang/leetcode/issues/546)|29.60%|Hard|
834 | |545|[Boundary of Binary Tree](https://github.com/grandyang/leetcode/issues/545) $|29.10%|Medium|
835 | |544|[Output Contest Matches](https://github.com/grandyang/leetcode/issues/544) $|73.20%|Medium|
836 | |543|[Diameter of Binary Tree](https://github.com/grandyang/leetcode/issues/543)|42.70%|Easy|
837 | |542|[01 Matrix](https://github.com/grandyang/leetcode/issues/542)|32.50%|Medium|
838 | |541|[Reverse String II](https://github.com/grandyang/leetcode/issues/541)|44.40%|Easy|
839 | |540|[Single Element in a Sorted Array](https://github.com/grandyang/leetcode/issues/540)|55.90%|Medium|
840 | |539|[Minimum Time Difference](https://github.com/grandyang/leetcode/issues/539)|44.70%|Medium|
841 | |538|[Convert BST to Greater Tree](https://github.com/grandyang/leetcode/issues/538)|52.70%|Medium|
842 | |537|[Complex Number Multiplication](https://github.com/grandyang/leetcode/issues/537)|65.90%|Medium|
843 | |536|[Construct Binary Tree from String](https://github.com/grandyang/leetcode/issues/536) $|36.30%|Medium|
844 | |535|[Encode and Decode TinyURL](https://github.com/grandyang/leetcode/issues/535)|76.10%|Medium|
845 | |534|Game Play Analysis III|67.10%|Medium|
846 | |533|[Lonely Pixel II](https://github.com/grandyang/leetcode/issues/533) $|38.90%|Medium|
847 | |532|[K-diff Pairs in an Array](https://github.com/grandyang/leetcode/issues/532)|27.20%|Easy|
848 | |531|[Lonely Pixel I](https://github.com/grandyang/leetcode/issues/531) $|50.20%|Medium|
849 | |530|[Minimum Absolute Difference in BST](https://github.com/grandyang/leetcode/issues/530)|48.00%|Easy|
850 | |529|[Minesweeper](https://github.com/grandyang/leetcode/issues/529)|52.00%|Medium|
851 | |528|[Random Pick with Weight](https://github.com/grandyang/leetcode/issues/528)|41.80%|Medium|
852 | |527|[Word Abbreviation](https://github.com/grandyang/leetcode/issues/527) $|33.90%|Hard|
853 | |526|[Beautiful Arrangement](https://github.com/grandyang/leetcode/issues/526)|53.50%|Medium|
854 | |525|[Contiguous Array](https://github.com/grandyang/leetcode/issues/525)|34.40%|Medium|
855 | |524|[Longest Word in Dictionary through Deleting](https://github.com/grandyang/leetcode/issues/524)|40.20%|Medium|
856 | |523|[Continuous Subarray Sum](https://github.com/grandyang/leetcode/issues/523)|21.30%|Medium|
857 | |522|[Longest Uncommon Subsequence II](https://github.com/grandyang/leetcode/issues/522)|28.10%|Medium|
858 | |521|[Longest Uncommon Subsequence I](https://github.com/grandyang/leetcode/issues/521)|50.70%|Easy|
859 | |520|[Detect Capital](https://github.com/grandyang/leetcode/issues/520)|54.20%|Easy|
860 | |519|[Random Flip Matrix](https://github.com/grandyang/leetcode/issues/519)|32.20%|Medium|
861 | |518|[Coin Change 2](https://github.com/grandyang/leetcode/issues/518)|33.20%|Medium|
862 | |517|[Super Washing Machines](https://github.com/grandyang/leetcode/issues/517)|34.60%|Hard|
863 | |516|[Longest Palindromic Subsequence](https://github.com/grandyang/leetcode/issues/516)|42.00%|Medium|
864 | |515|[Find Largest Value in Each Tree Row](https://github.com/grandyang/leetcode/issues/515)|52.70%|Medium|
865 | |514|[Freedom Trail](https://github.com/grandyang/leetcode/issues/514)|27.20%|Hard|
866 | |513|[Find Bottom Left Tree Value](https://github.com/grandyang/leetcode/issues/513)|55.60%|Medium|
867 | |510|[Inorder Successor in BST II](https://github.com/grandyang/leetcode/issues/510) $|56.20%|Medium|
868 | |509|[Fibonacci Number](https://github.com/grandyang/leetcode/issues/509)|66.40%|Easy|
869 | |508|[Most Frequent Subtree Sum](https://github.com/grandyang/leetcode/issues/508)|52.00%|Medium|
870 | |507|[Perfect Number](https://github.com/grandyang/leetcode/issues/507)|32.70%|Easy|
871 | |506|[Relative Ranks](https://github.com/grandyang/leetcode/issues/506)|48.50%|Easy|
872 | |505|[The Maze II](https://github.com/grandyang/leetcode/issues/505)|34.80%|Medium|
873 | |504|[Base 7](https://github.com/grandyang/leetcode/issues/504)|46.40%|Easy|
874 | |503|[Next Greater Element II](https://github.com/grandyang/leetcode/issues/503)|46.20%|Medium|
875 | |502|[IPO](https://github.com/grandyang/leetcode/issues/502)|32.40%|Hard|
876 | |501|[Find Mode in Binary Search Tree](https://github.com/grandyang/leetcode/issues/501)|39.40%|Easy|
877 | |500|[Keyboard Row](https://github.com/grandyang/leetcode/issues/500)|60.20%|Easy|
878 | |499|[The Maze III](https://github.com/grandyang/leetcode/issues/499)|32.00%|Hard|
879 | |498|[Diagonal Traverse](https://github.com/grandyang/leetcode/issues/498)|46.20%|Medium|
880 | |497|[Random Point in Non-overlapping Rectangles](https://github.com/grandyang/leetcode/issues/497)|33.20%|Medium|
881 | |496|[Next Greater Element I](https://github.com/grandyang/leetcode/issues/496)|58.80%|Easy|
882 | |495|[Teemo Attacking](https://github.com/grandyang/leetcode/issues/495)|51.90%|Medium|
883 | |494|[Target Sum](https://github.com/grandyang/leetcode/issues/494)|44.40%|Medium|
884 | |493|[Reverse Pairs](https://github.com/grandyang/leetcode/issues/493)|17.10%|Hard|
885 | |492|[Construct the Rectangle](https://github.com/grandyang/leetcode/issues/492)|49.70%|Easy|
886 | |491|[Increasing Subsequences](https://github.com/grandyang/leetcode/issues/491)|39.30%|Medium|
887 | |490|[The Maze](https://github.com/grandyang/leetcode/issues/490)|42.80%|Medium|
888 | |489|[Robot Room Cleaner](https://github.com/grandyang/leetcode/issues/489)|57.10%|Hard|
889 | |488|[Zuma Game](https://github.com/grandyang/leetcode/issues/488)|38.00%|Hard|
890 | |487|[Max Consecutive Ones II](https://github.com/grandyang/leetcode/issues/487) $|42.70%|Medium|
891 | |486|[Predict the Winner](https://github.com/grandyang/leetcode/issues/486)|43.60%|Medium|
892 | |485|[Max Consecutive Ones](https://github.com/grandyang/leetcode/issues/485)|55.30%|Easy|
893 | |484|[Find Permutation](https://github.com/grandyang/leetcode/issues/484) $|50.50%|Medium|
894 | |483|[Smallest Good Base](https://github.com/grandyang/leetcode/issues/483)|30.60%|Hard|
895 | |482|[License Key Formatting](https://github.com/grandyang/leetcode/issues/482)|41.20%|Medium|
896 | |481|[Magical String](https://github.com/grandyang/leetcode/issues/481)|46.20%|Medium|
897 | |480|[Sliding Window Median](https://github.com/grandyang/leetcode/issues/480)|31.00%|Hard|
898 | |479|[Largest Palindrome Product](https://github.com/grandyang/leetcode/issues/479)|23.90%|Easy|
899 | |478|[Generate Random Point in a Circle](https://github.com/grandyang/leetcode/issues/478)|33.80%|Medium|
900 | |477|[Total Hamming Distance](https://github.com/grandyang/leetcode/issues/477)|44.10%|Medium|
901 | |476|[Number Complement](https://github.com/grandyang/leetcode/issues/476)|61.20%|Easy|
902 | |475|[Heaters](https://github.com/grandyang/leetcode/issues/475)|30.20%|Easy|
903 | |474|[Ones and Zeroes](https://github.com/grandyang/leetcode/issues/474)|34.90%|Medium|
904 | |473|[Matchsticks to Square](https://github.com/grandyang/leetcode/issues/473)|31.80%|Medium|
905 | |472|[Concatenated Words](https://github.com/grandyang/leetcode/issues/472)|29.20%|Hard|
906 | |471|[Encode String with Shortest Length](https://github.com/grandyang/leetcode/issues/471) $|43.50%|Hard|
907 | |470|[Implement Rand10() Using Rand7()](https://github.com/grandyang/leetcode/issues/470)|43.00%|Medium|
908 | |469|[Convex Polygon](https://github.com/grandyang/leetcode/issues/469) $|27.20%|Medium|
909 | |468|[Validate IP Address](https://github.com/grandyang/leetcode/issues/468)|22.10%|Medium|
910 | |467|[Unique Substrings in Wraparound String](https://github.com/grandyang/leetcode/issues/467)|29.90%|Medium|
911 | |466|[Count The Repetitions](https://github.com/grandyang/leetcode/issues/466)|24.20%|Hard|
912 | |465|[Optimal Account Balancing](https://github.com/grandyang/leetcode/issues/465) $|29.20%|Hard|
913 | |464|[Can I Win](https://github.com/grandyang/leetcode/issues/464)|22.20%|Medium|
914 | |463|[Island Perimeter](https://github.com/grandyang/leetcode/issues/463)|56.70%|Easy|
915 | |462|[Minimum Moves to Equal Array Elements II](https://github.com/grandyang/leetcode/issues/462)|50.90%|Medium|
916 | |461|[Hamming Distance](https://github.com/grandyang/leetcode/issues/461)|73.20%|Easy|
917 | |460|[LFU Cache](https://github.com/grandyang/leetcode/issues/460)|18.30%|Hard|
918 | |459|[Repeated Substring Pattern](https://github.com/grandyang/leetcode/issues/459)|39.70%|Easy|
919 | |458|[Poor Pigs](https://github.com/grandyang/leetcode/issues/458)|40.70%|Easy|
920 | |457|[Circular Array Loop](https://github.com/grandyang/leetcode/issues/457)|20.60%|Medium|
921 | |456|[132 Pattern](https://github.com/grandyang/leetcode/issues/456)|28.00%|Medium|
922 | |455|[Assign Cookies](https://github.com/grandyang/leetcode/issues/455)|48.10%|Easy|
923 | |454|[4Sum II](https://github.com/grandyang/leetcode/issues/454)|42.80%|Medium|
924 | |453|[Minimum Moves to Equal Array Elements](https://github.com/grandyang/leetcode/issues/453)|46.30%|Easy|
925 | |452|[Minimum Number of Arrows to Burst Balloons](https://github.com/grandyang/leetcode/issues/452)|42.10%|Medium|
926 | |451|[Sort Characters By Frequency](https://github.com/grandyang/leetcode/issues/451)|50.90%|Medium|
927 | |450|[Delete Node in a BST](https://github.com/grandyang/leetcode/issues/450)|34.50%|Medium|
928 | |449|[Serialize and Deserialize BST](https://github.com/grandyang/leetcode/issues/449)|41.20%|Medium|
929 | |448|[Find All Numbers Disappeared in an Array](https://github.com/grandyang/leetcode/issues/448)|58.30%|Easy|
930 | |447|[Number of Boomerangs](https://github.com/grandyang/leetcode/issues/447)|42.20%|Easy|
931 | |446|[Arithmetic Slices II - Subsequence](https://github.com/grandyang/leetcode/issues/446)|22.30%|Hard|
932 | |445|[Add Two Numbers II](https://github.com/grandyang/leetcode/issues/445)|45.40%|Medium|
933 | |444|[Sequence Reconstruction](https://github.com/grandyang/leetcode/issues/444) $|20.50%|Medium|
934 | |443|[String Compression](https://github.com/grandyang/leetcode/issues/443)|35.80%|Easy|
935 | |442|[Find All Duplicates in an Array](https://github.com/grandyang/leetcode/issues/442)|46.40%|Medium|
936 | |441|[Arranging Coins](https://github.com/grandyang/leetcode/issues/441)|36.20%|Easy|
937 | |440|[K-th Smallest in Lexicographical Order](https://github.com/grandyang/leetcode/issues/440)|21.50%|Hard|
938 | |439|[Ternary Expression Parser](https://github.com/grandyang/leetcode/issues/439) $|49.40%|Medium|
939 | |438|[Find All Anagrams in a String](https://github.com/grandyang/leetcode/issues/438)|33.50%|Easy|
940 | |437|[Path Sum III](https://github.com/grandyang/leetcode/issues/437)|38.60%|Easy|
941 | |436|[Find Right Interval](https://github.com/grandyang/leetcode/issues/436)|42.30%|Medium|
942 | |435|[Non-overlapping Intervals](https://github.com/grandyang/leetcode/issues/435)|39.80%|Medium|
943 | |434|[Number of Segments in a String](https://github.com/grandyang/leetcode/issues/434)|38.40%|Easy|
944 | |433|[Minimum Genetic Mutation](https://github.com/grandyang/leetcode/issues/433)|33.50%|Medium|
945 | |432|[All O`one Data Structure](https://github.com/grandyang/leetcode/issues/432)|28.30%|Hard|
946 | |431|[Encode N-ary Tree to Binary Tree](https://github.com/grandyang/leetcode/issues/431) $|53.70%|Hard|
947 | |430|[Flatten a Multilevel Doubly Linked List](https://github.com/grandyang/leetcode/issues/430)|36.20%|Medium|
948 | |429|[N-ary Tree Level Order Traversal](https://github.com/grandyang/leetcode/issues/429)|55.80%|Easy|
949 | |428|[Serialize and Deserialize N-ary Tree](https://github.com/grandyang/leetcode/issues/428) $|48.10%|Hard|
950 | |427|[Construct Quad Tree](https://github.com/grandyang/leetcode/issues/427)|49.20%|Easy|
951 | |426|[Convert Binary Search Tree to Sorted Doubly Linked List](https://github.com/grandyang/leetcode/issues/426)|43.30%|Medium|
952 | |425|[Word Squares](https://github.com/grandyang/leetcode/issues/425) $|40.10%|Hard|
953 | |424|[Longest Repeating Character Replacement](https://github.com/grandyang/leetcode/issues/424)|38.10%|Medium|
954 | |423|[Reconstruct Original Digits from English](https://github.com/grandyang/leetcode/issues/423)|40.80%|Medium|
955 | |422|[Valid Word Square](https://github.com/grandyang/leetcode/issues/422) $|36.40%|Easy|
956 | |421|[Maximum XOR of Two Numbers in an Array](https://github.com/grandyang/leetcode/issues/421)|36.40%|Medium|
957 | |420|[Strong Password Checker](https://github.com/grandyang/leetcode/issues/420)|22.10%|Hard|
958 | |419|[Battleships in a Board](https://github.com/grandyang/leetcode/issues/419)|59.30%|Medium|
959 | |418|[Sentence Screen Fitting](https://github.com/grandyang/leetcode/issues/418) $|25.10%|Medium|
960 | |417|[Pacific Atlantic Water Flow](https://github.com/grandyang/leetcode/issues/417)|31.10%|Medium|
961 | |416|[Partition Equal Subset Sum](https://github.com/grandyang/leetcode/issues/416)|36.80%|Medium|
962 | |415|[Add Strings](https://github.com/grandyang/leetcode/issues/415)|41.50%|Easy|
963 | |414|[Third Maximum Number](https://github.com/grandyang/leetcode/issues/414)|26.50%|Easy|
964 | |413|[Arithmetic Slices](https://github.com/grandyang/leetcode/issues/413)|53.50%|Medium|
965 | |412|[Fizz Buzz](https://github.com/grandyang/leetcode/issues/412)|57.50%|Easy|
966 | |411|[Minimum Unique Word Abbreviation](https://github.com/grandyang/leetcode/issues/411) $|25.60%|Hard|
967 | |410|[Split Array Largest Sum](https://github.com/grandyang/leetcode/issues/410)|25.00%|Hard|
968 | |409|[Longest Palindrome](https://github.com/grandyang/leetcode/issues/409)|44.90%|Easy|
969 | |408|[Valid Word Abbreviation](https://github.com/grandyang/leetcode/issues/408) $|26.20%|Easy|
970 | |407|[Trapping Rain Water II](https://github.com/grandyang/leetcode/issues/407)|33.10%|Hard|
971 | |406|[Queue Reconstruction by Height](https://github.com/grandyang/leetcode/issues/406)|54.10%|Medium|
972 | |405|[Convert a Number to Hexadecimal](https://github.com/grandyang/leetcode/issues/405)|41.80%|Easy|
973 | |404|[Sum of Left Leaves](https://github.com/grandyang/leetcode/issues/404)|46.20%|Easy|
974 | |403|[Frog Jump](https://github.com/grandyang/leetcode/issues/403)|31.70%|Hard|
975 | |402|[Remove K Digits](https://github.com/grandyang/leetcode/issues/402)|25.90%|Medium|
976 | |401|[Binary Watch](https://github.com/grandyang/leetcode/issues/401)|43.00%|Easy|
977 | |400|[Nth Digit](https://github.com/grandyang/leetcode/issues/400)|30.70%|Easy|
978 | |399|[Evaluate Division](https://github.com/grandyang/leetcode/issues/399)|34.60%|Medium|
979 | |398|[Random Pick Index](https://github.com/grandyang/leetcode/issues/398)|30.40%|Medium|
980 | |397|[Integer Replacement](https://github.com/grandyang/leetcode/issues/397)|25.90%|Easy|
981 | |396|[Rotate Function](https://github.com/grandyang/leetcode/issues/396)|28.40%|Easy|
982 | |395|[Longest Substring with At Least K Repeating Characters](https://github.com/grandyang/leetcode/issues/395)|32.50%|Medium|
983 | |394|[Decode String](https://github.com/grandyang/leetcode/issues/394)|38.60%|Medium|
984 | |393|[UTF-8 Validation](https://github.com/grandyang/leetcode/issues/393)|33.00%|Medium|
985 | |392|[Is Subsequence](https://github.com/grandyang/leetcode/issues/392)|44.10%|Medium|
986 | |391|[Perfect Rectangle](https://github.com/grandyang/leetcode/issues/391)|13.30%|Hard|
987 | |390|[Elimination Game](https://github.com/grandyang/leetcode/issues/390)|12.50%|Medium|
988 | |389|[Find the Difference](https://github.com/grandyang/leetcode/issues/389)|49.90%|Easy|
989 | |388|[Longest Absolute File Path](https://github.com/grandyang/leetcode/issues/388)|28.30%|Medium|
990 | |387|[First Unique Character in a String](https://github.com/grandyang/leetcode/issues/387)|43.10%|Easy|
991 | |386|[Lexicographical Numbers](https://github.com/grandyang/leetcode/issues/386)|31.00%|Medium|
992 | |385|[Mini Parser](https://github.com/grandyang/leetcode/issues/385)|26.90%|Medium|
993 | |384|[Shuffle an Array](https://github.com/grandyang/leetcode/issues/384)|45.50%|Medium|
994 | |383|[Ransom Note](https://github.com/grandyang/leetcode/issues/383)|44.60%|Easy|
995 | |382|[Linked List Random Node](https://github.com/grandyang/leetcode/issues/382)|48.60%|Medium|
996 | |381|[Insert Delete GetRandom O(1) - Duplicates allowed](https://github.com/grandyang/leetcode/issues/381)|30.90%|Hard|
997 | |380|[Insert Delete GetRandom O(1)](https://github.com/grandyang/leetcode/issues/380)|33.80%|Medium|
998 | |379|[Design Phone Directory](https://github.com/grandyang/leetcode/issues/379) $|25.80%|Medium|
999 | |378|[Kth Smallest Element in a Sorted Matrix](https://github.com/grandyang/leetcode/issues/378)|40.20%|Medium|
1000 | |377|[Combination Sum IV](https://github.com/grandyang/leetcode/issues/377)|37.50%|Medium|
1001 | |376|[Wiggle Subsequence](https://github.com/grandyang/leetcode/issues/376)|35.80%|Medium|
1002 | |375|[Guess Number Higher or Lower II](https://github.com/grandyang/leetcode/issues/375)|28.30%|Medium|
1003 | |374|[Guess Number Higher or Lower](https://github.com/grandyang/leetcode/issues/374)|31.70%|Easy|
1004 | |373|[Find K Pairs with Smallest Sums](https://github.com/grandyang/leetcode/issues/373)|25.50%|Medium|
1005 | |372|[Super Pow](https://github.com/grandyang/leetcode/issues/372)|30.10%|Medium|
1006 | |371|[Sum of Two Integers](https://github.com/grandyang/leetcode/issues/371)|54.00%|Easy|
1007 | |370|[Range Addition](https://github.com/grandyang/leetcode/issues/370) $|49.90%|Medium|
1008 | |369|[Plus One Linked List](https://github.com/grandyang/leetcode/issues/369) $|50.10%|Medium|
1009 | |368|[Largest Divisible Subset](https://github.com/grandyang/leetcode/issues/368)|32.00%|Medium|
1010 | |367|[Valid Perfect Square](https://github.com/grandyang/leetcode/issues/367)|36.60%|Medium|
1011 | |366|[Find Leaves of Binary Tree](https://github.com/grandyang/leetcode/issues/366) $|53.60%|Medium|
1012 | |365|[Water and Jug Problem](https://github.com/grandyang/leetcode/issues/365)|20.10%|Medium|
1013 | |364|[Nested List Weight Sum II](https://github.com/grandyang/leetcode/issues/364) $|47.20%|Medium|
1014 | |363|[Max Sum of Rectangle No Larger Than K](https://github.com/grandyang/leetcode/issues/363)|27.00%|Hard|
1015 | |362|[Design Hit Counter](https://github.com/grandyang/leetcode/issues/362) $|48.30%|Medium|
1016 | |361|[Bomb Enemy](https://github.com/grandyang/leetcode/issues/361) $|32.60%|Medium|
1017 | |360|[Sort Transformed Array](https://github.com/grandyang/leetcode/issues/360) $|40.80%|Medium|
1018 | |359|[Logger Rate Limiter](https://github.com/grandyang/leetcode/issues/359) $|56.00%|Easy|
1019 | |358|[Rearrange String k Distance Apart](https://github.com/grandyang/leetcode/issues/358) $|26.90%|Hard|
1020 | |357|[Count Numbers with Unique Digits](https://github.com/grandyang/leetcode/issues/357)|42.50%|Medium|
1021 | |356|[Line Reflection](https://github.com/grandyang/leetcode/issues/356) $|28.70%|Medium|
1022 | |355|[Design Twitter](https://github.com/grandyang/leetcode/issues/355)|22.20%|Medium|
1023 | |354|[Russian Doll Envelopes](https://github.com/grandyang/leetcode/issues/354)|27.10%|Hard|
1024 | |353|[Design Snake Game](https://github.com/grandyang/leetcode/issues/353) $|19.80%|Medium|
1025 | |352|[Data Stream as Disjoint Intervals](https://github.com/grandyang/leetcode/issues/352)|34.40%|Hard|
1026 | |351|[Android Unlock Patterns](https://github.com/grandyang/leetcode/issues/351) $|32.00%|Medium|
1027 | |350|[Intersection of Two Arrays II](https://github.com/grandyang/leetcode/issues/350)|41.50%|Easy|
1028 | |349|[Intersection of Two Arrays](https://github.com/grandyang/leetcode/issues/349)|47.80%|Easy|
1029 | |348|[Design Tic-Tac-Toe ](https://github.com/grandyang/leetcode/issues/348) $|45.60%|Medium|
1030 | |347|[Top K Frequent Elements](https://github.com/grandyang/leetcode/issues/347)|44.50%|Medium|
1031 | |346|[Moving Average from Data Stream ](https://github.com/grandyang/leetcode/issues/346) $|69.20%|Easy|
1032 | |345|[Reverse Vowels of a String](https://github.com/grandyang/leetcode/issues/345)|35.30%|Easy|
1033 | |344|[Reverse String](https://github.com/grandyang/leetcode/issues/344)|58.90%|Easy|
1034 | |343|[Integer Break](https://github.com/grandyang/leetcode/issues/343)|43.60%|Medium|
1035 | |342|[Power of Four](https://github.com/grandyang/leetcode/issues/342)|34.10%|Easy|
1036 | |341|[Flatten Nested List Iterator](https://github.com/grandyang/leetcode/issues/341) $|18.70%|Medium|
1037 | |340|[Longest Substring with At Most K Distinct Characters](https://github.com/grandyang/leetcode/issues/340) $|36.30%|Hard|
1038 | |339|[Nested List Weight Sum](https://github.com/grandyang/leetcode/issues/339) $|54.60%|Easy|
1039 | |338|[Counting Bits](https://github.com/grandyang/leetcode/issues/338)|55.40%|Medium|
1040 | |337|[House Robber III](https://github.com/grandyang/leetcode/issues/337)|37.00%|Medium|
1041 | |336|[Palindrome Pairs](https://github.com/grandyang/leetcode/issues/336)|18.70%|Hard|
1042 | |335|[Self Crossing](https://github.com/grandyang/leetcode/issues/335)|18.00%|Medium|
1043 | |334|[Increasing Triplet Subsequence](https://github.com/grandyang/leetcode/issues/334)|33.20%|Medium|
1044 | |333|[Largest BST Subtree](https://github.com/grandyang/leetcode/issues/333) $|26.50%|Medium|
1045 | |332|[Reconstruct Itinerary](https://github.com/grandyang/leetcode/issues/332)|23.40%|Medium|
1046 | |331|[Verify Preorder Serialization of a Binary Tree](https://github.com/grandyang/leetcode/issues/331)|31.50%|Medium|
1047 | |330|[Patching Array](https://github.com/grandyang/leetcode/issues/330)|28.80%|Medium|
1048 | |329|[Longest Increasing Path in a Matrix](https://github.com/grandyang/leetcode/issues/329)|29.50%|Medium|
1049 | |328|[Odd Even Linked List](https://github.com/grandyang/leetcode/issues/328)|37.80%|Easy|
1050 | |327|[Count of Range Sum](https://github.com/grandyang/leetcode/issues/327)|24.30%|Hard|
1051 | |326|[Power of Three](https://github.com/grandyang/leetcode/issues/326)|35.30%|Easy|
1052 | |325|[Maximum Size Subarray Sum Equals k](https://github.com/grandyang/leetcode/issues/325) $|39.60%|Easy|
1053 | |324|[Wiggle Sort II](https://github.com/grandyang/leetcode/issues/324)|20.10%|Medium|
1054 | |323|[Number of Connected Components in an Undirected Graph](https://github.com/grandyang/leetcode/issues/323) $|43.30%|Medium|
1055 | |322|[Coin Change](https://github.com/grandyang/leetcode/issues/322)|24.90%|Medium|
1056 | |321|[Create Maximum Number](https://github.com/grandyang/leetcode/issues/321)|19.10%|Hard|
1057 | |320|[Generalized Abbreviation](https://github.com/grandyang/leetcode/issues/320) $|40.40%|Medium|
1058 | |319|[Bulb Switcher](https://github.com/grandyang/leetcode/issues/319)|39.20%|Medium|
1059 | |318|[Maximum Product of Word Lengths](https://github.com/grandyang/leetcode/issues/318)|38.70%|Medium|
1060 | |317|[Shortest Distance from All Buildings](https://github.com/grandyang/leetcode/issues/317) $|29.10%|Hard|
1061 | |316|[Remove Duplicate Letters](https://github.com/grandyang/leetcode/issues/316)|23.00%|Medium|
1062 | |315|[Count of Smaller Numbers After Self](https://github.com/grandyang/leetcode/issues/315)|28.20%|Hard|
1063 | |314|[Binary Tree Vertical Order Traversal](https://github.com/grandyang/leetcode/issues/314) $|30.10%|Medium|
1064 | |313|[Super Ugly Number](https://github.com/grandyang/leetcode/issues/313)|31.20%|Medium|
1065 | |312|[Burst Balloons](https://github.com/grandyang/leetcode/issues/312)|24.50%|Medium|
1066 | |311|[Sparse Matrix Multiplication](https://github.com/grandyang/leetcode/issues/311) $|40.00%|Medium|
1067 | |310|[Minimum Height Trees](https://github.com/grandyang/leetcode/issues/310)|20.20%|Medium|
1068 | |309|[Best Time to Buy and Sell Stock with Cooldown](https://github.com/grandyang/leetcode/issues/309)|32.60%|Medium|
1069 | |308|[Range Sum Query 2D - Mutable](https://github.com/grandyang/leetcode/issues/308) $|20.30%|Hard|
1070 | |307|[Range Sum Query - Mutable](https://github.com/grandyang/leetcode/issues/307)|14.50%|Medium|
1071 | |306|[Additive Number](https://github.com/grandyang/leetcode/issues/306)|23.30%|Medium|
1072 | |305|[Number of Islands II](https://github.com/grandyang/leetcode/issues/305) $|26.70%|Hard|
1073 | |304|[Range Sum Query 2D - Immutable](https://github.com/grandyang/leetcode/issues/304)|21.50%|Medium|
1074 | |303|[Range Sum Query - Immutable](https://github.com/grandyang/leetcode/issues/303)|25.70%|Easy|
1075 | |302|[Smallest Rectangle Enclosing Black Pixels](https://github.com/grandyang/leetcode/issues/302) $|36.70%|Hard|
1076 | |301|[Remove Invalid Parentheses](https://github.com/grandyang/leetcode/issues/301)|27.00%|Hard|
1077 | |300|[Longest Increasing Subsequence](https://github.com/grandyang/leetcode/issues/300)|31.50%|Medium|
1078 | |299|[Bulls and Cows](https://github.com/grandyang/leetcode/issues/299)|23.80%|Easy|
1079 | |298|[Binary Tree Longest Consecutive Sequence](https://github.com/grandyang/leetcode/issues/298) $|32.20%|Medium|
1080 | |297|[Serialize and Deserialize Binary Tree](https://github.com/grandyang/leetcode/issues/297)|23.80%|Medium|
1081 | |296|[Best Meeting Point](https://github.com/grandyang/leetcode/issues/296) $|41.40%|Hard|
1082 | |295|[Find Median from Data Stream](https://github.com/grandyang/leetcode/issues/295)|18.60%|Hard|
1083 | |294|[Flip Game II](https://github.com/grandyang/leetcode/issues/294) $|38.10%|Medium|
1084 | |293|[Flip Game](https://github.com/grandyang/leetcode/issues/293) $|47.60%|Easy|
1085 | |292|[Nim Game](https://github.com/grandyang/leetcode/issues/292)|49.50%|Easy|
1086 | |291|[Word Pattern II](https://github.com/grandyang/leetcode/issues/291) $|31.50%|Hard|
1087 | |290|[Word Pattern](https://github.com/grandyang/leetcode/issues/290)|26.50%|Easy|
1088 | |289|[Game of Life](https://github.com/grandyang/leetcode/issues/289)|32.60%|Medium|
1089 | |288|[Unique Word Abbreviation](https://github.com/grandyang/leetcode/issues/288) $|16.80%|Easy|
1090 | |287|[Find the Duplicate Number](https://github.com/grandyang/leetcode/issues/287)|32.80%|Hard|
1091 | |286|[Walls and Gates](https://github.com/grandyang/leetcode/issues/286) $|29.90%|Medium|
1092 | |285|[Inorder Successor in BST](https://github.com/grandyang/leetcode/issues/285) $|32.50%|Medium|
1093 | |284|[Peeking Iterator](https://github.com/grandyang/leetcode/issues/284)|31.00%|Medium|
1094 | |283|[Move Zeroes](https://github.com/grandyang/leetcode/issues/283)|41.40%|Easy|
1095 | |282|[Expression Add Operators](https://github.com/grandyang/leetcode/issues/282)|18.90%|Hard|
1096 | |281|[Zigzag Iterator](https://github.com/grandyang/leetcode/issues/281) $|37.20%|Medium|
1097 | |280|[Wiggle Sort](https://github.com/grandyang/leetcode/issues/280) $|43.30%|Medium|
1098 | |279|[Perfect Squares](https://github.com/grandyang/leetcode/issues/279)|28.80%|Medium|
1099 | |278|[First Bad Version](https://github.com/grandyang/leetcode/issues/278)|19.80%|Easy|
1100 | |277|[Find the Celebrity](https://github.com/grandyang/leetcode/issues/277) $|31.70%|Medium|
1101 | |276|[Paint Fence](https://github.com/grandyang/leetcode/issues/276) $|25.00%|Easy|
1102 | |275|[H-Index II](https://github.com/grandyang/leetcode/issues/275)|31.40%|Medium|
1103 | |274|[H-Index](https://github.com/grandyang/leetcode/issues/274)|25.30%|Medium|
1104 | |273|[Integer to English Words](https://github.com/grandyang/leetcode/issues/273)|15.50%|Medium|
1105 | |272|[Closest Binary Search Tree Value II](https://github.com/grandyang/leetcode/issues/272) $|26.90%|Hard|
1106 | |271|[Encode and Decode Strings](https://github.com/grandyang/leetcode/issues/271) $|25.40%|Medium|
1107 | |270|[Closest Binary Search Tree Value](https://github.com/grandyang/leetcode/issues/270) $|29.40%|Easy|
1108 | |269|[Alien Dictionary](https://github.com/grandyang/leetcode/issues/269) $|16.50%|Hard|
1109 | |268|[Missing Number](https://github.com/grandyang/leetcode/issues/268)|34.70%|Medium|
1110 | |267|[Palindrome Permutation II](https://github.com/grandyang/leetcode/issues/267) $|22.50%|Medium|
1111 | |266|[Palindrome Permutation](https://github.com/grandyang/leetcode/issues/266) $|45.80%|Easy|
1112 | |265|[Paint House II](https://github.com/grandyang/leetcode/issues/265) $|30.00%|Hard|
1113 | |264|[Ugly Number II](https://github.com/grandyang/leetcode/issues/264)|21.60%|Medium|
1114 | |263|[Ugly Number](https://github.com/grandyang/leetcode/issues/263)|32.60%|Easy|
1115 | |262|[Trips and Users](https://github.com/grandyang/leetcode/issues/262) *|16.10%|Hard|
1116 | |261|[Graph Valid Tree](https://github.com/grandyang/leetcode/issues/261) $|25.40%|Medium|
1117 | |260|[Single Number III](https://github.com/grandyang/leetcode/issues/260)|37.60%|Medium|
1118 | |259|[3Sum Smaller](https://github.com/grandyang/leetcode/issues/259) $|34.20%|Medium|
1119 | |258|[Add Digits](https://github.com/grandyang/leetcode/issues/258)|46.50%|Easy|
1120 | |257|[Binary Tree Paths](https://github.com/grandyang/leetcode/issues/257)|21.90%|Easy|
1121 | |256|[Paint House](https://github.com/grandyang/leetcode/issues/256) $|38.40%|Medium|
1122 | |255|[Verify Preorder Sequence in Binary Search Tree](https://github.com/grandyang/leetcode/issues/255) $|32.30%|Medium|
1123 | |254|[Factor Combinations](https://github.com/grandyang/leetcode/issues/254) $|29.00%|Medium|
1124 | |253|[Meeting Rooms II](https://github.com/grandyang/leetcode/issues/253) $|28.80%|Medium|
1125 | |252|[Meeting Rooms](https://github.com/grandyang/leetcode/issues/252) $|35.40%|Easy|
1126 | |251|[Flatten 2D Vector](https://github.com/grandyang/leetcode/issues/251) $|28.30%|Medium|
1127 | |250|[Count Univalue Subtrees](https://github.com/grandyang/leetcode/issues/250) $|32.70%|Medium|
1128 | |249|[Group Shifted Strings](https://github.com/grandyang/leetcode/issues/249) $|25.20%|Easy|
1129 | |248|[Strobogrammatic Number III](https://github.com/grandyang/leetcode/issues/248) $|21.80%|Hard|
1130 | |247|[Strobogrammatic Number II](https://github.com/grandyang/leetcode/issues/247) $|26.70%|Medium|
1131 | |246|[Strobogrammatic Number](https://github.com/grandyang/leetcode/issues/246) $|31.60%|Easy|
1132 | |245|[Shortest Word Distance III](https://github.com/grandyang/leetcode/issues/245) $|43.20%|Medium|
1133 | |244|[Shortest Word Distance II](https://github.com/grandyang/leetcode/issues/244) $|33.70%|Medium|
1134 | |243|[Shortest Word Distance](https://github.com/grandyang/leetcode/issues/243) $|41.80%|Easy|
1135 | |242|[Valid Anagram](https://github.com/grandyang/leetcode/issues/242)|39.30%|Easy|
1136 | |241|[Different Ways to Add Parentheses](https://github.com/grandyang/leetcode/issues/241)|27.10%|Medium|
1137 | |240|[Search a 2D Matrix II](https://github.com/grandyang/leetcode/issues/240)|31.40%|Medium|
1138 | |239|[Sliding Window Maximum](https://github.com/grandyang/leetcode/issues/239)|24.30%|Hard|
1139 | |238|[Product of Array Except Self](https://github.com/grandyang/leetcode/issues/238)|42.40%|Medium|
1140 | |237|[Delete Node in a Linked List](https://github.com/grandyang/leetcode/issues/237)|50.90%|Easy|
1141 | |236|[Lowest Common Ancestor of a Binary Tree](https://github.com/grandyang/leetcode/issues/236)|28.30%|Medium|
1142 | |235|[Lowest Common Ancestor of a Binary Search Tree](https://github.com/grandyang/leetcode/issues/235)|38.90%|Medium|
1143 | |234|[Palindrome Linked List](https://github.com/grandyang/leetcode/issues/234)|23.80%|Easy|
1144 | |233|[Number of Digit One](https://github.com/grandyang/leetcode/issues/233)|16.10%|Medium|
1145 | |232|[Implement Queue using Stacks](https://github.com/grandyang/leetcode/issues/232)|37.40%|Easy|
1146 | |231|[Power of Two](https://github.com/grandyang/leetcode/issues/231)|31.30%|Easy|
1147 | |230|[Kth Smallest Element in a BST](https://github.com/grandyang/leetcode/issues/230)|30.50%|Medium|
1148 | |229|[Majority Element II](https://github.com/grandyang/leetcode/issues/229)|30.50%|Medium|
1149 | |228|[Summary Ranges](https://github.com/grandyang/leetcode/issues/228)|21.10%|Easy|
1150 | |227|[Basic Calculator II](https://github.com/grandyang/leetcode/issues/227)|18.00%|Medium|
1151 | |226|[Invert Binary Tree](https://github.com/grandyang/leetcode/issues/226)|35.40%|Easy|
1152 | |225|[Implement Stack using Queues](https://github.com/grandyang/leetcode/issues/225)|29.60%|Medium|
1153 | |224|[Basic Calculator](https://github.com/grandyang/leetcode/issues/224)|15.80%|Medium|
1154 | |223|[Rectangle Area](https://github.com/grandyang/leetcode/issues/223)|25.60%|Easy|
1155 | |222|[Count Complete Tree Nodes](https://github.com/grandyang/leetcode/issues/222)|19.40%|Medium|
1156 | |221|[Maximal Square](https://github.com/grandyang/leetcode/issues/221)|20.30%|Medium|
1157 | |220|[Contains Duplicate III](https://github.com/grandyang/leetcode/issues/220)|15.30%|Medium|
1158 | |219|[Contains Duplicate II](https://github.com/grandyang/leetcode/issues/219)|25.60%|Easy|
1159 | |218|[The Skyline Problem](https://github.com/grandyang/leetcode/issues/218)|16.20%|Hard|
1160 | |217|[Contains Duplicate](https://github.com/grandyang/leetcode/issues/217)|35.90%|Easy|
1161 | |216|[Combination Sum III](https://github.com/grandyang/leetcode/issues/216)|27.70%|Medium|
1162 | |215|[Kth Largest Element in an Array](https://github.com/grandyang/leetcode/issues/215)|27.30%|Medium|
1163 | |214|[Shortest Palindrome](https://github.com/grandyang/leetcode/issues/214)|16.80%|Hard|
1164 | |213|[House Robber II](https://github.com/grandyang/leetcode/issues/213)|26.30%|Medium|
1165 | |212|[Word Search II](https://github.com/grandyang/leetcode/issues/212)|15.00%|Hard|
1166 | |211|[Add and Search Word - Data structure design](https://github.com/grandyang/leetcode/issues/211)|20.70%|Medium|
1167 | |210|[Course Schedule II](https://github.com/grandyang/leetcode/issues/210)|19.30%|Medium|
1168 | |209|[Minimum Size Subarray Sum](https://github.com/grandyang/leetcode/issues/209)|22.90%|Medium|
1169 | |208|[Implement Trie (Prefix Tree)](https://github.com/grandyang/leetcode/issues/208)|24.80%|Medium|
1170 | |207|[Course Schedule](https://github.com/grandyang/leetcode/issues/207)|21.70%|Medium|
1171 | |206|[Reverse Linked List](https://github.com/grandyang/leetcode/issues/206)|31.50%|Easy|
1172 | |205|[Isomorphic Strings](https://github.com/grandyang/leetcode/issues/205)|24.20%|Easy|
1173 | |204|[Count Primes](https://github.com/grandyang/leetcode/issues/204)|19.00%|Easy|
1174 | |203|[Remove Linked List Elements](https://github.com/grandyang/leetcode/issues/203)|25.80%|Easy|
1175 | |202|[Happy Number](https://github.com/grandyang/leetcode/issues/202)|31.40%|Easy|
1176 | |201|[Bitwise AND of Numbers Range](https://github.com/grandyang/leetcode/issues/201)|23.30%|Medium|
1177 | |200|[Number of Islands](https://github.com/grandyang/leetcode/issues/200)|21.90%|Medium|
1178 | |199|[Binary Tree Right Side View](https://github.com/grandyang/leetcode/issues/199)|27.10%|Medium|
1179 | |198|[House Robber](https://github.com/grandyang/leetcode/issues/198)|28.80%|Easy|
1180 | |197|[Rising Temperature](https://github.com/grandyang/leetcode/issues/197) *|25.90%|Easy|
1181 | |196|[Delete Duplicate Emails](https://github.com/grandyang/leetcode/issues/196) *|19.00%|Easy|
1182 | |195|[Tenth Line](https://github.com/grandyang/leetcode/issues/195) #|32.20%|Easy|
1183 | |194|[Transpose File](https://github.com/grandyang/leetcode/issues/194) #|21.40%|Medium|
1184 | |193|[Valid Phone Numbers](https://github.com/grandyang/leetcode/issues/193) #|24.40%|Easy|
1185 | |192|[Word Frequency](https://github.com/grandyang/leetcode/issues/192) #|26.10%|Medium|
1186 | |191|[Number of 1 Bits](https://github.com/grandyang/leetcode/issues/191)|37.30%|Easy|
1187 | |190|[Reverse Bits](https://github.com/grandyang/leetcode/issues/190)|28.40%|Easy|
1188 | |189|[Rotate Array](https://github.com/grandyang/leetcode/issues/189)|17.80%|Easy|
1189 | |188|[Best Time to Buy and Sell Stock IV](https://github.com/grandyang/leetcode/issues/188)|17.30%|Hard|
1190 | |187|[Repeated DNA Sequences](https://github.com/grandyang/leetcode/issues/187)|19.50%|Medium|
1191 | |186|[Reverse Words in a String II](https://github.com/grandyang/leetcode/issues/186) $|31.10%|Medium|
1192 | |185|[Department Top Three Salaries](https://github.com/grandyang/leetcode/issues/185) *|15.20%|Hard|
1193 | |184|[Department Highest Salary](https://github.com/grandyang/leetcode/issues/184) *|19.00%|Medium|
1194 | |183|[Customers Who Never Order](https://github.com/grandyang/leetcode/issues/183) *|33.70%|Easy|
1195 | |182|[Duplicate Emails](https://github.com/grandyang/leetcode/issues/182) *|38.10%|Easy|
1196 | |181|[Employees Earning More Than Their Managers](https://github.com/grandyang/leetcode/issues/181) *|41.00%|Easy|
1197 | |180|[Consecutive Numbers](https://github.com/grandyang/leetcode/issues/180) *|26.60%|Medium|
1198 | |179|[Largest Number](https://github.com/grandyang/leetcode/issues/179)|15.70%|Medium|
1199 | |178|[Rank Scores](https://github.com/grandyang/leetcode/issues/178) *|24.60%|Medium|
1200 | |177|[Nth Highest Salary](https://github.com/grandyang/leetcode/issues/177) *|16.30%|Medium|
1201 | |176|[Second Highest Salary](https://github.com/grandyang/leetcode/issues/176) *|25.00%|Easy|
1202 | |175|[Combine Two Tables](https://github.com/grandyang/leetcode/issues/175) *|34.40%|Easy|
1203 | |174|[Dungeon Game](https://github.com/grandyang/leetcode/issues/174)|17.70%|Hard|
1204 | |173|[Binary Search Tree Iterator](https://github.com/grandyang/leetcode/issues/173)|29.30%|Medium|
1205 | |172|[Factorial Trailing Zeroes](https://github.com/grandyang/leetcode/issues/172)|28.40%|Easy|
1206 | |171|[Excel Sheet Column Number](https://github.com/grandyang/leetcode/issues/171)|36.50%|Easy|
1207 | |170|[Two Sum III - Data structure design](https://github.com/grandyang/leetcode/issues/170) $|24.70%|Easy|
1208 | |169|[Majority Element](https://github.com/grandyang/leetcode/issues/169)|35.00%|Easy|
1209 | |168|[Excel Sheet Column Title](https://github.com/grandyang/leetcode/issues/168)|18.10%|Easy|
1210 | |167|[Two Sum II - Input array is sorted](https://github.com/grandyang/leetcode/issues/167) $|43.30%|Medium|
1211 | |166|[Fraction to Recurring Decimal](https://github.com/grandyang/leetcode/issues/166)|12.70%|Medium|
1212 | |165|[Compare Version Numbers](https://github.com/grandyang/leetcode/issues/165)|15.20%|Easy|
1213 | |164|[Maximum Gap](https://github.com/grandyang/leetcode/issues/164)|24.40%|Hard|
1214 | |163|[Missing Ranges](https://github.com/grandyang/leetcode/issues/163) $|24.10%|Medium|
1215 | |162|[Find Peak Element](https://github.com/grandyang/leetcode/issues/162)|31.50%|Medium|
1216 | |161|[One Edit Distance](https://github.com/grandyang/leetcode/issues/161) $|24.00%|Medium|
1217 | |160|[Intersection of Two Linked Lists](https://github.com/grandyang/leetcode/issues/160)|28.70%|Easy|
1218 | |159|[Longest Substring with At Most Two Distinct Characters](https://github.com/grandyang/leetcode/issues/159) $|30.20%|Hard|
1219 | |158|[Read N Characters Given Read4 II - Call multiple times](https://github.com/grandyang/leetcode/issues/158) $|22.30%|Hard|
1220 | |157|[Read N Characters Given Read4](https://github.com/grandyang/leetcode/issues/157) $|29.80%|Easy|
1221 | |156|[Binary Tree Upside Down](https://github.com/grandyang/leetcode/issues/156) $|34.30%|Medium|
1222 | |155|[Min Stack](https://github.com/grandyang/leetcode/issues/155)|18.50%|Easy|
1223 | |154|[Find Minimum in Rotated Sorted Array II](https://github.com/grandyang/leetcode/issues/154)|31.90%|Hard|
1224 | |153|[Find Minimum in Rotated Sorted Array](https://github.com/grandyang/leetcode/issues/153)|33.30%|Medium|
1225 | |152|[Maximum Product Subarray](https://github.com/grandyang/leetcode/issues/152)|19.40%|Medium|
1226 | |151|[Reverse Words in a String](https://github.com/grandyang/leetcode/issues/151)|15.10%|Medium|
1227 | |150|[Evaluate Reverse Polish Notation](https://github.com/grandyang/leetcode/issues/150)|21.10%|Medium|
1228 | |149|[Max Points on a Line](https://github.com/grandyang/leetcode/issues/149)|12.60%|Hard|
1229 | |148|[Sort List](https://github.com/grandyang/leetcode/issues/148)|22.00%|Medium|
1230 | |147|[Insertion Sort List](https://github.com/grandyang/leetcode/issues/147)|26.40%|Medium|
1231 | |146|[LRU Cache](https://github.com/grandyang/leetcode/issues/146)|15.00%|Hard|
1232 | |145|[Binary Tree Postorder Traversal](https://github.com/grandyang/leetcode/issues/145)|32.40%|Hard|
1233 | |144|[Binary Tree Preorder Traversal](https://github.com/grandyang/leetcode/issues/144)|36.30%|Medium|
1234 | |143|[Reorder List](https://github.com/grandyang/leetcode/issues/143)|21.00%|Medium|
1235 | |142|[Linked List Cycle II](https://github.com/grandyang/leetcode/issues/142)|31.40%|Medium|
1236 | |141|[Linked List Cycle](https://github.com/grandyang/leetcode/issues/141)|36.30%|Medium|
1237 | |140|[Word Break II](https://github.com/grandyang/leetcode/issues/140)|17.70%|Hard|
1238 | |139|[Word Break](https://github.com/grandyang/leetcode/issues/139)|23.00%|Medium|
1239 | |138|[Copy List with Random Pointer](https://github.com/grandyang/leetcode/issues/138)|25.10%|Hard|
1240 | |137|[Single Number II](https://github.com/grandyang/leetcode/issues/137)|35.00%|Medium|
1241 | |136|[Single Number](https://github.com/grandyang/leetcode/issues/136)|45.10%|Medium|
1242 | |135|[Candy](https://github.com/grandyang/leetcode/issues/135)|20.50%|Hard|
1243 | |134|[Gas Station](https://github.com/grandyang/leetcode/issues/134)|25.70%|Medium|
1244 | |133|[Clone Graph](https://github.com/grandyang/leetcode/issues/133)|24.00%|Medium|
1245 | |132|[Palindrome Partitioning II](https://github.com/grandyang/leetcode/issues/132)|19.70%|Hard|
1246 | |131|[Palindrome Partitioning](https://github.com/grandyang/leetcode/issues/131)|26.70%|Medium|
1247 | |130|[Surrounded Regions](https://github.com/grandyang/leetcode/issues/130)|14.60%|Medium|
1248 | |129|[Sum Root to Leaf Numbers](https://github.com/grandyang/leetcode/issues/129)|30.30%|Medium|
1249 | |128|[Longest Consecutive Sequence](https://github.com/grandyang/leetcode/issues/128)|29.40%|Hard|
1250 | |127|[Word Ladder](https://github.com/grandyang/leetcode/issues/127)|19.30%|Medium|
1251 | |126|[Word Ladder II](https://github.com/grandyang/leetcode/issues/126)|12.90%|Hard|
1252 | |125|[Valid Palindrome](https://github.com/grandyang/leetcode/issues/125)|22.00%|Easy|
1253 | |124|[Binary Tree Maximum Path Sum](https://github.com/grandyang/leetcode/issues/124)|21.50%|Hard|
1254 | |123|[Best Time to Buy and Sell Stock III](https://github.com/grandyang/leetcode/issues/123)|23.90%|Hard|
1255 | |122|[Best Time to Buy and Sell Stock II](https://github.com/grandyang/leetcode/issues/122)|38.30%|Medium|
1256 | |121|[Best Time to Buy and Sell Stock](https://github.com/grandyang/leetcode/issues/121)|32.60%|Medium|
1257 | |120|[Triangle](https://github.com/grandyang/leetcode/issues/120)|27.40%|Medium|
1258 | |119|[Pascal's Triangle II](https://github.com/grandyang/leetcode/issues/119)|29.40%|Easy|
1259 | |118|[Pascal's Triangle](https://github.com/grandyang/leetcode/issues/118)|30.10%|Easy|
1260 | |117|[Populating Next Right Pointers in Each Node II](https://github.com/grandyang/leetcode/issues/117)|32.00%|Hard|
1261 | |116|[Populating Next Right Pointers in Each Node](https://github.com/grandyang/leetcode/issues/116)|36.20%|Medium|
1262 | |115|[Distinct Subsequences](https://github.com/grandyang/leetcode/issues/115)|26.30%|Hard|
1263 | |114|[Flatten Binary Tree to Linked List](https://github.com/grandyang/leetcode/issues/114)|28.80%|Medium|
1264 | |113|[Path Sum II](https://github.com/grandyang/leetcode/issues/113)|26.60%|Medium|
1265 | |112|[Path Sum](https://github.com/grandyang/leetcode/issues/112)|29.80%|Easy|
1266 | |111|[Minimum Depth of Binary Tree](https://github.com/grandyang/leetcode/issues/111)|29.10%|Easy|
1267 | |110|[Balanced Binary Tree](https://github.com/grandyang/leetcode/issues/110)|32.00%|Easy|
1268 | |109|[Convert Sorted List to Binary Search Tree](https://github.com/grandyang/leetcode/issues/109)|27.90%|Medium|
1269 | |108|[Convert Sorted Array to Binary Search Tree](https://github.com/grandyang/leetcode/issues/108)|34.00%|Medium|
1270 | |107|[Binary Tree Level Order Traversal II](https://github.com/grandyang/leetcode/issues/107)|31.10%|Easy|
1271 | |106|[Construct Binary Tree from Inorder and Postorder Traversal](https://github.com/grandyang/leetcode/issues/106)|26.80%|Medium|
1272 | |105|[Construct Binary Tree from Preorder and Inorder Traversal](https://github.com/grandyang/leetcode/issues/105)|26.40%|Medium|
1273 | |104|[Maximum Depth of Binary Tree](https://github.com/grandyang/leetcode/issues/104)|45.10%|Easy|
1274 | |103|[Binary Tree Zigzag Level Order Traversal](https://github.com/grandyang/leetcode/issues/103)|26.40%|Medium|
1275 | |102|[Binary Tree Level Order Traversal](https://github.com/grandyang/leetcode/issues/102)|29.30%|Easy|
1276 | |101|[Symmetric Tree](https://github.com/grandyang/leetcode/issues/101)|31.60%|Easy|
1277 | |100|[Same Tree](https://github.com/grandyang/leetcode/issues/100)|41.80%|Easy|
1278 | |99|[Recover Binary Search Tree](https://github.com/grandyang/leetcode/issues/99)|24.30%|Hard|
1279 | |98|[Validate Binary Search Tree](https://github.com/grandyang/leetcode/issues/98)|20.60%|Medium|
1280 | |97|[Interleaving String](https://github.com/grandyang/leetcode/issues/97)|20.80%|Hard|
1281 | |96|[Unique Binary Search Trees](https://github.com/grandyang/leetcode/issues/96)|36.00%|Medium|
1282 | |95|[Unique Binary Search Trees II](https://github.com/grandyang/leetcode/issues/95)|28.00%|Medium|
1283 | |94|[Binary Tree Inorder Traversal](https://github.com/grandyang/leetcode/issues/94)|36.20%|Medium|
1284 | |93|[Restore IP Addresses](https://github.com/grandyang/leetcode/issues/93)|21.00%|Medium|
1285 | |92|[Reverse Linked List II](https://github.com/grandyang/leetcode/issues/92)|26.10%|Medium|
1286 | |91|[Decode Ways](https://github.com/grandyang/leetcode/issues/91)|16.40%|Medium|
1287 | |90|[Subsets II](https://github.com/grandyang/leetcode/issues/90)|27.70%|Medium|
1288 | |89|[Gray Code](https://github.com/grandyang/leetcode/issues/89)|32.80%|Medium|
1289 | |88|[Merge Sorted Array](https://github.com/grandyang/leetcode/issues/88)|29.70%|Easy|
1290 | |87|[Scramble String](https://github.com/grandyang/leetcode/issues/87)|24.20%|Hard|
1291 | |86|[Partition List](https://github.com/grandyang/leetcode/issues/86)|27.50%|Medium|
1292 | |85|[Maximal Rectangle](https://github.com/grandyang/leetcode/issues/85)|22.00%|Hard|
1293 | |84|[Largest Rectangle in Histogram](https://github.com/grandyang/leetcode/issues/84)|22.60%|Hard|
1294 | |83|[Remove Duplicates from Sorted List](https://github.com/grandyang/leetcode/issues/83)|34.50%|Easy|
1295 | |82|[Remove Duplicates from Sorted List II](https://github.com/grandyang/leetcode/issues/82)|25.00%|Medium|
1296 | |81|[Search in Rotated Sorted Array II](https://github.com/grandyang/leetcode/issues/81)|31.40%|Medium|
1297 | |80|[Remove Duplicates from Sorted Array II](https://github.com/grandyang/leetcode/issues/80)|30.50%|Medium|
1298 | |79|[Word Search](https://github.com/grandyang/leetcode/issues/79)|20.30%|Medium|
1299 | |78|[Subsets](https://github.com/grandyang/leetcode/issues/78)|28.20%|Medium|
1300 | |77|[Combinations](https://github.com/grandyang/leetcode/issues/77)|30.90%|Medium|
1301 | |76|[Minimum Window Substring](https://github.com/grandyang/leetcode/issues/76)|18.90%|Hard|
1302 | |75|[Sort Colors](https://github.com/grandyang/leetcode/issues/75)|32.60%|Medium|
1303 | |74|[Search a 2D Matrix](https://github.com/grandyang/leetcode/issues/74)|31.60%|Medium|
1304 | |73|[Set Matrix Zeroes](https://github.com/grandyang/leetcode/issues/73)|31.40%|Medium|
1305 | |72|[Edit Distance](https://github.com/grandyang/leetcode/issues/72)|26.20%|Hard|
1306 | |71|[Simplify Path](https://github.com/grandyang/leetcode/issues/71)|20.00%|Medium|
1307 | |70|[Climbing Stairs](https://github.com/grandyang/leetcode/issues/70)|34.40%|Easy|
1308 | |69|[Sqrt(x)](https://github.com/grandyang/leetcode/issues/69)|23.10%|Medium|
1309 | |68|[Text Justification](https://github.com/grandyang/leetcode/issues/68)|14.60%|Hard|
1310 | |67|[Add Binary](https://github.com/grandyang/leetcode/issues/67)|24.70%|Easy|
1311 | |66|[Plus One](https://github.com/grandyang/leetcode/issues/66)|30.40%|Easy|
1312 | |65|[Valid Number](https://github.com/grandyang/leetcode/issues/65)|11.40%|Hard|
1313 | |64|[Minimum Path Sum](https://github.com/grandyang/leetcode/issues/64)|32.20%|Medium|
1314 | |63|[Unique Paths II](https://github.com/grandyang/leetcode/issues/63)|28.00%|Medium|
1315 | |62|[Unique Paths](https://github.com/grandyang/leetcode/issues/62)|32.80%|Medium|
1316 | |61|[Rotate List](https://github.com/grandyang/leetcode/issues/61)|21.70%|Medium|
1317 | |60|[Permutation Sequence](https://github.com/grandyang/leetcode/issues/60)|22.80%|Medium|
1318 | |59|[Spiral Matrix II](https://github.com/grandyang/leetcode/issues/59)|31.80%|Medium|
1319 | |58|[Length of Last Word](https://github.com/grandyang/leetcode/issues/58)|28.00%|Easy|
1320 | |57|[Insert Interval](https://github.com/grandyang/leetcode/issues/57)|21.40%|Hard|
1321 | |56|[Merge Intervals](https://github.com/grandyang/leetcode/issues/56)|22.40%|Hard|
1322 | |55|[Jump Game](https://github.com/grandyang/leetcode/issues/55)|27.00%|Medium|
1323 | |54|[Spiral Matrix](https://github.com/grandyang/leetcode/issues/54)|20.80%|Medium|
1324 | |53|[Maximum Subarray](https://github.com/grandyang/leetcode/issues/53)|34.50%|Medium|
1325 | |52|[N-Queens II](https://github.com/grandyang/leetcode/issues/52)|35.80%|Hard|
1326 | |51|[N-Queens](https://github.com/grandyang/leetcode/issues/51)|26.50%|Hard|
1327 | |50|[Pow(x, n)](https://github.com/grandyang/leetcode/issues/50)|26.70%|
1328 | |49|[Anagrams](https://github.com/grandyang/leetcode/issues/49)|24.30%|Medium|
1329 | |48|[Rotate Image](https://github.com/grandyang/leetcode/issues/48)|31.90%|Medium|
1330 | |47|[Permutations II](https://github.com/grandyang/leetcode/issues/47)|25.80%|Hard|
1331 | |46|[Permutations](https://github.com/grandyang/leetcode/issues/46)|31.90%|Medium|
1332 | |45|[Jump Game II](https://github.com/grandyang/leetcode/issues/45)|24.20%|Hard|
1333 | |44|[Wildcard Matching](https://github.com/grandyang/leetcode/issues/44)|15.00%|Hard|
1334 | |43|[Multiply Strings](https://github.com/grandyang/leetcode/issues/43)|21.00%|Medium|
1335 | |42|[Trapping Rain Water](https://github.com/grandyang/leetcode/issues/42)|30.00%|Hard|
1336 | |41|[First Missing Positive](https://github.com/grandyang/leetcode/issues/41)|22.90%|Hard|
1337 | |40|[Combination Sum II](https://github.com/grandyang/leetcode/issues/40)|25.20%|Medium|
1338 | |39|[Combination Sum](https://github.com/grandyang/leetcode/issues/39)|27.90%|Medium|
1339 | |38|[Count and Say](https://github.com/grandyang/leetcode/issues/38)|25.20%|Easy|
1340 | |37|[Sudoku Solver](https://github.com/grandyang/leetcode/issues/37)|21.80%|Hard|
1341 | |36|[Valid Sudoku](https://github.com/grandyang/leetcode/issues/36)|27.20%|Easy|
1342 | |35|[Search Insert Position](https://github.com/grandyang/leetcode/issues/35)|35.40%|Medium|
1343 | |34|[Search for a Range](https://github.com/grandyang/leetcode/issues/34)|27.50%|Medium|
1344 | |33|[Search in Rotated Sorted Array](https://github.com/grandyang/leetcode/issues/33)|28.80%|Hard|
1345 | |32|[Longest Valid Parentheses](https://github.com/grandyang/leetcode/issues/32)|20.90%|Hard|
1346 | |31|[Next Permutation](https://github.com/grandyang/leetcode/issues/31)|25.00%|Medium|
1347 | |30|[Substring with Concatenation of All Words](https://github.com/grandyang/leetcode/issues/30)|19.40%|Hard|
1348 | |29|[Divide Two Integers](https://github.com/grandyang/leetcode/issues/29)|15.00%|Medium|
1349 | |28|[Implement strStr()](https://github.com/grandyang/leetcode/issues/28)|22.20%|Easy|
1350 | |27|[Remove Element](https://github.com/grandyang/leetcode/issues/27)|32.10%|Easy|
1351 | |26|[Remove Duplicates from Sorted Array](https://github.com/grandyang/leetcode/issues/26)|31.30%|Easy|
1352 | |25|[Reverse Nodes in k-Group](https://github.com/grandyang/leetcode/issues/25)|25.50%|Hard|
1353 | |24|[Swap Nodes in Pairs](https://github.com/grandyang/leetcode/issues/24)|32.50%|Medium|
1354 | |23|[Merge k Sorted Lists](https://github.com/grandyang/leetcode/issues/23)|21.10%|Hard|
1355 | |22|[Generate Parentheses](https://github.com/grandyang/leetcode/issues/22)|32.60%|Medium|
1356 | |21|[Merge Two Sorted Lists](https://github.com/grandyang/leetcode/issues/21)|32.70%|Easy|
1357 | |20|[Valid Parentheses](https://github.com/grandyang/leetcode/issues/20)|26.50%|Easy|
1358 | |19|[Remove Nth Node From End of List](https://github.com/grandyang/leetcode/issues/19)|27.10%|Easy|
1359 | |18|[4Sum](https://github.com/grandyang/leetcode/issues/18)|21.70%|Medium|
1360 | |17|[Letter Combinations of a Phone Number](https://github.com/grandyang/leetcode/issues/17)|25.80%|Medium|
1361 | |16|[3Sum Closest](https://github.com/grandyang/leetcode/issues/16)|26.90%|Medium|
1362 | |15|[3Sum](https://github.com/grandyang/leetcode/issues/15)|16.90%|Medium|
1363 | |14|[Longest Common Prefix](https://github.com/grandyang/leetcode/issues/14)|25.50%|Easy|
1364 | |13|[Roman to Integer](https://github.com/grandyang/leetcode/issues/13)|34.00%|Easy|
1365 | |12|[Integer to Roman](https://github.com/grandyang/leetcode/issues/12)|33.80%|Medium|
1366 | |11|[Container With Most Water](https://github.com/grandyang/leetcode/issues/11)|32.00%|Medium|
1367 | |10|[Regular Expression Matching](https://github.com/grandyang/leetcode/issues/10)|20.70%|Hard|
1368 | |9|[Palindrome Number](https://github.com/grandyang/leetcode/issues/9)|28.30%|Easy|
1369 | |8|[String to Integer (atoi)](https://github.com/grandyang/leetcode/issues/8)|13.00%|Easy|
1370 | |7|[Reverse Integer](https://github.com/grandyang/leetcode/issues/7)|25.10%|Easy|
1371 | |6|[ZigZag Conversion](https://github.com/grandyang/leetcode/issues/6)|21.80%|Easy|
1372 | |5|[Longest Palindromic Substring](https://github.com/grandyang/leetcode/issues/5)|20.70%|Medium|
1373 | |4|[Median of Two Sorted Arrays](https://github.com/grandyang/leetcode/issues/4)|17.40%|Hard|
1374 | |3|[Longest Substring Without Repeating Characters](https://github.com/grandyang/leetcode/issues/3)|20.60%|Medium|
1375 | |2|[Add Two Numbers](https://github.com/grandyang/leetcode/issues/2)|21.10%|Medium|
1376 | |1|[Two Sum](https://github.com/grandyang/leetcode/issues/1)|17.70%|Medium|
1377 |
1378 |
1379 |
1380 |
1381 |
1382 |
1383 |
1384 |
1385 | ## 微信公众号
1386 |
1387 | 欢迎关注博主的微信公众号,博主会在上面更新最新的解题报告,而且可以加博主微信好友哦~
1388 |
1389 | 
1390 |
1391 |
1392 |
1393 |
1394 | ## iOS 应用 - Leetcode Meet Me
1395 |
1396 | 这个 APP 展示了 LeetCode 上的题目,并且提供了博主自己的解法。
1397 |
1398 | 
1399 |
1400 | ### iOS 应用商店地址:
1401 |
1402 | 已下架,不再提供下载~
1403 |
1404 |
1405 |
1406 |
1407 | ## 微信打赏
1408 |
1409 | 喜欢本项目的朋友们可以扫描下方的二维码进行打赏,大家打赏时请留下微信号哦,可以跟博主加为好友哈,感激万分~
1410 |
1411 | 
1412 |
1413 |
1414 | Q用 Venmo 的朋友们也可以打赏哦,感谢大家的支持~
1415 |
1416 | 
1417 |
1418 |
1419 |
1420 | ## 特别鸣谢
1421 |
1422 | 感谢 [@notfresh](https://github.com/notfresh) 童鞋帮助博主从 [Grandyang博客园](https://www.cnblogs.com/grandyang/) 上提取文章的 Markdown 文本。
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | theme: jekyll-theme-slate
--------------------------------------------------------------------------------
/img/204_sieve_of_Eratosthenes_animation.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/204_sieve_of_Eratosthenes_animation.gif
--------------------------------------------------------------------------------
/img/208_trie.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/208_trie.png
--------------------------------------------------------------------------------
/img/222_full_binary_tree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/222_full_binary_tree.png
--------------------------------------------------------------------------------
/img/407_1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/407_1.jpg
--------------------------------------------------------------------------------
/img/407_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/407_2.jpg
--------------------------------------------------------------------------------
/img/407_3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/407_3.jpg
--------------------------------------------------------------------------------
/img/407_4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/407_4.jpg
--------------------------------------------------------------------------------
/img/407_5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/407_5.jpg
--------------------------------------------------------------------------------
/img/407_6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/407_6.jpg
--------------------------------------------------------------------------------
/img/407_7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/407_7.jpg
--------------------------------------------------------------------------------
/img/407_8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/407_8.jpg
--------------------------------------------------------------------------------
/img/850_showcases.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/850_showcases.png
--------------------------------------------------------------------------------
/img/858_three.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/858_three.png
--------------------------------------------------------------------------------
/img/manacher_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/manacher_1.png
--------------------------------------------------------------------------------
/img/manacher_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/img/manacher_2.png
--------------------------------------------------------------------------------
/leetcode-meet-me.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/leetcode-meet-me.gif
--------------------------------------------------------------------------------
/plugin.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/plugin.gif
--------------------------------------------------------------------------------
/podcast.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/podcast.png
--------------------------------------------------------------------------------
/reward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/reward.png
--------------------------------------------------------------------------------
/shua2sum.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/shua2sum.png
--------------------------------------------------------------------------------
/venmo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/venmo.gif
--------------------------------------------------------------------------------
/venmo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/venmo.png
--------------------------------------------------------------------------------
/wechat-shua2sum.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/grandyang/leetcode/ad07377540c5c9f1dd4dd22339e8029076e2604b/wechat-shua2sum.png
--------------------------------------------------------------------------------