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