# LeetCode All In One      English | [简体中文](./README-CH.md) --- Provide all my solutions and explanations in Chinese for all the Leetcode coding problems. Same as this: [LeetCode All in One 题目讲解汇总(持续更新中...)](https://www.cnblogs.com/grandyang/p/4606334.html) Note: All explanations are written in Github Issues, **please do not create any new issue in this project since the problem index should be consistent with the issue index**, thanks! ('$' means the problem is locked on Leetcode, '*' means the problem is related to Database, '#' means the problem is related to Shell.) | # | Title | Solution | Difficulty | |---| ----- | -------- | ---------- | |880|[Decoded String at Index](https://github.com/grandyang/LeetCode-All-In-One/issues/880)|23.00%|Medium| |879|Profitable Schemes|36.20%|Hard| |878|Nth Magical Number|25.40%|Hard| |877|[Stone Game](https://github.com/grandyang/LeetCode-All-In-One/issues/877)|61.10%|Medium| |876|[Middle of the Linked List](https://github.com/grandyang/LeetCode-All-In-One/issues/876)|63.80%|Easy| |875|[Koko Eating Bananas](https://github.com/grandyang/LeetCode-All-In-One/issues/875)|45.90%|Medium| |874|[Walking Robot Simulation](https://github.com/grandyang/LeetCode-All-In-One/issues/874)|31.70%|Easy| |873|[Length of Longest Fibonacci Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/873)|46.00%|Medium| |872|[Leaf-Similar Trees](https://github.com/grandyang/LeetCode-All-In-One/issues/872)|63.10%|Easy| |871|Minimum Number of Refueling Stops|28.70%|Hard| |870|[Advantage Shuffle](https://github.com/grandyang/LeetCode-All-In-One/issues/870)|42.20%|Medium| |869|[Reordered Power of 2](https://github.com/grandyang/LeetCode-All-In-One/issues/869)|50.60%|Medium| |868|[Binary Gap](https://github.com/grandyang/LeetCode-All-In-One/issues/868)|59.30%|Easy| |867|[Transpose Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/867)|63.90%|Easy| |866|[Prime Palindrome](https://github.com/grandyang/LeetCode-All-In-One/issues/866)|20.00%|Medium| |865|[Smallest Subtree with all the Deepest Nodes](https://github.com/grandyang/LeetCode-All-In-One/issues/865)|55.40%|Medium| |864|Shortest Path to Get All Keys|35.70%|Hard| |863|[All Nodes Distance K in Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/863)|46.80%|Medium| |862|Shortest Subarray with Sum at Least K|22.00%|Hard| |861|[Score After Flipping Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/861)|69.30%|Medium| |860|[Lemonade Change](https://github.com/grandyang/LeetCode-All-In-One/issues/860)|50.20%|Easy| |859|[Buddy Strings](https://github.com/grandyang/LeetCode-All-In-One/issues/859)|27.60%|Easy| |858|[Mirror Reflection](https://github.com/grandyang/LeetCode-All-In-One/issues/858)|52.00%|Medium| |857|Minimum Cost to Hire K Workers|47.30%|Hard| |856|[Score of Parentheses](https://github.com/grandyang/LeetCode-All-In-One/issues/856)|55.90%|Medium| |855|[Exam Room](https://github.com/grandyang/LeetCode-All-In-One/issues/855)|38.10%|Medium| |854|K-Similar Strings|33.20%|Hard| |853|[Car Fleet](https://github.com/grandyang/LeetCode-All-In-One/issues/853)|39.30%|Medium| |852|[Peak Index in a Mountain Array](https://github.com/grandyang/LeetCode-All-In-One/issues/852)|68.50%|Easy| |851|[Loud and Rich](https://github.com/grandyang/LeetCode-All-In-One/issues/851)|47.40%|Medium| |850|Rectangle Area II|44.00%|Hard| |849|[Maximize Distance to Closest Person](https://github.com/grandyang/LeetCode-All-In-One/issues/849)|40.40%|Easy| |848|[Shifting Letters](https://github.com/grandyang/LeetCode-All-In-One/issues/848)|39.90%|Medium| |847|Shortest Path Visiting All Nodes|45.90%|Hard| |846|[Hand of Straights](https://github.com/grandyang/LeetCode-All-In-One/issues/846)|48.60%|Medium| |845|[Longest Mountain in Array](https://github.com/grandyang/LeetCode-All-In-One/issues/845)|34.00%|Medium| |844|[Backspace String Compare](https://github.com/grandyang/LeetCode-All-In-One/issues/844)|45.50%|Easy| |843|Guess the Word|42.60%|Hard| |842|[Split Array into Fibonacci Sequence](https://github.com/grandyang/LeetCode-All-In-One/issues/842)|34.60%|Medium| |841|[Keys and Rooms](https://github.com/grandyang/LeetCode-All-In-One/issues/841)|59.70%|Medium| |840|[Magic Squares In Grid](https://github.com/grandyang/LeetCode-All-In-One/issues/840)|35.10%|Easy| |839|Similar String Groups|33.50%|Hard| |838|[Push Dominoes](https://github.com/grandyang/LeetCode-All-In-One/issues/838)|42.80%|Medium| |837|[New 21 Game](https://github.com/grandyang/LeetCode-All-In-One/issues/837)|29.50%|Medium| |836|[Rectangle Overlap](https://github.com/grandyang/LeetCode-All-In-One/issues/836)|45.50%|Easy| |835|[Image Overlap](https://github.com/grandyang/LeetCode-All-In-One/issues/835)|50.30%|Medium| |834|Sum of Distances in Tree|38.10%|Hard| |833|[Find And Replace in String](https://github.com/grandyang/LeetCode-All-In-One/issues/833)|44.50%|Medium| |832|[Flipping an Image](https://github.com/grandyang/LeetCode-All-In-One/issues/832)|71.30%|Easy| |831|[Masking Personal Information](https://github.com/grandyang/LeetCode-All-In-One/issues/831)|41.50%|Medium| |830|[Positions of Large Groups](https://github.com/grandyang/LeetCode-All-In-One/issues/830)|47.40%|Easy| |829|Consecutive Numbers Sum|32.10%|Hard| |828|Unique Letter String|38.10%|Hard| |827|Making A Large Island|42.10%|Hard| |826|[Most Profit Assigning Work](https://github.com/grandyang/LeetCode-All-In-One/issues/826)|34.70%|Medium| |825|[Friends Of Appropriate Ages](https://github.com/grandyang/LeetCode-All-In-One/issues/825)|35.00%|Medium| |824|[Goat Latin](https://github.com/grandyang/LeetCode-All-In-One/issues/824)|56.70%|Easy| |823|[Binary Trees With Factors](https://github.com/grandyang/LeetCode-All-In-One/issues/823)|31.50%|Medium| |822|[Card Flipping Game](https://github.com/grandyang/LeetCode-All-In-One/issues/822)|39.70%|Medium| |821|[Shortest Distance to a Character](https://github.com/grandyang/LeetCode-All-In-One/issues/821)|62.60%|Easy| |820|[Short Encoding of Words](https://github.com/grandyang/LeetCode-All-In-One/issues/820)|46.00%|Medium| |819|[Most Common Word](https://github.com/grandyang/LeetCode-All-In-One/issues/819)|41.50%|Easy| |818|[Race Car](https://github.com/grandyang/LeetCode-All-In-One/issues/818)|34.00%|Hard| |817|[Linked List Components](https://github.com/grandyang/LeetCode-All-In-One/issues/817)|51.90%|Medium| |816|[Ambiguous Coordinates](https://github.com/grandyang/LeetCode-All-In-One/issues/816)|42.40%|Medium| |815|[Bus Routes](https://github.com/grandyang/LeetCode-All-In-One/issues/815)|36.10%|Hard| |814|[Binary Tree Pruning](https://github.com/grandyang/LeetCode-All-In-One/issues/814)|68.30%|Medium| |813|[Largest Sum of Averages](https://github.com/grandyang/LeetCode-All-In-One/issues/813)|42.40%|Medium| |812|[Largest Triangle Area](https://github.com/grandyang/LeetCode-All-In-One/issues/812)|53.80%|Easy| |811|[Subdomain Visit Count](https://github.com/grandyang/LeetCode-All-In-One/issues/811)|61.50%|Easy| |810|[Chalkboard XOR Game](https://github.com/grandyang/LeetCode-All-In-One/issues/810)|41.90%|Hard| |809|[Expressive Words](https://github.com/grandyang/LeetCode-All-In-One/issues/809)|39.50%|Medium| |808|[Soup Servings](https://github.com/grandyang/LeetCode-All-In-One/issues/808)|33.60%|Medium| |807|[Max Increase to Keep City Skyline](https://github.com/grandyang/LeetCode-All-In-One/issues/807)|79.60%|Medium| |806|[Number of Lines To Write String](https://github.com/grandyang/LeetCode-All-In-One/issues/806)|62.10%|Easy| |805|[Split Array With Same Average](https://github.com/grandyang/LeetCode-All-In-One/issues/805)|21.00%|Hard| |804|[Unique Morse Code Words](https://github.com/grandyang/LeetCode-All-In-One/issues/804)|71.30%|Easy| |803|[Bricks Falling When Hit](https://github.com/grandyang/LeetCode-All-In-One/issues/803)|22.90%|Hard| |802|[Find Eventual Safe States](https://github.com/grandyang/LeetCode-All-In-One/issues/802)|39.20%|Medium| |801|[Minimum Swaps To Make Sequences Increasing](https://github.com/grandyang/LeetCode-All-In-One/issues/801)|31.00%|Medium| |800|[Similar RGB Color](https://github.com/grandyang/LeetCode-All-In-One/issues/800) $|54.50%|Easy| |799|[Champagne Tower](https://github.com/grandyang/LeetCode-All-In-One/issues/799)|29.90%|Medium| |798|[Smallest Rotation with Highest Score](https://github.com/grandyang/LeetCode-All-In-One/issues/798)|34.30%|Hard| |797|[All Paths From Source to Target](https://github.com/grandyang/LeetCode-All-In-One/issues/797)|67.40%|Medium| |796|[Rotate String](https://github.com/grandyang/LeetCode-All-In-One/issues/796)|49.60%|Easy| |795|[Number of Subarrays with Bounded Maximum](https://github.com/grandyang/LeetCode-All-In-One/issues/795)|41.60%|Medium| |794|[Valid Tic-Tac-Toe State](https://github.com/grandyang/LeetCode-All-In-One/issues/794)|27.80%|Medium| |793|[Preimage Size of Factorial Zeroes Function](https://github.com/grandyang/LeetCode-All-In-One/issues/793)|40.80%|Hard| |792|[Number of Matching Subsequences](https://github.com/grandyang/LeetCode-All-In-One/issues/792)|37.30%|Medium| |791|[Custom Sort String](https://github.com/grandyang/LeetCode-All-In-One/issues/791)|59.40%|Medium| |790|[Domino and Tromino Tiling](https://github.com/grandyang/LeetCode-All-In-One/issues/790)|32.80%|Medium| |789|[Escape The Ghosts](https://github.com/grandyang/LeetCode-All-In-One/issues/789)|51.00%|Medium| |788|[Rotated Digits](https://github.com/grandyang/LeetCode-All-In-One/issues/788)|51.00%|Easy| |787|[Cheapest Flights Within K Stops](https://github.com/grandyang/LeetCode-All-In-One/issues/787)|29.90%|Medium| |786|[K-th Smallest Prime Fraction](https://github.com/grandyang/LeetCode-All-In-One/issues/786)|32.50%|Hard| |785|[Is Graph Bipartite](https://github.com/grandyang/LeetCode-All-In-One/issues/785)|38.50%|Medium| |784|[Letter Case Permutation](https://github.com/grandyang/LeetCode-All-In-One/issues/784)|53.00%|Easy| |783|[Minimum Distance Between BST Nodes](https://github.com/grandyang/LeetCode-All-In-One/issues/783)|47.80%|Easy| |782|[Transform to Chessboard](https://github.com/grandyang/LeetCode-All-In-One/issues/782)|37.50%|Hard| |781|[Rabbits in Forest](https://github.com/grandyang/LeetCode-All-In-One/issues/781)|49.80%|Medium| |780|[Reaching Points](https://github.com/grandyang/LeetCode-All-In-One/issues/780)|23.90%|Hard| |779|[K-th Symbol in Grammar](https://github.com/grandyang/LeetCode-All-In-One/issues/779)|37.30%|Medium| |778|[Swim in Rising Water](https://github.com/grandyang/LeetCode-All-In-One/issues/778)|44.60%|Hard| |777|[Swap Adjacent in LR String](https://github.com/grandyang/LeetCode-All-In-One/issues/777)|28.90%|Medium| |776|[Split BST](https://github.com/grandyang/LeetCode-All-In-One/issues/776) $|49.90%|Medium| |775|[Global and Local Inversions](https://github.com/grandyang/LeetCode-All-In-One/issues/775)|33.60%|Medium| |774|[Minimize Max Distance to Gas Station](https://github.com/grandyang/LeetCode-All-In-One/issues/774) $|32.80%|Hard| |773|[Sliding Puzzle](https://github.com/grandyang/LeetCode-All-In-One/issues/773)|46.50%|Hard| |772|[Basic Calculator III](https://github.com/grandyang/LeetCode-All-In-One/issues/772) $|40.10%|Hard| |771|[Jewels and Stones](https://github.com/grandyang/LeetCode-All-In-One/issues/771)|81.90%|Easy| |770|Basic Calculator IV|42.10%|Hard| |769|[Max Chunks To Make Sorted](https://github.com/grandyang/LeetCode-All-In-One/issues/769)|48.00%|Medium| |768|[Max Chunks To Make Sorted II](https://github.com/grandyang/LeetCode-All-In-One/issues/768)|43.20%|Hard| |767|[Reorganize String](https://github.com/grandyang/LeetCode-All-In-One/issues/767)|36.50%|Medium| |766|[Toeplitz Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/766)|57.90%|Easy| |765|[Couples Holding Hands](https://github.com/grandyang/LeetCode-All-In-One/issues/765)|48.50%|Hard| |764|[Largest Plus Sign](https://github.com/grandyang/LeetCode-All-In-One/issues/764)|39.20%|Medium| |763|[Partition Labels](https://github.com/grandyang/LeetCode-All-In-One/issues/763)|64.10%|Medium| |762|[Prime Number of Set Bits in Binary Representation](https://github.com/grandyang/LeetCode-All-In-One/issues/762)|55.00%|Easy| |761|[Special Binary String](https://github.com/grandyang/LeetCode-All-In-One/issues/761)|41.00%|Hard| |760|[Find Anagram Mappings](https://github.com/grandyang/LeetCode-All-In-One/issues/760) $|75.60%|Easy| |759|[Employee Free Time](https://github.com/grandyang/LeetCode-All-In-One/issues/759) $|51.90%|Hard| |758|[Bold Words in String](https://github.com/grandyang/LeetCode-All-In-One/issues/758) $|37.90%|Easy| |757|[Set Intersection Size At Least Two](https://github.com/grandyang/LeetCode-All-In-One/issues/757)|34.60%|Hard| |756|[Pyramid Transition Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/756)|45.50%|Medium| |755|[Pour Water](https://github.com/grandyang/LeetCode-All-In-One/issues/755) $|34.00%|Medium| |754|[Reach a Number](https://github.com/grandyang/LeetCode-All-In-One/issues/754)|26.10%|Medium| |753|[Cracking the Safe](https://github.com/grandyang/LeetCode-All-In-One/issues/753)|39.70%|Hard| |752|[Open the Lock](https://github.com/grandyang/LeetCode-All-In-One/issues/752)|38.20%|Medium| |751|[IP to CIDR](https://github.com/grandyang/LeetCode-All-In-One/issues/751) $|54.80%|Easy| |750|[Number Of Corner Rectangles](https://github.com/grandyang/LeetCode-All-In-One/issues/750) $|51.00%|Medium| |749|[Contain Virus](https://github.com/grandyang/LeetCode-All-In-One/issues/749)|39.60%|Hard| |748|[Shortest Completing Word](https://github.com/grandyang/LeetCode-All-In-One/issues/748)|53.50%|Medium| |747|[Largest Number At Least Twice of Others](https://github.com/grandyang/LeetCode-All-In-One/issues/747)|42.60%|Easy| |746|[Min Cost Climbing Stairs](https://github.com/grandyang/LeetCode-All-In-One/issues/746)|43.60%|Easy| |745|[Prefix and Suffix Search](https://github.com/grandyang/LeetCode-All-In-One/issues/745)|24.50%|Hard| |744|[Find Smallest Letter Greater Than Target](https://github.com/grandyang/LeetCode-All-In-One/issues/744)|45.30%|Easy| |743|[Network Delay Time](https://github.com/grandyang/LeetCode-All-In-One/issues/743)|34.30%|Medium| |742|[Closest Leaf in a Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/742) $|33.20%|Medium| |741|[Cherry Pickup](https://github.com/grandyang/LeetCode-All-In-One/issues/741)|22.50%|Hard| |740|[Delete and Earn](https://github.com/grandyang/LeetCode-All-In-One/issues/740)|42.60%|Medium| |739|[Daily Temperatures](https://github.com/grandyang/LeetCode-All-In-One/issues/739)|53.50%|Medium| |738|[Monotone Increasing Digits](https://github.com/grandyang/LeetCode-All-In-One/issues/738)|41.80%|Medium| |737|[Sentence Similarity II](https://github.com/grandyang/LeetCode-All-In-One/issues/737) $|41.20%|Medium| |736|[Parse Lisp Expression](https://github.com/grandyang/LeetCode-All-In-One/issues/736)|42.00%|Hard| |735|[Asteroid Collision](https://github.com/grandyang/LeetCode-All-In-One/issues/735)|37.60%|Medium| |734|[Sentence Similarity](https://github.com/grandyang/LeetCode-All-In-One/issues/734) $|38.60%|Easy| |733|[Flood Fill](https://github.com/grandyang/LeetCode-All-In-One/issues/733)|49.30%|Easy| |732|[My Calendar III](https://github.com/grandyang/LeetCode-All-In-One/issues/732)|51.30%|Hard| |731|[My Calendar II](https://github.com/grandyang/LeetCode-All-In-One/issues/731)|35.00%|Medium| |730|[Count Different Palindromic Subsequences](https://github.com/grandyang/LeetCode-All-In-One/issues/730)|32.40%|Hard| |729|[My Calendar I](https://github.com/grandyang/LeetCode-All-In-One/issues/729)|40.10%|Medium| |728|[Self Dividing Numbers](https://github.com/grandyang/LeetCode-All-In-One/issues/728)|68.50%|Easy| |727|[Minimum Window Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/727)|30.10%|Hard| |726|[Number of Atoms](https://github.com/grandyang/LeetCode-All-In-One/issues/726)|45.00%|Hard| |725|[Split Linked List in Parts](https://github.com/grandyang/LeetCode-All-In-One/issues/725)|50.00%|Medium| |724|[Find Pivot Index](https://github.com/grandyang/LeetCode-All-In-One/issues/724)|41.00%|Easy| |723|[Candy Crush](https://github.com/grandyang/LeetCode-All-In-One/issues/723) $|56.10%|Medium| |722|[Remove Comments](https://github.com/grandyang/LeetCode-All-In-One/issues/722)|26.30%|Medium| |721|[Accounts Merge](https://github.com/grandyang/LeetCode-All-In-One/issues/721)|29.60%|Medium| |720|[Longest Word in Dictionary](https://github.com/grandyang/LeetCode-All-In-One/issues/720)|40.60%|Easy| |719|[Find K-th Smallest Pair Distance](https://github.com/grandyang/LeetCode-All-In-One/issues/719)|26.10%|Hard| |718|[Maximum Length of Repeated Subarray](https://github.com/grandyang/LeetCode-All-In-One/issues/718)|39.90%|Medium| |717|[1-bit and 2-bit Characters](https://github.com/grandyang/LeetCode-All-In-One/issues/717)|50.90%|Easy| |716|[Max Stack](https://github.com/grandyang/LeetCode-All-In-One/issues/716) $|35.50%|Hard| |715|[Range Module](https://github.com/grandyang/LeetCode-All-In-One/issues/715)|31.00%|Hard| |714|[Best Time to Buy and Sell Stock with Transaction Fee](https://github.com/grandyang/LeetCode-All-In-One/issues/714)|41.60%|Medium| |713|[Subarray Product Less Than K](https://github.com/grandyang/LeetCode-All-In-One/issues/713)|32.90%|Medium| |712|[Minimum ASCII Delete Sum for Two Strings](https://github.com/grandyang/LeetCode-All-In-One/issues/712)|50.90%|Medium| |711|[Number of Distinct Islands II](https://github.com/grandyang/LeetCode-All-In-One/issues/711) $|39.40%|Hard| |710|[Random Pick with Blacklist](https://github.com/grandyang/LeetCode-All-In-One/issues/710)|29.80%|Hard| |709|[To Lower Case](https://github.com/grandyang/LeetCode-All-In-One/issues/709)|74.50%|Easy| |708|[Insert into a Cyclic Sorted List](https://github.com/grandyang/LeetCode-All-In-One/issues/708) $|25.50%|Medium| |707|[Design Linked List](https://github.com/grandyang/LeetCode-All-In-One/issues/707)|19.10%|Easy| |706|[Design HashMap](https://github.com/grandyang/LeetCode-All-In-One/issues/706)|49.10%|Easy| |705|[Design HashSet](https://github.com/grandyang/LeetCode-All-In-One/issues/705)|43.60%|Easy| |704|[Binary Search](https://github.com/grandyang/LeetCode-All-In-One/issues/704)|40.10%|Easy| |703|[Kth Largest Element in a Stream](https://github.com/grandyang/LeetCode-All-In-One/issues/703)|39.60%|Easy| |702|[Search in a Sorted Array of Unknown Size](https://github.com/grandyang/LeetCode-All-In-One/issues/702)|43.00%|Medium| |701|[Insert into a Binary Search Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/701)|67.90%|Medium| |700|[Search in a Binary Search Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/700)|62.70%|Easy| |699|[Falling Squares](https://github.com/grandyang/LeetCode-All-In-One/issues/699)|36.80%|Hard| |698|[Partition to K Equal Sum Subsets](https://github.com/grandyang/LeetCode-All-In-One/issues/698)|35.60%|Medium| |697|[Degree of an Array](https://github.com/grandyang/LeetCode-All-In-One/issues/697)|47.90%|Easy| |696|[Count Binary Substrings](https://github.com/grandyang/LeetCode-All-In-One/issues/696)|51.90%|Easy| |695|[Max Area of Island](https://github.com/grandyang/LeetCode-All-In-One/issues/695)|53.30%|Easy| |694|[Number of Distinct Islands](https://github.com/grandyang/LeetCode-All-In-One/issues/694) $|43.90%|Medium| |693|[Binary Number with Alternating Bits](https://github.com/grandyang/LeetCode-All-In-One/issues/693)|54.20%|Easy| |692|[Top K Frequent Words](https://github.com/grandyang/LeetCode-All-In-One/issues/692)|41.70%|Medium| |691|[Stickers to Spell Word](https://github.com/grandyang/LeetCode-All-In-One/issues/691)|32.30%|Hard| |690|[Employee Importance](https://github.com/grandyang/LeetCode-All-In-One/issues/690)|53.60%|Easy| |689|[Maximum Sum of 3 Non-Overlapping Subarrays](https://github.com/grandyang/LeetCode-All-In-One/issues/689)|41.70%|Hard| |688|[Knight Probability in Chessboard](https://github.com/grandyang/LeetCode-All-In-One/issues/688)|38.90%|Medium| |687|[Longest Univalue Path](https://github.com/grandyang/LeetCode-All-In-One/issues/687)|32.90%|Easy| |686|[Repeated String Match](https://github.com/grandyang/LeetCode-All-In-One/issues/686)|31.70%|Easy| |685|[Redundant Connection II](https://github.com/grandyang/LeetCode-All-In-One/issues/685)|28.40%|Hard| |684|[Redundant Connection](https://github.com/grandyang/LeetCode-All-In-One/issues/684)|37.40%|Medium| |683|[K Empty Slots](https://github.com/grandyang/LeetCode-All-In-One/issues/683)|37.00%|Hard| |682|[Baseball Game](https://github.com/grandyang/LeetCode-All-In-One/issues/682)|58.60%|Easy| |681|[Next Closest Time](https://github.com/grandyang/LeetCode-All-In-One/issues/681) $|43.00%|Medium| |680|[Valid Palindrome II](https://github.com/grandyang/LeetCode-All-In-One/issues/680)|31.10%|Easy| |679|[24 Game](https://github.com/grandyang/LeetCode-All-In-One/issues/679)|38.30%|Hard| |678|[Valid Parenthesis String](https://github.com/grandyang/LeetCode-All-In-One/issues/678)|28.30%|Medium| |677|[Map Sum Pairs](https://github.com/grandyang/LeetCode-All-In-One/issues/677)|53.80%|Medium| |676|[Implement Magic Dictionary](https://github.com/grandyang/LeetCode-All-In-One/issues/676)|50.70%|Medium| |675|[Cut Off Trees for Golf Event](https://github.com/grandyang/LeetCode-All-In-One/issues/675)|27.20%|Hard| |674|[Longest Continuous Increasing Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/674)|43.20%|Easy| |673|[Number of Longest Increasing Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/673)|30.80%|Medium| |672|[Bulb Switcher II](https://github.com/grandyang/LeetCode-All-In-One/issues/672)|47.60%|Medium| |671|[Second Minimum Node In a Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/671)|42.30%|Easy| |670|[Maximum Swap](https://github.com/grandyang/LeetCode-All-In-One/issues/670)|38.40%|Medium| |669|[Trim a Binary Search Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/669)|58.70%|Easy| |668|[Kth Smallest Number in Multiplication Table](https://github.com/grandyang/LeetCode-All-In-One/issues/668)|36.30%|Hard| |667|[Beautiful Arrangement II](https://github.com/grandyang/LeetCode-All-In-One/issues/667)|51.50%|Medium| |666|[Path Sum IV](https://github.com/grandyang/LeetCode-All-In-One/issues/666) $|48.90%|Medium| |665|[Non-decreasing Array](https://github.com/grandyang/LeetCode-All-In-One/issues/665)|21.20%|Easy| |664|[Strange Printer](https://github.com/grandyang/LeetCode-All-In-One/issues/664)|31.10%|Hard| |663|[Equal Tree Partition](https://github.com/grandyang/LeetCode-All-In-One/issues/663) $|36.70%|Medium| |662|[Maximum Width of Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/662)|37.00%|Medium| |661|[Image Smoother](https://github.com/grandyang/LeetCode-All-In-One/issues/661)|46.60%|Easy| |660|[Remove 9](https://github.com/grandyang/LeetCode-All-In-One/issues/660) $|46.10%|Hard| |659|[Split Array into Consecutive Subsequences](https://github.com/grandyang/LeetCode-All-In-One/issues/659)|39.40%|Medium| |658|[Find K Closest Elements](https://github.com/grandyang/LeetCode-All-In-One/issues/658)|36.30%|Medium| |657|[Judge Route Circle](https://github.com/grandyang/LeetCode-All-In-One/issues/657)|69.30%|Easy| |656|[Coin Path](https://github.com/grandyang/LeetCode-All-In-One/issues/656) $|24.60%|Hard| |655|[Print Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/655)|50.80%|Medium| |654|[Maximum Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/654)|70.80%|Medium| |653|[Two Sum IV - Input is a BST](https://github.com/grandyang/LeetCode-All-In-One/issues/653)|50.60%|Easy| |652|[Find Duplicate Subtrees](https://github.com/grandyang/LeetCode-All-In-One/issues/652)|33.20%|Medium| |651|[4 Keys Keyboard](https://github.com/grandyang/LeetCode-All-In-One/issues/651) $|46.70%|Medium| |650|[2 Keys Keyboard](https://github.com/grandyang/LeetCode-All-In-One/issues/650)|42.70%|Medium| |649|[Dota2 Senate](https://github.com/grandyang/LeetCode-All-In-One/issues/649)|35.60%|Medium| |648|[Replace Words](https://github.com/grandyang/LeetCode-All-In-One/issues/648)|48.40%|Medium| |647|[Palindromic Substrings](https://github.com/grandyang/LeetCode-All-In-One/issues/647)|55.70%|Medium| |646|[Maximum Length of Pair Chain](https://github.com/grandyang/LeetCode-All-In-One/issues/646)|47.40%|Medium| |645|[Set Mismatch](https://github.com/grandyang/LeetCode-All-In-One/issues/645)|40.40%|Easy| |644|[Maximum Average Subarray II](https://github.com/grandyang/LeetCode-All-In-One/issues/644) $|20.30%|Hard| |643|[Maximum Average Subarray I](https://github.com/grandyang/LeetCode-All-In-One/issues/643)|38.40%|Easy| |642|[Design Search Autocomplete System](https://github.com/grandyang/LeetCode-All-In-One/issues/642) $|29.40%|Hard| |641|[Design Circular Deque](https://github.com/grandyang/LeetCode-All-In-One/issues/641)|48.00%|Medium| |640|[Solve the Equation](https://github.com/grandyang/LeetCode-All-In-One/issues/640)|39.00%|Medium| |639|[Decode Ways II](https://github.com/grandyang/LeetCode-All-In-One/issues/639)|22.80%|Hard| |638|[Shopping Offers](https://github.com/grandyang/LeetCode-All-In-One/issues/638)|41.50%|Medium| |637|[Average of Levels in Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/637)|55.60%|Easy| |636|[Exclusive Time of Functions](https://github.com/grandyang/LeetCode-All-In-One/issues/636)|40.30%|Medium| |635|[Design Log Storage System](https://github.com/grandyang/LeetCode-All-In-One/issues/635) $|47.70%|Medium| |634|[Find the Derangement of An Array](https://github.com/grandyang/LeetCode-All-In-One/issues/634) $|32.70%|Medium| |633|[Sum of Square Numbers](https://github.com/grandyang/LeetCode-All-In-One/issues/633)|31.60%|Easy| |632|[Smallest Range](https://github.com/grandyang/LeetCode-All-In-One/issues/632)|42.80%|Hard| |631|[Design Excel Sum Formula](https://github.com/grandyang/LeetCode-All-In-One/issues/631) $|25.60%|Hard| |630|[Course Schedule III](https://github.com/grandyang/LeetCode-All-In-One/issues/630)|20.50%|Medium| |629|[K Inverse Pairs Array](https://github.com/grandyang/LeetCode-All-In-One/issues/629)|23.90%|Hard| |628|[Maximum Product of Three Numbers](https://github.com/grandyang/LeetCode-All-In-One/issues/628)|45.40%|Easy| |627|Swap Salary|67.40%|Easy| |626|Exchange Seats|49.60%|Medium| |625|[Minimum Factorization](https://github.com/grandyang/LeetCode-All-In-One/issues/625)|29.50%|Medium| |624|[Maximum Distance in Arrays](https://github.com/grandyang/LeetCode-All-In-One/issues/624) $|32.70%|Easy| |623|[Add One Row to Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/623)|48.70%|Medium| |622|[Design Circular Queue](https://github.com/grandyang/LeetCode-All-In-One/issues/622)|36.60%|Medium| |621|[Task Scheduler](https://github.com/grandyang/LeetCode-All-In-One/issues/621)|41.40%|Medium| |620|Not Boring Movies|59.80%|Easy| |619|Biggest Single Number $|36.60%|Easy| |618|Students Report By Geography $|40.40%|Hard| |617|[Merge Two Binary Trees](https://github.com/grandyang/LeetCode-All-In-One/issues/617)|69.60%|Easy| |616|[Add Bold Tag in String](https://github.com/grandyang/LeetCode-All-In-One/issues/616) $|37.30%|Medium| |615|Average Salary: Departments VS Company $|33.00%|Hard| |614|Second Degree Follower $|22.70%|Medium| |613|Shortest Distance in a Line $|70.60%|Easy| |612|Shortest Distance in a Plane $|51.00%|Medium| |611|[Valid Triangle Number](https://github.com/grandyang/LeetCode-All-In-One/issues/611)|38.90%|Medium| |610|Triangle Judgement $|59.10%|Easy| |609|[Find Duplicate File in System](https://github.com/grandyang/LeetCode-All-In-One/issues/609)|52.50%|Medium| |608|Tree Node $|54.60%|Medium| |607|[Sales Person ](https://github.com/grandyang/LeetCode-All-In-One/issues/607) $|51.10%|Easy| |606|[Construct String from Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/606)|51.80%|Easy| |605|[Can Place Flowers](https://github.com/grandyang/LeetCode-All-In-One/issues/605)|30.00%|Easy| |604|[Design Compressed String Iterator](https://github.com/grandyang/LeetCode-All-In-One/issues/604) $|31.60%|Easy| |603|Consecutive Available Seats $|54.50%|Easy| |602|Friend Requests II: Who Has the Most Friends $|42.50%|Medium| |601|Human Traffic of Stadium|33.80%|Hard| |600|[Non-negative Integers without Consecutive Ones](https://github.com/grandyang/LeetCode-All-In-One/issues/600)|27.40%|Hard| |599|[Minimum Index Sum of Two Lists](https://github.com/grandyang/LeetCode-All-In-One/issues/599)|48.00%|Easy| |598|[Range Addition II](https://github.com/grandyang/LeetCode-All-In-One/issues/598)|48.30%|Easy| |597|Friend Requests I: Overall Acceptance Rate $|38.40%|Easy| |596|Classes More Than 5 Students|33.40%|Easy| |595|[Big Countries](https://github.com/grandyang/LeetCode-All-In-One/issues/595)|72.00%|Easy| |594|[Longest Harmonious Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/594)|40.00%|Easy| |593|[Valid Square](https://github.com/grandyang/LeetCode-All-In-One/issues/593)|39.20%|Medium| |592|[Fraction Addition and Subtraction](https://github.com/grandyang/LeetCode-All-In-One/issues/592)|47.00%|Medium| |591|[Tag Validator](https://github.com/grandyang/LeetCode-All-In-One/issues/591)|26.40%|Hard| |590|[N-ary Tree Postorder Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/590)|63.00%|Easy| |589|[N-ary Tree Preorder Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/589)|63.10%|Easy| |588|[Design In-Memory File System](https://github.com/grandyang/LeetCode-All-In-One/issues/588) $|32.40%|Hard| |587|[Erect the Fence](https://github.com/grandyang/LeetCode-All-In-One/issues/587)|29.90%|Hard| |586|Customer Placing the Largest Number of Orders $|62.50%|Easy| |585|Investments in 2016 $|44.60%|Medium| |584|Find Customer Referee $|63.60%|Easy| |583|[Delete Operation for Two Strings](https://github.com/grandyang/LeetCode-All-In-One/issues/583)|44.00%|Medium| |582|[Kill Process](https://github.com/grandyang/LeetCode-All-In-One/issues/582) $|47.70%|Medium| |581|[Shortest Unsorted Continuous Subarray](https://github.com/grandyang/LeetCode-All-In-One/issues/581)|30.10%|Easy| |580|Count Student Number in Departments $|40.00%|Medium| |579|Find Cumulative Salary of an Employee $|30.90%|Hard| |578|Get Highest Answer Rate Question $|33.10%|Medium| |577|Employee Bonus $|53.80%|Easy| |576|[Out of Boundary Paths](https://github.com/grandyang/LeetCode-All-In-One/issues/576)|33.10%|Medium| |575|[Distribute Candies](https://github.com/grandyang/LeetCode-All-In-One/issues/575)|59.50%|Easy| |574|[Winning Candidate ](https://github.com/grandyang/LeetCode-All-In-One/issues/574) $|34.50%|Medium| |573|[Squirrel Simulation](https://github.com/grandyang/LeetCode-All-In-One/issues/573) $|51.00%|Medium| |572|[Subtree of Another Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/572)|41.00%|Easy| |571|Find Median Given Frequency of Numbers $|44.90%|Hard| |570|Managers with at Least 5 Direct Reports $|59.00%|Medium| |569|[Median Employee Salary ](https://github.com/grandyang/LeetCode-All-In-One/issues/569) $|41.60%|Hard| |568|[Maximum Vacation Days](https://github.com/grandyang/LeetCode-All-In-One/issues/568) $|39.90%|Hard| |567|[Permutation in String](https://github.com/grandyang/LeetCode-All-In-One/issues/567)|36.30%|Medium| |566|[Reshape the Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/566)|59.80%|Easy| |565|[Array Nesting](https://github.com/grandyang/LeetCode-All-In-One/issues/565)|50.00%|Medium| |564|[Find the Closest Palindrome](https://github.com/grandyang/LeetCode-All-In-One/issues/564)|16.60%|Hard| |563|[Binary Tree Tilt](https://github.com/grandyang/LeetCode-All-In-One/issues/563)|47.00%|Easy| |562|[Longest Line of Consecutive One in Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/562) $|38.80%|Medium| |561|[Array Partition I](https://github.com/grandyang/LeetCode-All-In-One/issues/561)|69.80%|Easy| |560|[Subarray Sum Equals K](https://github.com/grandyang/LeetCode-All-In-One/issues/560)|41.80%|Medium| |559|[Maximum Depth of N-ary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/559)|62.10%|Easy| |558|[Quad Tree Intersection](https://github.com/grandyang/LeetCode-All-In-One/issues/558)|36.40%|Easy| |557|[Reverse Words in a String III](https://github.com/grandyang/LeetCode-All-In-One/issues/557)|61.20%|Easy| |556|[Next Greater Element III](https://github.com/grandyang/LeetCode-All-In-One/issues/556)|27.70%|Medium| |555|[Split Concatenated Strings](https://github.com/grandyang/LeetCode-All-In-One/issues/555) $|30.00%|Medium| |554|[Brick Wall](https://github.com/grandyang/LeetCode-All-In-One/issues/554)|42.70%|Medium| |553|[Optimal Division](https://github.com/grandyang/LeetCode-All-In-One/issues/553)|55.20%|Medium| |552|[Student Attendance Record II](https://github.com/grandyang/LeetCode-All-In-One/issues/552)|28.50%|Hard| |551|[Student Attendance Record I](https://github.com/grandyang/LeetCode-All-In-One/issues/551)|43.90%|Easy| |549|[Binary Tree Longest Consecutive Sequence II](https://github.com/grandyang/LeetCode-All-In-One/issues/549) $|38.10%|Medium| |548|[Split Array with Equal Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/548) $|30.80%|Medium| |547|[Friend Circles](https://github.com/grandyang/LeetCode-All-In-One/issues/547)|49.00%|Medium| |546|[Remove Boxes](https://github.com/grandyang/LeetCode-All-In-One/issues/546)|29.60%|Hard| |545|[Boundary of Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/545) $|29.10%|Medium| |544|[Output Contest Matches](https://github.com/grandyang/LeetCode-All-In-One/issues/544) $|73.20%|Medium| |543|[Diameter of Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/543)|42.70%|Easy| |542|[01 Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/542)|32.50%|Medium| |541|[Reverse String II](https://github.com/grandyang/LeetCode-All-In-One/issues/541)|44.40%|Easy| |540|[Single Element in a Sorted Array](https://github.com/grandyang/LeetCode-All-In-One/issues/540)|55.90%|Medium| |539|[Minimum Time Difference](https://github.com/grandyang/LeetCode-All-In-One/issues/539)|44.70%|Medium| |538|[Convert BST to Greater Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/538)|52.70%|Medium| |537|[Complex Number Multiplication](https://github.com/grandyang/LeetCode-All-In-One/issues/537)|65.90%|Medium| |536|[Construct Binary Tree from String](https://github.com/grandyang/LeetCode-All-In-One/issues/536) $|36.30%|Medium| |535|[Encode and Decode TinyURL](https://github.com/grandyang/LeetCode-All-In-One/issues/535)|76.10%|Medium| |534|[Design TinyURL](https://github.com/grandyang/LeetCode-All-In-One/issues/534)|N/A|Medium| |533|[Lonely Pixel II](https://github.com/grandyang/LeetCode-All-In-One/issues/533) $|38.90%|Medium| |532|[K-diff Pairs in an Array](https://github.com/grandyang/LeetCode-All-In-One/issues/532)|27.20%|Easy| |531|[Lonely Pixel I](https://github.com/grandyang/LeetCode-All-In-One/issues/531) $|50.20%|Medium| |530|[Minimum Absolute Difference in BST](https://github.com/grandyang/LeetCode-All-In-One/issues/530)|48.00%|Easy| |529|[Minesweeper](https://github.com/grandyang/LeetCode-All-In-One/issues/529)|52.00%|Medium| |528|[Random Pick with Weight](https://github.com/grandyang/LeetCode-All-In-One/issues/528)|41.80%|Medium| |527|[Word Abbreviation](https://github.com/grandyang/LeetCode-All-In-One/issues/527) $|33.90%|Hard| |526|[Beautiful Arrangement](https://github.com/grandyang/LeetCode-All-In-One/issues/526)|53.50%|Medium| |525|[Contiguous Array](https://github.com/grandyang/LeetCode-All-In-One/issues/525)|34.40%|Medium| |524|[Longest Word in Dictionary through Deleting](https://github.com/grandyang/LeetCode-All-In-One/issues/524)|40.20%|Medium| |523|[Continuous Subarray Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/523)|21.3|Medium| |522|[Longest Uncommon Subsequence II](https://github.com/grandyang/LeetCode-All-In-One/issues/522)|28.10%|Medium| |521|[Longest Uncommon Subsequence I](https://github.com/grandyang/LeetCode-All-In-One/issues/521)|50.70%|Easy| |520|[Detect Capital](https://github.com/grandyang/LeetCode-All-In-One/issues/520)|54.20%|Easy| |519|[Random Flip Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/519)|32.20%|Medium| |518|[Coin Change 2](https://github.com/grandyang/LeetCode-All-In-One/issues/518)|33.20%|Medium| |517|[Super Washing Machines](https://github.com/grandyang/LeetCode-All-In-One/issues/517)|34.60%|Hard| |516|[Longest Palindromic Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/516)|42.00%|Medium| |515|[Find Largest Value in Each Tree Row](https://github.com/grandyang/LeetCode-All-In-One/issues/515)|52.70%|Medium| |514|[Freedom Trail](https://github.com/grandyang/LeetCode-All-In-One/issues/514)|27.20%|Hard| |513|[Find Bottom Left Tree Value](https://github.com/grandyang/LeetCode-All-In-One/issues/513)|55.60%|Medium| |510|[Inorder Successor in BST II](https://github.com/grandyang/LeetCode-All-In-One/issues/510) $|56.20%|Medium| |509|[Fibonacci Number](https://github.com/grandyang/LeetCode-All-In-One/issues/509)|66.40%|Easy| |508|[Most Frequent Subtree Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/508)|52.00%|Medium| |507|[Perfect Number](https://github.com/grandyang/LeetCode-All-In-One/issues/507)|32.70%|Easy| |506|[Relative Ranks](https://github.com/grandyang/LeetCode-All-In-One/issues/506)|48.50%|Easy| |505|[The Maze II](https://github.com/grandyang/LeetCode-All-In-One/issues/505)|34.80%|Medium| |504|[Base 7](https://github.com/grandyang/LeetCode-All-In-One/issues/504)|46.40%|Easy| |503|[Next Greater Element II](https://github.com/grandyang/LeetCode-All-In-One/issues/503)|46.20%|Medium| |502|[IPO](https://github.com/grandyang/LeetCode-All-In-One/issues/502)|32.40%|Hard| |501|[Find Mode in Binary Search Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/501)|39.40%|Easy| |500|[Keyboard Row](https://github.com/grandyang/LeetCode-All-In-One/issues/500)|60.20%|Easy| |499|[The Maze III](https://github.com/grandyang/LeetCode-All-In-One/issues/499)|32.00%|Hard| |498|[Diagonal Traverse](https://github.com/grandyang/LeetCode-All-In-One/issues/498)|46.20%|Medium| |497|[Random Point in Non-overlapping Rectangles](https://github.com/grandyang/LeetCode-All-In-One/issues/497)|33.20%|Medium| |496|[Next Greater Element I](https://github.com/grandyang/LeetCode-All-In-One/issues/496)|58.80%|Easy| |495|[Teemo Attacking](https://github.com/grandyang/LeetCode-All-In-One/issues/495)|51.90%|Medium| |494|[Target Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/494)|44.40%|Medium| |493|[Reverse Pairs](https://github.com/grandyang/LeetCode-All-In-One/issues/493)|17.10%|Hard| |492|[Construct the Rectangle](https://github.com/grandyang/LeetCode-All-In-One/issues/492)|49.70%|Easy| |491|[Increasing Subsequences](https://github.com/grandyang/LeetCode-All-In-One/issues/491)|39.30%|Medium| |490|[The Maze](https://github.com/grandyang/LeetCode-All-In-One/issues/490)|42.80%|Medium| |489|[Robot Room Cleaner](https://github.com/grandyang/LeetCode-All-In-One/issues/489)|57.10%|Hard| |488|[Zuma Game](https://github.com/grandyang/LeetCode-All-In-One/issues/488)|38.00%|Hard| |487|[Max Consecutive Ones II](https://github.com/grandyang/LeetCode-All-In-One/issues/487) $|42.70%|Medium| |486|[Predict the Winner](https://github.com/grandyang/LeetCode-All-In-One/issues/486)|43.60%|Medium| |485|[Max Consecutive Ones](https://github.com/grandyang/LeetCode-All-In-One/issues/485)|55.30%|Easy| |484|[Find Permutation](https://github.com/grandyang/LeetCode-All-In-One/issues/484) $|50.50%|Medium| |483|[Smallest Good Base](https://github.com/grandyang/LeetCode-All-In-One/issues/483)|30.60%|Hard| |482|[License Key Formatting](https://github.com/grandyang/LeetCode-All-In-One/issues/482)|41.20%|Medium| |481|[Magical String](https://github.com/grandyang/LeetCode-All-In-One/issues/481)|46.20%|Medium| |480|[Sliding Window Median](https://github.com/grandyang/LeetCode-All-In-One/issues/480)|31.00%|Hard| |479|[Largest Palindrome Product](https://github.com/grandyang/LeetCode-All-In-One/issues/479)|23.90%|Easy| |478|[Generate Random Point in a Circle](https://github.com/grandyang/LeetCode-All-In-One/issues/478)|33.80%|Medium| |477|[Total Hamming Distance](https://github.com/grandyang/LeetCode-All-In-One/issues/477)|44.10%|Medium| |476|[Number Complement](https://github.com/grandyang/LeetCode-All-In-One/issues/476)|61.20%|Easy| |475|[Heaters](https://github.com/grandyang/LeetCode-All-In-One/issues/475)|30.20%|Easy| |474|[Ones and Zeroes](https://github.com/grandyang/LeetCode-All-In-One/issues/474)|34.90%|Medium| |473|[Matchsticks to Square](https://github.com/grandyang/LeetCode-All-In-One/issues/473)|31.80%|Medium| |472|[Concatenated Words](https://github.com/grandyang/LeetCode-All-In-One/issues/472)|29.20%|Hard| |471|[Encode String with Shortest Length](https://github.com/grandyang/LeetCode-All-In-One/issues/471) $|43.50%|Hard| |470|[Implement Rand10() Using Rand7()](https://github.com/grandyang/LeetCode-All-In-One/issues/470)|43.00%|Medium| |469|[Convex Polygon](https://github.com/grandyang/LeetCode-All-In-One/issues/469) $|27.20%|Medium| |468|[Validate IP Address](https://github.com/grandyang/LeetCode-All-In-One/issues/468)|22.10%|Medium| |467|[Unique Substrings in Wraparound String](https://github.com/grandyang/LeetCode-All-In-One/issues/467)|29.90%|Medium| |466|[Count The Repetitions](https://github.com/grandyang/LeetCode-All-In-One/issues/466)|24.20%|Hard| |465|[Optimal Account Balancing](https://github.com/grandyang/LeetCode-All-In-One/issues/465) $|29.20%|Hard| |464|[Can I Win](https://github.com/grandyang/LeetCode-All-In-One/issues/464)|22.20%|Medium| |463|[Island Perimeter](https://github.com/grandyang/LeetCode-All-In-One/issues/463)|56.70%|Easy| |462|[Minimum Moves to Equal Array Elements II](https://github.com/grandyang/LeetCode-All-In-One/issues/462)|50.90%|Medium| |461|[Hamming Distance](https://github.com/grandyang/LeetCode-All-In-One/issues/461)|73.20%|Easy| |460|[LFU Cache](https://github.com/grandyang/LeetCode-All-In-One/issues/460)|18.30%|Hard| |459|[Repeated Substring Pattern](https://github.com/grandyang/LeetCode-All-In-One/issues/459)|39.70%|Easy| |458|[Poor Pigs](https://github.com/grandyang/LeetCode-All-In-One/issues/458)|40.70%|Easy| |457|[Circular Array Loop](https://github.com/grandyang/LeetCode-All-In-One/issues/457)|20.60%|Medium| |456|[132 Pattern](https://github.com/grandyang/LeetCode-All-In-One/issues/456)|28.00%|Medium| |455|[Assign Cookies](https://github.com/grandyang/LeetCode-All-In-One/issues/455)|48.10%|Easy| |454|[4Sum II](https://github.com/grandyang/LeetCode-All-In-One/issues/454)|42.80%|Medium| |453|[Minimum Moves to Equal Array Elements](https://github.com/grandyang/LeetCode-All-In-One/issues/453)|46.30%|Easy| |452|[Minimum Number of Arrows to Burst Balloons](https://github.com/grandyang/LeetCode-All-In-One/issues/452)|42.10%|Medium| |451|[Sort Characters By Frequency](https://github.com/grandyang/LeetCode-All-In-One/issues/451)|50.90%|Medium| |450|[Delete Node in a BST](https://github.com/grandyang/LeetCode-All-In-One/issues/450)|34.50%|Medium| |449|[Serialize and Deserialize BST](https://github.com/grandyang/LeetCode-All-In-One/issues/449)|41.20%|Medium| |448|[Find All Numbers Disappeared in an Array](https://github.com/grandyang/LeetCode-All-In-One/issues/448)|58.30%|Easy| |447|[Number of Boomerangs](https://github.com/grandyang/LeetCode-All-In-One/issues/447)|42.20%|Easy| |446|[Arithmetic Slices II - Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/446)|22.30%|Hard| |445|[Add Two Numbers II](https://github.com/grandyang/LeetCode-All-In-One/issues/445)|45.40%|Medium| |444|[Sequence Reconstruction](https://github.com/grandyang/LeetCode-All-In-One/issues/444) $|20.50%|Medium| |443|[String Compression](https://github.com/grandyang/LeetCode-All-In-One/issues/443)|35.80%|Easy| |442|[Find All Duplicates in an Array](https://github.com/grandyang/LeetCode-All-In-One/issues/442)|46.40%|Medium| |441|[Arranging Coins](https://github.com/grandyang/LeetCode-All-In-One/issues/441)|36.20%|Easy| |440|[K-th Smallest in Lexicographical Order](https://github.com/grandyang/LeetCode-All-In-One/issues/440)|21.50%|Hard| |439|[Ternary Expression Parser](https://github.com/grandyang/LeetCode-All-In-One/issues/439) $|49.40%|Medium| |438|[Find All Anagrams in a String](https://github.com/grandyang/LeetCode-All-In-One/issues/438)|33.50%|Easy| |437|[Path Sum III](https://github.com/grandyang/LeetCode-All-In-One/issues/437)|38.60%|Easy| |436|[Find Right Interval](https://github.com/grandyang/LeetCode-All-In-One/issues/436)|42.30%|Medium| |435|[Non-overlapping Intervals](https://github.com/grandyang/LeetCode-All-In-One/issues/435)|39.80%|Medium| |434|[Number of Segments in a String](https://github.com/grandyang/LeetCode-All-In-One/issues/434)|38.40%|Easy| |433|[Minimum Genetic Mutation](https://github.com/grandyang/LeetCode-All-In-One/issues/433)|33.50%|Medium| |432|[All O`one Data Structure](https://github.com/grandyang/LeetCode-All-In-One/issues/432)|28.30%|Hard| |431|[Encode N-ary Tree to Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/431) $|53.70%|Hard| |430|[Flatten a Multilevel Doubly Linked List](https://github.com/grandyang/LeetCode-All-In-One/issues/430)|36.20%|Medium| |429|[N-ary Tree Level Order Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/429)|55.80%|Easy| |428|[Serialize and Deserialize N-ary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/428) $|48.10%|Hard| |427|[Construct Quad Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/427)|49.20%|Easy| |426|[Convert Binary Search Tree to Sorted Doubly Linked List](https://github.com/grandyang/LeetCode-All-In-One/issues/426)|43.30%|Medium| |425|[Word Squares](https://github.com/grandyang/LeetCode-All-In-One/issues/425) $|40.10%|Hard| |424|[Longest Repeating Character Replacement](https://github.com/grandyang/LeetCode-All-In-One/issues/424)|38.10%|Medium| |423|[Reconstruct Original Digits from English](https://github.com/grandyang/LeetCode-All-In-One/issues/423)|40.80%|Medium| |422|[Valid Word Square](https://github.com/grandyang/LeetCode-All-In-One/issues/422) $|36.40%|Easy| |421|[Maximum XOR of Two Numbers in an Array](https://github.com/grandyang/LeetCode-All-In-One/issues/421)|36.40%|Medium| |420|[Strong Password Checker](https://github.com/grandyang/LeetCode-All-In-One/issues/420)|22.10%|Hard| |419|[Battleships in a Board](https://github.com/grandyang/LeetCode-All-In-One/issues/419)|59.30%|Medium| |418|[Sentence Screen Fitting](https://github.com/grandyang/LeetCode-All-In-One/issues/418) $|25.10%|Medium| |417|[Pacific Atlantic Water Flow](https://github.com/grandyang/LeetCode-All-In-One/issues/417)|31.10%|Medium| |416|[Partition Equal Subset Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/416)|36.80%|Medium| |415|[Add Strings](https://github.com/grandyang/LeetCode-All-In-One/issues/415)|41.50%|Easy| |414|[Third Maximum Number](https://github.com/grandyang/LeetCode-All-In-One/issues/414)|26.50%|Easy| |413|[Arithmetic Slices](https://github.com/grandyang/LeetCode-All-In-One/issues/413)|53.50%|Medium| |412|[Fizz Buzz](https://github.com/grandyang/LeetCode-All-In-One/issues/412)|57.50%|Easy| |411|[Minimum Unique Word Abbreviation](https://github.com/grandyang/LeetCode-All-In-One/issues/411) $|25.60%|Hard| |410|[Split Array Largest Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/410)|25.00%|Hard| |409|[Longest Palindrome](https://github.com/grandyang/LeetCode-All-In-One/issues/409)|44.90%|Easy| |408|[Valid Word Abbreviation](https://github.com/grandyang/LeetCode-All-In-One/issues/408) $|26.20%|Easy| |407|[Trapping Rain Water II](https://github.com/grandyang/LeetCode-All-In-One/issues/407)|33.10%|Hard| |406|[Queue Reconstruction by Height](https://github.com/grandyang/LeetCode-All-In-One/issues/406)|54.10%|Medium| |405|[Convert a Number to Hexadecimal](https://github.com/grandyang/LeetCode-All-In-One/issues/405)|41.80%|Easy| |404|[Sum of Left Leaves](https://github.com/grandyang/LeetCode-All-In-One/issues/404)|46.20%|Easy| |403|[Frog Jump](https://github.com/grandyang/LeetCode-All-In-One/issues/403)|31.70%|Hard| |402|[Remove K Digits](https://github.com/grandyang/LeetCode-All-In-One/issues/402)|25.90%|Medium| |401|[Binary Watch](https://github.com/grandyang/LeetCode-All-In-One/issues/401)|43.00%|Easy| |400|[Nth Digit](https://github.com/grandyang/LeetCode-All-In-One/issues/400)|30.70%|Easy| |399|[Evaluate Division](https://github.com/grandyang/LeetCode-All-In-One/issues/399)|34.60%|Medium| |398|[Random Pick Index](https://github.com/grandyang/LeetCode-All-In-One/issues/398)|30.40%|Medium| |397|[Integer Replacement](https://github.com/grandyang/LeetCode-All-In-One/issues/397)|25.90%|Easy| |396|[Rotate Function](https://github.com/grandyang/LeetCode-All-In-One/issues/396)|28.40%|Easy| |395|[Longest Substring with At Least K Repeating Characters](https://github.com/grandyang/LeetCode-All-In-One/issues/395)|32.50%|Medium| |394|[Decode String](https://github.com/grandyang/LeetCode-All-In-One/issues/394)|38.60%|Medium| |393|[UTF-8 Validation](https://github.com/grandyang/LeetCode-All-In-One/issues/393)|33.00%|Medium| |392|[Is Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/392)|44.10%|Medium| |391|[Perfect Rectangle](https://github.com/grandyang/LeetCode-All-In-One/issues/391)|13.30%|Hard| |390|[Elimination Game](https://github.com/grandyang/LeetCode-All-In-One/issues/390)|12.50%|Medium| |389|[Find the Difference](https://github.com/grandyang/LeetCode-All-In-One/issues/389)|49.90%|Easy| |388|[Longest Absolute File Path](https://github.com/grandyang/LeetCode-All-In-One/issues/388)|28.30%|Medium| |387|[First Unique Character in a String](https://github.com/grandyang/LeetCode-All-In-One/issues/387)|43.10%|Easy| |386|[Lexicographical Numbers](https://github.com/grandyang/LeetCode-All-In-One/issues/386)|31.00%|Medium| |385|[Mini Parser](https://github.com/grandyang/LeetCode-All-In-One/issues/385)|26.90%|Medium| |384|[Shuffle an Array](https://github.com/grandyang/LeetCode-All-In-One/issues/384)|45.50%|Medium| |383|[Ransom Note](https://github.com/grandyang/LeetCode-All-In-One/issues/383)|44.60%|Easy| |382|[Linked List Random Node](https://github.com/grandyang/LeetCode-All-In-One/issues/382)|48.60%|Medium| |381|[Insert Delete GetRandom O(1) - Duplicates allowed](https://github.com/grandyang/LeetCode-All-In-One/issues/381)|30.90%|Hard| |380|[Insert Delete GetRandom O(1)](https://github.com/grandyang/LeetCode-All-In-One/issues/380)|33.80%|Medium| |379|[Design Phone Directory](https://github.com/grandyang/LeetCode-All-In-One/issues/379) $|25.80%|Medium| |378|[Kth Smallest Element in a Sorted Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/378)|40.20%|Medium| |377|[Combination Sum IV](https://github.com/grandyang/LeetCode-All-In-One/issues/377)|37.50%|Medium| |376|[Wiggle Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/376)|35.80%|Medium| |375|[Guess Number Higher or Lower II](https://github.com/grandyang/LeetCode-All-In-One/issues/375)|28.30%|Medium| |374|[Guess Number Higher or Lower](https://github.com/grandyang/LeetCode-All-In-One/issues/374)|31.70%|Easy| |373|[Find K Pairs with Smallest Sums](https://github.com/grandyang/LeetCode-All-In-One/issues/373)|25.50%|Medium| |372|[Super Pow](https://github.com/grandyang/LeetCode-All-In-One/issues/372)|30.10%|Medium| |371|[Sum of Two Integers](https://github.com/grandyang/LeetCode-All-In-One/issues/371)|54.00%|Easy| |370|[Range Addition](https://github.com/grandyang/LeetCode-All-In-One/issues/370) $|49.90%|Medium| |369|[Plus One Linked List](https://github.com/grandyang/LeetCode-All-In-One/issues/369) $|50.10%|Medium| |368|[Largest Divisible Subset](https://github.com/grandyang/LeetCode-All-In-One/issues/368)|32.00%|Medium| |367|[Valid Perfect Square](https://github.com/grandyang/LeetCode-All-In-One/issues/367)|36.60%|Medium| |366|[Find Leaves of Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/366) $|53.60%|Medium| |365|[Water and Jug Problem](https://github.com/grandyang/LeetCode-All-In-One/issues/365)|20.10%|Medium| |364|[Nested List Weight Sum II](https://github.com/grandyang/LeetCode-All-In-One/issues/364) $|47.20%|Medium| |363|[Max Sum of Rectangle No Larger Than K](https://github.com/grandyang/LeetCode-All-In-One/issues/363)|27.00%|Hard| |362|[Design Hit Counter](https://github.com/grandyang/LeetCode-All-In-One/issues/362) $|48.30%|Medium| |361|[Bomb Enemy](https://github.com/grandyang/LeetCode-All-In-One/issues/361) $|32.60%|Medium| |360|[Sort Transformed Array](https://github.com/grandyang/LeetCode-All-In-One/issues/360) $|40.80%|Medium| |359|[Logger Rate Limiter](https://github.com/grandyang/LeetCode-All-In-One/issues/359) $|56.00%|Easy| |358|[Rearrange String k Distance Apart](https://github.com/grandyang/LeetCode-All-In-One/issues/358) $|26.90%|Hard| |357|[Count Numbers with Unique Digits](https://github.com/grandyang/LeetCode-All-In-One/issues/357)|42.50%|Medium| |356|[Line Reflection](https://github.com/grandyang/LeetCode-All-In-One/issues/356) $|28.70%|Medium| |355|[Design Twitter](https://github.com/grandyang/LeetCode-All-In-One/issues/355)|22.20%|Medium| |354|[Russian Doll Envelopes](https://github.com/grandyang/LeetCode-All-In-One/issues/354)|27.10%|Hard| |353|[Design Snake Game](https://github.com/grandyang/LeetCode-All-In-One/issues/353) $|19.80%|Medium| |352|[Data Stream as Disjoint Intervals](https://github.com/grandyang/LeetCode-All-In-One/issues/352)|34.40%|Hard| |351|[Android Unlock Patterns](https://github.com/grandyang/LeetCode-All-In-One/issues/351) $|32.00%|Medium| |350|[Intersection of Two Arrays II](https://github.com/grandyang/LeetCode-All-In-One/issues/350)|41.50%|Easy| |349|[Intersection of Two Arrays](https://github.com/grandyang/LeetCode-All-In-One/issues/349)|47.80%|Easy| |348|[Design Tic-Tac-Toe ](https://github.com/grandyang/LeetCode-All-In-One/issues/348) $|45.60%|Medium| |347|[Top K Frequent Elements](https://github.com/grandyang/LeetCode-All-In-One/issues/347)|44.50%|Medium| |346|[Moving Average from Data Stream ](https://github.com/grandyang/LeetCode-All-In-One/issues/346) $|69.20%|Easy| |345|[Reverse Vowels of a String](https://github.com/grandyang/LeetCode-All-In-One/issues/345)|35.30%|Easy| |344|[Reverse String](https://github.com/grandyang/LeetCode-All-In-One/issues/344)|58.90%|Easy| |343|[Integer Break](https://github.com/grandyang/LeetCode-All-In-One/issues/343)|43.60%|Medium| |342|[Power of Four](https://github.com/grandyang/LeetCode-All-In-One/issues/342)|34.10%|Easy| |341|[Flatten Nested List Iterator](https://github.com/grandyang/LeetCode-All-In-One/issues/341) $|18.70%|Medium| |340|[Longest Substring with At Most K Distinct Characters](https://github.com/grandyang/LeetCode-All-In-One/issues/340) $|36.30%|Hard| |339|[Nested List Weight Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/339) $|54.60%|Easy| |338|[Counting Bits](https://github.com/grandyang/LeetCode-All-In-One/issues/338)|55.40%|Medium| |337|[House Robber III](https://github.com/grandyang/LeetCode-All-In-One/issues/337)|37.00%|Medium| |336|[Palindrome Pairs](https://github.com/grandyang/LeetCode-All-In-One/issues/336)|18.70%|Hard| |335|[Self Crossing](https://github.com/grandyang/LeetCode-All-In-One/issues/335)|18.00%|Medium| |334|[Increasing Triplet Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/334)|33.20%|Medium| |333|[Largest BST Subtree](https://github.com/grandyang/LeetCode-All-In-One/issues/333) $|26.50%|Medium| |332|[Reconstruct Itinerary](https://github.com/grandyang/LeetCode-All-In-One/issues/332)|23.40%|Medium| |331|[Verify Preorder Serialization of a Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/331)|31.50%|Medium| |330|[Patching Array](https://github.com/grandyang/LeetCode-All-In-One/issues/330)|28.80%|Medium| |329|[Longest Increasing Path in a Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/329)|29.50%|Medium| |328|[Odd Even Linked List](https://github.com/grandyang/LeetCode-All-In-One/issues/328)|37.80%|Easy| |327|[Count of Range Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/327)|24.30%|Hard| |326|[Power of Three](https://github.com/grandyang/LeetCode-All-In-One/issues/326)|35.30%|Easy| |325|[Maximum Size Subarray Sum Equals k](https://github.com/grandyang/LeetCode-All-In-One/issues/325) $|39.60%|Easy| |324|[Wiggle Sort II](https://github.com/grandyang/LeetCode-All-In-One/issues/324)|20.10%|Medium| |323|[Number of Connected Components in an Undirected Graph](https://github.com/grandyang/LeetCode-All-In-One/issues/323) $|43.30%|Medium| |322|[Coin Change](https://github.com/grandyang/LeetCode-All-In-One/issues/322)|24.90%|Medium| |321|[Create Maximum Number](https://github.com/grandyang/LeetCode-All-In-One/issues/321)|19.10%|Hard| |320|[Generalized Abbreviation](https://github.com/grandyang/LeetCode-All-In-One/issues/320) $|40.40%|Medium| |319|[Bulb Switcher](https://github.com/grandyang/LeetCode-All-In-One/issues/319)|39.20%|Medium| |318|[Maximum Product of Word Lengths](https://github.com/grandyang/LeetCode-All-In-One/issues/318)|38.70%|Medium| |317|[Shortest Distance from All Buildings](https://github.com/grandyang/LeetCode-All-In-One/issues/317) $|29.10%|Hard| |316|[Remove Duplicate Letters](https://github.com/grandyang/LeetCode-All-In-One/issues/316)|23.00%|Medium| |315|[Count of Smaller Numbers After Self](https://github.com/grandyang/LeetCode-All-In-One/issues/315)|28.20%|Hard| |314|[Binary Tree Vertical Order Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/314) $|30.10%|Medium| |313|[Super Ugly Number](https://github.com/grandyang/LeetCode-All-In-One/issues/313)|31.20%|Medium| |312|[Burst Balloons](https://github.com/grandyang/LeetCode-All-In-One/issues/312)|24.50%|Medium| |311|[Sparse Matrix Multiplication](https://github.com/grandyang/LeetCode-All-In-One/issues/311) $|40.00%|Medium| |310|[Minimum Height Trees](https://github.com/grandyang/LeetCode-All-In-One/issues/310)|20.20%|Medium| |309|[Best Time to Buy and Sell Stock with Cooldown](https://github.com/grandyang/LeetCode-All-In-One/issues/309)|32.60%|Medium| |308|[Range Sum Query 2D - Mutable](https://github.com/grandyang/LeetCode-All-In-One/issues/308) $|20.30%|Hard| |307|[Range Sum Query - Mutable](https://github.com/grandyang/LeetCode-All-In-One/issues/307)|14.50%|Medium| |306|[Additive Number](https://github.com/grandyang/LeetCode-All-In-One/issues/306)|23.30%|Medium| |305|[Number of Islands II](https://github.com/grandyang/LeetCode-All-In-One/issues/305) $|26.70%|Hard| |304|[Range Sum Query 2D - Immutable](https://github.com/grandyang/LeetCode-All-In-One/issues/304)|21.50%|Medium| |303|[Range Sum Query - Immutable](https://github.com/grandyang/LeetCode-All-In-One/issues/303)|25.70%|Easy| |302|[Smallest Rectangle Enclosing Black Pixels](https://github.com/grandyang/LeetCode-All-In-One/issues/302) $|36.70%|Hard| |301|[Remove Invalid Parentheses](https://github.com/grandyang/LeetCode-All-In-One/issues/301)|27.00%|Hard| |300|[Longest Increasing Subsequence](https://github.com/grandyang/LeetCode-All-In-One/issues/300)|31.50%|Medium| |299|[Bulls and Cows](https://github.com/grandyang/LeetCode-All-In-One/issues/299)|23.80%|Easy| |298|[Binary Tree Longest Consecutive Sequence](https://github.com/grandyang/LeetCode-All-In-One/issues/298) $|32.20%|Medium| |297|[Serialize and Deserialize Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/297)|23.80%|Medium| |296|[Best Meeting Point](https://github.com/grandyang/LeetCode-All-In-One/issues/296) $|41.40%|Hard| |295|[Find Median from Data Stream](https://github.com/grandyang/LeetCode-All-In-One/issues/295)|18.60%|Hard| |294|[Flip Game II](https://github.com/grandyang/LeetCode-All-In-One/issues/294) $|38.10%|Medium| |293|[Flip Game](https://github.com/grandyang/LeetCode-All-In-One/issues/293) $|47.60%|Easy| |292|[Nim Game](https://github.com/grandyang/LeetCode-All-In-One/issues/292)|49.50%|Easy| |291|[Word Pattern II](https://github.com/grandyang/LeetCode-All-In-One/issues/291) $|31.50%|Hard| |290|[Word Pattern](https://github.com/grandyang/LeetCode-All-In-One/issues/290)|26.50%|Easy| |289|[Game of Life](https://github.com/grandyang/LeetCode-All-In-One/issues/289)|32.60%|Medium| |288|[Unique Word Abbreviation](https://github.com/grandyang/LeetCode-All-In-One/issues/288) $|16.80%|Easy| |287|[Find the Duplicate Number](https://github.com/grandyang/LeetCode-All-In-One/issues/287)|32.80%|Hard| |286|[Walls and Gates](https://github.com/grandyang/LeetCode-All-In-One/issues/286) $|29.90%|Medium| |285|[Inorder Successor in BST](https://github.com/grandyang/LeetCode-All-In-One/issues/285) $|32.50%|Medium| |284|[Peeking Iterator](https://github.com/grandyang/LeetCode-All-In-One/issues/284)|31.00%|Medium| |283|[Move Zeroes](https://github.com/grandyang/LeetCode-All-In-One/issues/283)|41.40%|Easy| |282|[Expression Add Operators](https://github.com/grandyang/LeetCode-All-In-One/issues/282)|18.90%|Hard| |281|[Zigzag Iterator](https://github.com/grandyang/LeetCode-All-In-One/issues/281) $|37.20%|Medium| |280|[Wiggle Sort](https://github.com/grandyang/LeetCode-All-In-One/issues/280) $|43.30%|Medium| |279|[Perfect Squares](https://github.com/grandyang/LeetCode-All-In-One/issues/279)|28.80%|Medium| |278|[First Bad Version](https://github.com/grandyang/LeetCode-All-In-One/issues/278)|19.80%|Easy| |277|[Find the Celebrity](https://github.com/grandyang/LeetCode-All-In-One/issues/277) $|31.70%|Medium| |276|[Paint Fence](https://github.com/grandyang/LeetCode-All-In-One/issues/276) $|25.00%|Easy| |275|[H-Index II](https://github.com/grandyang/LeetCode-All-In-One/issues/275)|31.40%|Medium| |274|[H-Index](https://github.com/grandyang/LeetCode-All-In-One/issues/274)|25.30%|Medium| |273|[Integer to English Words](https://github.com/grandyang/LeetCode-All-In-One/issues/273)|15.50%|Medium| |272|[Closest Binary Search Tree Value II](https://github.com/grandyang/LeetCode-All-In-One/issues/272) $|26.90%|Hard| |271|[Encode and Decode Strings](https://github.com/grandyang/LeetCode-All-In-One/issues/271) $|25.40%|Medium| |270|[Closest Binary Search Tree Value](https://github.com/grandyang/LeetCode-All-In-One/issues/270) $|29.40%|Easy| |269|[Alien Dictionary](https://github.com/grandyang/LeetCode-All-In-One/issues/269) $|16.50%|Hard| |268|[Missing Number](https://github.com/grandyang/LeetCode-All-In-One/issues/268)|34.70%|Medium| |267|[Palindrome Permutation II](https://github.com/grandyang/LeetCode-All-In-One/issues/267) $|22.50%|Medium| |266|[Palindrome Permutation](https://github.com/grandyang/LeetCode-All-In-One/issues/266) $|45.80%|Easy| |265|[Paint House II](https://github.com/grandyang/LeetCode-All-In-One/issues/265) $|30.00%|Hard| |264|[Ugly Number II](https://github.com/grandyang/LeetCode-All-In-One/issues/264)|21.60%|Medium| |263|[Ugly Number](https://github.com/grandyang/LeetCode-All-In-One/issues/263)|32.60%|Easy| |262|[Trips and Users](https://github.com/grandyang/LeetCode-All-In-One/issues/262) *|16.10%|Hard| |261|[Graph Valid Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/261) $|25.40%|Medium| |260|[Single Number III](https://github.com/grandyang/LeetCode-All-In-One/issues/260)|37.60%|Medium| |259|[3Sum Smaller](https://github.com/grandyang/LeetCode-All-In-One/issues/259) $|34.20%|Medium| |258|[Add Digits](https://github.com/grandyang/LeetCode-All-In-One/issues/258)|46.50%|Easy| |257|[Binary Tree Paths](https://github.com/grandyang/LeetCode-All-In-One/issues/257)|21.90%|Easy| |256|[Paint House](https://github.com/grandyang/LeetCode-All-In-One/issues/256) $|38.40%|Medium| |255|[Verify Preorder Sequence in Binary Search Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/255) $|32.30%|Medium| |254|[Factor Combinations](https://github.com/grandyang/LeetCode-All-In-One/issues/254) $|29.00%|Medium| |253|[Meeting Rooms II](https://github.com/grandyang/LeetCode-All-In-One/issues/253) $|28.80%|Medium| |252|[Meeting Rooms](https://github.com/grandyang/LeetCode-All-In-One/issues/252) $|35.40%|Easy| |251|[Flatten 2D Vector](https://github.com/grandyang/LeetCode-All-In-One/issues/251) $|28.30%|Medium| |250|[Count Univalue Subtrees](https://github.com/grandyang/LeetCode-All-In-One/issues/250) $|32.70%|Medium| |249|[Group Shifted Strings](https://github.com/grandyang/LeetCode-All-In-One/issues/249) $|25.20%|Easy| |248|[Strobogrammatic Number III](https://github.com/grandyang/LeetCode-All-In-One/issues/248) $|21.80%|Hard| |247|[Strobogrammatic Number II](https://github.com/grandyang/LeetCode-All-In-One/issues/247) $|26.70%|Medium| |246|[Strobogrammatic Number](https://github.com/grandyang/LeetCode-All-In-One/issues/246) $|31.60%|Easy| |245|[Shortest Word Distance III](https://github.com/grandyang/LeetCode-All-In-One/issues/245) $|43.20%|Medium| |244|[Shortest Word Distance II](https://github.com/grandyang/LeetCode-All-In-One/issues/244) $|33.70%|Medium| |243|[Shortest Word Distance](https://github.com/grandyang/LeetCode-All-In-One/issues/243) $|41.80%|Easy| |242|[Valid Anagram](https://github.com/grandyang/LeetCode-All-In-One/issues/242)|39.30%|Easy| |241|[Different Ways to Add Parentheses](https://github.com/grandyang/LeetCode-All-In-One/issues/241)|27.10%|Medium| |240|[Search a 2D Matrix II](https://github.com/grandyang/LeetCode-All-In-One/issues/240)|31.40%|Medium| |239|[Sliding Window Maximum](https://github.com/grandyang/LeetCode-All-In-One/issues/239)|24.30%|Hard| |238|[Product of Array Except Self](https://github.com/grandyang/LeetCode-All-In-One/issues/238)|42.40%|Medium| |237|[Delete Node in a Linked List](https://github.com/grandyang/LeetCode-All-In-One/issues/237)|50.90%|Easy| |236|[Lowest Common Ancestor of a Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/236)|28.30%|Medium| |235|[Lowest Common Ancestor of a Binary Search Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/235)|38.90%|Medium| |234|[Palindrome Linked List](https://github.com/grandyang/LeetCode-All-In-One/issues/234)|23.80%|Easy| |233|[Number of Digit One](https://github.com/grandyang/LeetCode-All-In-One/issues/233)|16.10%|Medium| |232|[Implement Queue using Stacks](https://github.com/grandyang/LeetCode-All-In-One/issues/232)|37.40%|Easy| |231|[Power of Two](https://github.com/grandyang/LeetCode-All-In-One/issues/231)|31.30%|Easy| |230|[Kth Smallest Element in a BST](https://github.com/grandyang/LeetCode-All-In-One/issues/230)|30.50%|Medium| |229|[Majority Element II](https://github.com/grandyang/LeetCode-All-In-One/issues/229)|30.50%|Medium| |228|[Summary Ranges](https://github.com/grandyang/LeetCode-All-In-One/issues/228)|21.10%|Easy| |227|[Basic Calculator II](https://github.com/grandyang/LeetCode-All-In-One/issues/227)|18.00%|Medium| |226|[Invert Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/226)|35.40%|Easy| |225|[Implement Stack using Queues](https://github.com/grandyang/LeetCode-All-In-One/issues/225)|29.60%|Medium| |224|[Basic Calculator](https://github.com/grandyang/LeetCode-All-In-One/issues/224)|15.80%|Medium| |223|[Rectangle Area](https://github.com/grandyang/LeetCode-All-In-One/issues/223)|25.60%|Easy| |222|[Count Complete Tree Nodes](https://github.com/grandyang/LeetCode-All-In-One/issues/222)|19.40%|Medium| |221|[Maximal Square](https://github.com/grandyang/LeetCode-All-In-One/issues/221)|20.30%|Medium| |220|[Contains Duplicate III](https://github.com/grandyang/LeetCode-All-In-One/issues/220)|15.30%|Medium| |219|[Contains Duplicate II](https://github.com/grandyang/LeetCode-All-In-One/issues/219)|25.60%|Easy| |218|[The Skyline Problem](https://github.com/grandyang/LeetCode-All-In-One/issues/218)|16.20%|Hard| |217|[Contains Duplicate](https://github.com/grandyang/LeetCode-All-In-One/issues/217)|35.90%|Easy| |216|[Combination Sum III](https://github.com/grandyang/LeetCode-All-In-One/issues/216)|27.70%|Medium| |215|[Kth Largest Element in an Array](https://github.com/grandyang/LeetCode-All-In-One/issues/215)|27.30%|Medium| |214|[Shortest Palindrome](https://github.com/grandyang/LeetCode-All-In-One/issues/214)|16.80%|Hard| |213|[House Robber II](https://github.com/grandyang/LeetCode-All-In-One/issues/213)|26.30%|Medium| |212|[Word Search II](https://github.com/grandyang/LeetCode-All-In-One/issues/212)|15.00%|Hard| |211|[Add and Search Word - Data structure design](https://github.com/grandyang/LeetCode-All-In-One/issues/211)|20.70%|Medium| |210|[Course Schedule II](https://github.com/grandyang/LeetCode-All-In-One/issues/210)|19.30%|Medium| |209|[Minimum Size Subarray Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/209)|22.90%|Medium| |208|[Implement Trie (Prefix Tree)](https://github.com/grandyang/LeetCode-All-In-One/issues/208)|24.80%|Medium| |207|[Course Schedule](https://github.com/grandyang/LeetCode-All-In-One/issues/207)|21.70%|Medium| |206|[Reverse Linked List](https://github.com/grandyang/LeetCode-All-In-One/issues/206)|31.50%|Easy| |205|[Isomorphic Strings](https://github.com/grandyang/LeetCode-All-In-One/issues/205)|24.20%|Easy| |204|[Count Primes](https://github.com/grandyang/LeetCode-All-In-One/issues/204)|19.00%|Easy| |203|[Remove Linked List Elements](https://github.com/grandyang/LeetCode-All-In-One/issues/203)|25.80%|Easy| |202|[Happy Number](https://github.com/grandyang/LeetCode-All-In-One/issues/202)|31.40%|Easy| |201|[Bitwise AND of Numbers Range](https://github.com/grandyang/LeetCode-All-In-One/issues/201)|23.30%|Medium| |200|[Number of Islands](https://github.com/grandyang/LeetCode-All-In-One/issues/200)|21.90%|Medium| |199|[Binary Tree Right Side View](https://github.com/grandyang/LeetCode-All-In-One/issues/199)|27.10%|Medium| |198|[House Robber](https://github.com/grandyang/LeetCode-All-In-One/issues/198)|28.80%|Easy| |197|[Rising Temperature](https://github.com/grandyang/LeetCode-All-In-One/issues/197) *|25.90%|Easy| |196|[Delete Duplicate Emails](https://github.com/grandyang/LeetCode-All-In-One/issues/196) *|19.00%|Easy| |195|[Tenth Line](https://github.com/grandyang/LeetCode-All-In-One/issues/195) #|32.20%|Easy| |194|[Transpose File](https://github.com/grandyang/LeetCode-All-In-One/issues/194) #|21.40%|Medium| |193|[Valid Phone Numbers](https://github.com/grandyang/LeetCode-All-In-One/issues/193) #|24.40%|Easy| |192|[Word Frequency](https://github.com/grandyang/LeetCode-All-In-One/issues/192) #|26.10%|Medium| |191|[Number of 1 Bits](https://github.com/grandyang/LeetCode-All-In-One/issues/191)|37.30%|Easy| |190|[Reverse Bits](https://github.com/grandyang/LeetCode-All-In-One/issues/190)|28.40%|Easy| |189|[Rotate Array](https://github.com/grandyang/LeetCode-All-In-One/issues/189)|17.80%|Easy| |188|[Best Time to Buy and Sell Stock IV](https://github.com/grandyang/LeetCode-All-In-One/issues/188)|17.30%|Hard| |187|[Repeated DNA Sequences](https://github.com/grandyang/LeetCode-All-In-One/issues/187)|19.50%|Medium| |186|[Reverse Words in a String II](https://github.com/grandyang/LeetCode-All-In-One/issues/186) $|31.10%|Medium| |185|[Department Top Three Salaries](https://github.com/grandyang/LeetCode-All-In-One/issues/185) *|15.20%|Hard| |184|[Department Highest Salary](https://github.com/grandyang/LeetCode-All-In-One/issues/184) *|19.00%|Medium| |183|[Customers Who Never Order](https://github.com/grandyang/LeetCode-All-In-One/issues/183) *|33.70%|Easy| |182|[Duplicate Emails](https://github.com/grandyang/LeetCode-All-In-One/issues/182) *|38.10%|Easy| |181|[Employees Earning More Than Their Managers](https://github.com/grandyang/LeetCode-All-In-One/issues/181) *|41.00%|Easy| |180|[Consecutive Numbers](https://github.com/grandyang/LeetCode-All-In-One/issues/180) *|26.60%|Medium| |179|[Largest Number](https://github.com/grandyang/LeetCode-All-In-One/issues/179)|15.70%|Medium| |178|[Rank Scores](https://github.com/grandyang/LeetCode-All-In-One/issues/178) *|24.60%|Medium| |177|[Nth Highest Salary](https://github.com/grandyang/LeetCode-All-In-One/issues/177) *|16.30%|Medium| |176|[Second Highest Salary](https://github.com/grandyang/LeetCode-All-In-One/issues/176) *|25.00%|Easy| |175|[Combine Two Tables](https://github.com/grandyang/LeetCode-All-In-One/issues/175) *|34.40%|Easy| |174|[Dungeon Game](https://github.com/grandyang/LeetCode-All-In-One/issues/174)|17.70%|Hard| |173|[Binary Search Tree Iterator](https://github.com/grandyang/LeetCode-All-In-One/issues/173)|29.30%|Medium| |172|[Factorial Trailing Zeroes](https://github.com/grandyang/LeetCode-All-In-One/issues/172)|28.40%|Easy| |171|[Excel Sheet Column Number](https://github.com/grandyang/LeetCode-All-In-One/issues/171)|36.50%|Easy| |170|[Two Sum III - Data structure design](https://github.com/grandyang/LeetCode-All-In-One/issues/170) $|24.70%|Easy| |169|[Majority Element](https://github.com/grandyang/LeetCode-All-In-One/issues/169)|35.00%|Easy| |168|[Excel Sheet Column Title](https://github.com/grandyang/LeetCode-All-In-One/issues/168)|18.10%|Easy| |167|[Two Sum II - Input array is sorted](https://github.com/grandyang/LeetCode-All-In-One/issues/167) $|43.30%|Medium| |166|[Fraction to Recurring Decimal](https://github.com/grandyang/LeetCode-All-In-One/issues/166)|12.70%|Medium| |165|[Compare Version Numbers](https://github.com/grandyang/LeetCode-All-In-One/issues/165)|15.20%|Easy| |164|[Maximum Gap](https://github.com/grandyang/LeetCode-All-In-One/issues/164)|24.40%|Hard| |163|[Missing Ranges](https://github.com/grandyang/LeetCode-All-In-One/issues/163) $|24.10%|Medium| |162|[Find Peak Element](https://github.com/grandyang/LeetCode-All-In-One/issues/162)|31.50%|Medium| |161|[One Edit Distance](https://github.com/grandyang/LeetCode-All-In-One/issues/161) $|24.00%|Medium| |160|[Intersection of Two Linked Lists](https://github.com/grandyang/LeetCode-All-In-One/issues/160)|28.70%|Easy| |159|[Longest Substring with At Most Two Distinct Characters](https://github.com/grandyang/LeetCode-All-In-One/issues/159) $|30.20%|Hard| |158|[Read N Characters Given Read4 II - Call multiple times](https://github.com/grandyang/LeetCode-All-In-One/issues/158) $|22.30%|Hard| |157|[Read N Characters Given Read4](https://github.com/grandyang/LeetCode-All-In-One/issues/157) $|29.80%|Easy| |156|[Binary Tree Upside Down](https://github.com/grandyang/LeetCode-All-In-One/issues/156) $|34.30%|Medium| |155|[Min Stack](https://github.com/grandyang/LeetCode-All-In-One/issues/155)|18.50%|Easy| |154|[Find Minimum in Rotated Sorted Array II](https://github.com/grandyang/LeetCode-All-In-One/issues/154)|31.90%|Hard| |153|[Find Minimum in Rotated Sorted Array](https://github.com/grandyang/LeetCode-All-In-One/issues/153)|33.30%|Medium| |152|[Maximum Product Subarray](https://github.com/grandyang/LeetCode-All-In-One/issues/152)|19.40%|Medium| |151|[Reverse Words in a String](https://github.com/grandyang/LeetCode-All-In-One/issues/151)|15.10%|Medium| |150|[Evaluate Reverse Polish Notation](https://github.com/grandyang/LeetCode-All-In-One/issues/150)|21.10%|Medium| |149|[Max Points on a Line](https://github.com/grandyang/LeetCode-All-In-One/issues/149)|12.60%|Hard| |148|[Sort List](https://github.com/grandyang/LeetCode-All-In-One/issues/148)|22.00%|Medium| |147|[Insertion Sort List](https://github.com/grandyang/LeetCode-All-In-One/issues/147)|26.40%|Medium| |146|[LRU Cache](https://github.com/grandyang/LeetCode-All-In-One/issues/146)|15.00%|Hard| |145|[Binary Tree Postorder Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/145)|32.40%|Hard| |144|[Binary Tree Preorder Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/144)|36.30%|Medium| |143|[Reorder List](https://github.com/grandyang/LeetCode-All-In-One/issues/143)|21.00%|Medium| |142|[Linked List Cycle II](https://github.com/grandyang/LeetCode-All-In-One/issues/142)|31.40%|Medium| |141|[Linked List Cycle](https://github.com/grandyang/LeetCode-All-In-One/issues/141)|36.30%|Medium| |140|[Word Break II](https://github.com/grandyang/LeetCode-All-In-One/issues/140)|17.70%|Hard| |139|[Word Break](https://github.com/grandyang/LeetCode-All-In-One/issues/139)|23.00%|Medium| |138|[Copy List with Random Pointer](https://github.com/grandyang/LeetCode-All-In-One/issues/138)|25.10%|Hard| |137|[Single Number II](https://github.com/grandyang/LeetCode-All-In-One/issues/137)|35.00%|Medium| |136|[Single Number](https://github.com/grandyang/LeetCode-All-In-One/issues/136)|45.10%|Medium| |135|[Candy](https://github.com/grandyang/LeetCode-All-In-One/issues/135)|20.50%|Hard| |134|[Gas Station](https://github.com/grandyang/LeetCode-All-In-One/issues/134)|25.70%|Medium| |133|[Clone Graph](https://github.com/grandyang/LeetCode-All-In-One/issues/133)|24.00%|Medium| |132|[Palindrome Partitioning II](https://github.com/grandyang/LeetCode-All-In-One/issues/132)|19.70%|Hard| |131|[Palindrome Partitioning](https://github.com/grandyang/LeetCode-All-In-One/issues/131)|26.70%|Medium| |130|[Surrounded Regions](https://github.com/grandyang/LeetCode-All-In-One/issues/130)|14.60%|Medium| |129|[Sum Root to Leaf Numbers](https://github.com/grandyang/LeetCode-All-In-One/issues/129)|30.30%|Medium| |128|[Longest Consecutive Sequence](https://github.com/grandyang/LeetCode-All-In-One/issues/128)|29.40%|Hard| |127|[Word Ladder](https://github.com/grandyang/LeetCode-All-In-One/issues/127)|19.30%|Medium| |126|[Word Ladder II](https://github.com/grandyang/LeetCode-All-In-One/issues/126)|12.90%|Hard| |125|[Valid Palindrome](https://github.com/grandyang/LeetCode-All-In-One/issues/125)|22.00%|Easy| |124|[Binary Tree Maximum Path Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/124)|21.50%|Hard| |123|[Best Time to Buy and Sell Stock III](https://github.com/grandyang/LeetCode-All-In-One/issues/123)|23.90%|Hard| |122|[Best Time to Buy and Sell Stock II](https://github.com/grandyang/LeetCode-All-In-One/issues/122)|38.30%|Medium| |121|[Best Time to Buy and Sell Stock](https://github.com/grandyang/LeetCode-All-In-One/issues/121)|32.60%|Medium| |120|[Triangle](https://github.com/grandyang/LeetCode-All-In-One/issues/120)|27.40%|Medium| |119|[Pascal's Triangle II](https://github.com/grandyang/LeetCode-All-In-One/issues/119)|29.40%|Easy| |118|[Pascal's Triangle](https://github.com/grandyang/LeetCode-All-In-One/issues/118)|30.10%|Easy| |117|[Populating Next Right Pointers in Each Node II](https://github.com/grandyang/LeetCode-All-In-One/issues/117)|32.00%|Hard| |116|[Populating Next Right Pointers in Each Node](https://github.com/grandyang/LeetCode-All-In-One/issues/116)|36.20%|Medium| |115|[Distinct Subsequences](https://github.com/grandyang/LeetCode-All-In-One/issues/115)|26.30%|Hard| |114|[Flatten Binary Tree to Linked List](https://github.com/grandyang/LeetCode-All-In-One/issues/114)|28.80%|Medium| |113|[Path Sum II](https://github.com/grandyang/LeetCode-All-In-One/issues/113)|26.60%|Medium| |112|[Path Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/112)|29.80%|Easy| |111|[Minimum Depth of Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/111)|29.10%|Easy| |110|[Balanced Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/110)|32.00%|Easy| |109|[Convert Sorted List to Binary Search Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/109)|27.90%|Medium| |108|[Convert Sorted Array to Binary Search Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/108)|34.00%|Medium| |107|[Binary Tree Level Order Traversal II](https://github.com/grandyang/LeetCode-All-In-One/issues/107)|31.10%|Easy| |106|[Construct Binary Tree from Inorder and Postorder Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/106)|26.80%|Medium| |105|[Construct Binary Tree from Preorder and Inorder Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/105)|26.40%|Medium| |104|[Maximum Depth of Binary Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/104)|45.10%|Easy| |103|[Binary Tree Zigzag Level Order Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/103)|26.40%|Medium| |102|[Binary Tree Level Order Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/102)|29.30%|Easy| |101|[Symmetric Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/101)|31.60%|Easy| |100|[Same Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/100)|41.80%|Easy| |99|[Recover Binary Search Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/99)|24.30%|Hard| |98|[Validate Binary Search Tree](https://github.com/grandyang/LeetCode-All-In-One/issues/98)|20.60%|Medium| |97|[Interleaving String](https://github.com/grandyang/LeetCode-All-In-One/issues/97)|20.80%|Hard| |96|[Unique Binary Search Trees](https://github.com/grandyang/LeetCode-All-In-One/issues/96)|36.00%|Medium| |95|[Unique Binary Search Trees II](https://github.com/grandyang/LeetCode-All-In-One/issues/95)|28.00%|Medium| |94|[Binary Tree Inorder Traversal](https://github.com/grandyang/LeetCode-All-In-One/issues/94)|36.20%|Medium| |93|[Restore IP Addresses](https://github.com/grandyang/LeetCode-All-In-One/issues/93)|21.00%|Medium| |92|[Reverse Linked List II](https://github.com/grandyang/LeetCode-All-In-One/issues/92)|26.10%|Medium| |91|[Decode Ways](https://github.com/grandyang/LeetCode-All-In-One/issues/91)|16.40%|Medium| |90|[Subsets II](https://github.com/grandyang/LeetCode-All-In-One/issues/90)|27.70%|Medium| |89|[Gray Code](https://github.com/grandyang/LeetCode-All-In-One/issues/89)|32.80%|Medium| |88|[Merge Sorted Array](https://github.com/grandyang/LeetCode-All-In-One/issues/88)|29.70%|Easy| |87|[Scramble String](https://github.com/grandyang/LeetCode-All-In-One/issues/87)|24.20%|Hard| |86|[Partition List](https://github.com/grandyang/LeetCode-All-In-One/issues/86)|27.50%|Medium| |85|[Maximal Rectangle](https://github.com/grandyang/LeetCode-All-In-One/issues/85)|22.00%|Hard| |84|[Largest Rectangle in Histogram](https://github.com/grandyang/LeetCode-All-In-One/issues/84)|22.60%|Hard| |83|[Remove Duplicates from Sorted List](https://github.com/grandyang/LeetCode-All-In-One/issues/83)|34.50%|Easy| |82|[Remove Duplicates from Sorted List II](https://github.com/grandyang/LeetCode-All-In-One/issues/82)|25.00%|Medium| |81|[Search in Rotated Sorted Array II](https://github.com/grandyang/LeetCode-All-In-One/issues/81)|31.40%|Medium| |80|[Remove Duplicates from Sorted Array II](https://github.com/grandyang/LeetCode-All-In-One/issues/80)|30.50%|Medium| |79|[Word Search](https://github.com/grandyang/LeetCode-All-In-One/issues/79)|20.30%|Medium| |78|[Subsets](https://github.com/grandyang/LeetCode-All-In-One/issues/78)|28.20%|Medium| |77|[Combinations](https://github.com/grandyang/LeetCode-All-In-One/issues/77)|30.90%|Medium| |76|[Minimum Window Substring](https://github.com/grandyang/LeetCode-All-In-One/issues/76)|18.90%|Hard| |75|[Sort Colors](https://github.com/grandyang/LeetCode-All-In-One/issues/75)|32.60%|Medium| |74|[Search a 2D Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/74)|31.60%|Medium| |73|[Set Matrix Zeroes](https://github.com/grandyang/LeetCode-All-In-One/issues/73)|31.40%|Medium| |72|[Edit Distance](https://github.com/grandyang/LeetCode-All-In-One/issues/72)|26.20%|Hard| |71|[Simplify Path](https://github.com/grandyang/LeetCode-All-In-One/issues/71)|20.00%|Medium| |70|[Climbing Stairs](https://github.com/grandyang/LeetCode-All-In-One/issues/70)|34.40%|Easy| |69|[Sqrt(x)](https://github.com/grandyang/LeetCode-All-In-One/issues/69)|23.10%|Medium| |68|[Text Justification](https://github.com/grandyang/LeetCode-All-In-One/issues/68)|14.60%|Hard| |67|[Add Binary](https://github.com/grandyang/LeetCode-All-In-One/issues/67)|24.70%|Easy| |66|[Plus One](https://github.com/grandyang/LeetCode-All-In-One/issues/66)|30.40%|Easy| |65|[Valid Number](https://github.com/grandyang/LeetCode-All-In-One/issues/65)|11.40%|Hard| |64|[Minimum Path Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/64)|32.20%|Medium| |63|[Unique Paths II](https://github.com/grandyang/LeetCode-All-In-One/issues/63)|28.00%|Medium| |62|[Unique Paths](https://github.com/grandyang/LeetCode-All-In-One/issues/62)|32.80%|Medium| |61|[Rotate List](https://github.com/grandyang/LeetCode-All-In-One/issues/61)|21.70%|Medium| |60|[Permutation Sequence](https://github.com/grandyang/LeetCode-All-In-One/issues/60)|22.80%|Medium| |59|[Spiral Matrix II](https://github.com/grandyang/LeetCode-All-In-One/issues/59)|31.80%|Medium| |58|[Length of Last Word](https://github.com/grandyang/LeetCode-All-In-One/issues/58)|28.00%|Easy| |57|[Insert Interval](https://github.com/grandyang/LeetCode-All-In-One/issues/57)|21.40%|Hard| |56|[Merge Intervals](https://github.com/grandyang/LeetCode-All-In-One/issues/56)|22.40%|Hard| |55|[Jump Game](https://github.com/grandyang/LeetCode-All-In-One/issues/55)|27.00%|Medium| |54|[Spiral Matrix](https://github.com/grandyang/LeetCode-All-In-One/issues/54)|20.80%|Medium| |53|[Maximum Subarray](https://github.com/grandyang/LeetCode-All-In-One/issues/53)|34.50%|Medium| |52|[N-Queens II](https://github.com/grandyang/LeetCode-All-In-One/issues/52)|35.80%|Hard| |51|[N-Queens](https://github.com/grandyang/LeetCode-All-In-One/issues/51)|26.50%|Hard| |50|"Pow(x| n)"|26.70%| |49|[Anagrams](https://github.com/grandyang/LeetCode-All-In-One/issues/49)|24.30%|Medium| |48|[Rotate Image](https://github.com/grandyang/LeetCode-All-In-One/issues/48)|31.90%|Medium| |47|[Permutations II](https://github.com/grandyang/LeetCode-All-In-One/issues/47)|25.80%|Hard| |46|[Permutations](https://github.com/grandyang/LeetCode-All-In-One/issues/46)|31.90%|Medium| |45|[Jump Game II](https://github.com/grandyang/LeetCode-All-In-One/issues/45)|24.20%|Hard| |44|[Wildcard Matching](https://github.com/grandyang/LeetCode-All-In-One/issues/44)|15.00%|Hard| |43|[Multiply Strings](https://github.com/grandyang/LeetCode-All-In-One/issues/43)|21.00%|Medium| |42|[Trapping Rain Water](https://github.com/grandyang/LeetCode-All-In-One/issues/42)|30.00%|Hard| |41|[First Missing Positive](https://github.com/grandyang/LeetCode-All-In-One/issues/41)|22.90%|Hard| |40|[Combination Sum II](https://github.com/grandyang/LeetCode-All-In-One/issues/40)|25.20%|Medium| |39|[Combination Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/39)|27.90%|Medium| |38|[Count and Say](https://github.com/grandyang/LeetCode-All-In-One/issues/38)|25.20%|Easy| |37|[Sudoku Solver](https://github.com/grandyang/LeetCode-All-In-One/issues/37)|21.80%|Hard| |36|[Valid Sudoku](https://github.com/grandyang/LeetCode-All-In-One/issues/36)|27.20%|Easy| |35|[Search Insert Position](https://github.com/grandyang/LeetCode-All-In-One/issues/35)|35.40%|Medium| |34|[Search for a Range](https://github.com/grandyang/LeetCode-All-In-One/issues/34)|27.50%|Medium| |33|[Search in Rotated Sorted Array](https://github.com/grandyang/LeetCode-All-In-One/issues/33)|28.80%|Hard| |32|[Longest Valid Parentheses](https://github.com/grandyang/LeetCode-All-In-One/issues/32)|20.90%|Hard| |31|[Next Permutation](https://github.com/grandyang/LeetCode-All-In-One/issues/31)|25.00%|Medium| |30|[Substring with Concatenation of All Words](https://github.com/grandyang/LeetCode-All-In-One/issues/30)|19.40%|Hard| |29|[Divide Two Integers](https://github.com/grandyang/LeetCode-All-In-One/issues/29)|15.00%|Medium| |28|[Implement strStr()](https://github.com/grandyang/LeetCode-All-In-One/issues/28)|22.20%|Easy| |27|[Remove Element](https://github.com/grandyang/LeetCode-All-In-One/issues/27)|32.10%|Easy| |26|[Remove Duplicates from Sorted Array](https://github.com/grandyang/LeetCode-All-In-One/issues/26)|31.30%|Easy| |25|[Reverse Nodes in k-Group](https://github.com/grandyang/LeetCode-All-In-One/issues/25)|25.50%|Hard| |24|[Swap Nodes in Pairs](https://github.com/grandyang/LeetCode-All-In-One/issues/24)|32.50%|Medium| |23|[Merge k Sorted Lists](https://github.com/grandyang/LeetCode-All-In-One/issues/23)|21.10%|Hard| |22|[Generate Parentheses](https://github.com/grandyang/LeetCode-All-In-One/issues/22)|32.60%|Medium| |21|[Merge Two Sorted Lists](https://github.com/grandyang/LeetCode-All-In-One/issues/21)|32.70%|Easy| |20|[Valid Parentheses](https://github.com/grandyang/LeetCode-All-In-One/issues/20)|26.50%|Easy| |19|[Remove Nth Node From End of List](https://github.com/grandyang/LeetCode-All-In-One/issues/19)|27.10%|Easy| |18|[4Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/18)|21.70%|Medium| |17|[Letter Combinations of a Phone Number](https://github.com/grandyang/LeetCode-All-In-One/issues/17)|25.80%|Medium| |16|[3Sum Closest](https://github.com/grandyang/LeetCode-All-In-One/issues/16)|26.90%|Medium| |15|[3Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/15)|16.90%|Medium| |14|[Longest Common Prefix](https://github.com/grandyang/LeetCode-All-In-One/issues/14)|25.50%|Easy| |13|[Roman to Integer](https://github.com/grandyang/LeetCode-All-In-One/issues/13)|34.00%|Easy| |12|[Integer to Roman](https://github.com/grandyang/LeetCode-All-In-One/issues/12)|33.80%|Medium| |11|[Container With Most Water](https://github.com/grandyang/LeetCode-All-In-One/issues/11)|32.00%|Medium| |10|[Regular Expression Matching](https://github.com/grandyang/LeetCode-All-In-One/issues/10)|20.70%|Hard| |9|[Palindrome Number](https://github.com/grandyang/LeetCode-All-In-One/issues/9)|28.30%|Easy| |8|[String to Integer (atoi)](https://github.com/grandyang/LeetCode-All-In-One/issues/8)|13.00%|Easy| |7|[Reverse Integer](https://github.com/grandyang/LeetCode-All-In-One/issues/7)|25.10%|Easy| |6|[ZigZag Conversion](https://github.com/grandyang/LeetCode-All-In-One/issues/6)|21.80%|Easy| |5|[Longest Palindromic Substring](https://github.com/grandyang/LeetCode-All-In-One/issues/5)|20.70%|Medium| |4|[Median of Two Sorted Arrays](https://github.com/grandyang/LeetCode-All-In-One/issues/4)|17.40%|Hard| |3|[Longest Substring Without Repeating Characters](https://github.com/grandyang/LeetCode-All-In-One/issues/3)|20.60%|Medium| |2|[Add Two Numbers](https://github.com/grandyang/LeetCode-All-In-One/issues/2)|21.10%|Medium| |1|[Two Sum](https://github.com/grandyang/LeetCode-All-In-One/issues/1)|17.70%|Medium| <br> ## WeChat Official Subscription Account Welcome to follow my subscription account on Wechat, I will update the newest updated problem solution and explanation. And also welcome to add me as your wechat friend. <!--  --> <img src="wechat-shua2sum.png" width="400"/><br> <br> ## iOS APP - Leetcode Meet Me This app displays all practical coding problems from leetcode.com, and provids the solutions. <img src="leetcode-meet-me.gif" width="300"/><br> ### Available on Apple Store: [https://itunes.apple.com/us/app/leetcode-meet-me/id1227610436?mt=8](https://itunes.apple.com/us/app/leetcode-meet-me/id1227610436?mt=8) <br> ## Special Thanks Special thanks to [@notfresh](https://github.com/notfresh) to help extract the blog content in markdown format from my [cnblogs](https://www.cnblogs.com/grandyang/).