以下会不定期的整理些Leetcode上的算法解题思路,算是在算法的学习之路上有些沉淀。
keep foolish, keep hungry.
IDTitleAcceptanceDifficultyStatus65Valid Number 12.70%Hardtodo126Word Ladder II 14.00%Hardtodo149Max Points on a Line 15.30%HardDONE564Find the Closest Palindrome 16.50%HardDONE146LRU Cache 17.40%HardDONE68Text Justification 18.90%HardDONE44Wildcard Matching 19.90%HardDONE493Reverse Pairs 19.90%HardDONE420Strong Password Checker 20.10%HardDONE4Median of Two Sorted Arrays 21.50%Hardtodo30Substring with Concatenation of All Words 21.90%Hardtodo273Integer to English Words 21.90%Hardtodo639Decode Ways II New22.10%Hardtodo308Range Sum Query 2D - Mutable 22.10%Hardtodo32Longest Valid Parentheses 23.00%Hardtodo140Word Break II 23.00%Hardtodo212Word Search II 23.20%Hardtodo460LFU Cache 23.20%Hardtodo631Design Excel Sum Formula 23.30%Hardtodo269Alien Dictionary 23.50%Hardtodo174Dungeon Game 23.60%Hardtodo214Shortest Palindrome 24.00%Hardtodo132Palindrome Partitioning II 24.00%Hardtodo10Regular Expression Matching 24.00%Hardtodo440K-th Smallest in Lexicographical Order 24.10%Hardtodo158 Read N Characters Given Read4 II - Call multiple times 24.20%Hardtodo188Best Time to Buy and Sell Stock IV 24.20%Hardtodo629K Inverse Pairs Array 24.40%Hardtodo321Create Maximum Number 24.40%Hardtodo97Interleaving String 24.50%Hardtodo135Candy 24.50%Hardtodo335Self Crossing 25.00%Hardtodo76Minimum Window Substring 25.00%Hardtodo41First Missing Positive 25.40%Hardtodo124Binary Tree Maximum Path Sum 25.90%Hardtodo336Palindrome Pairs 26.00%Hardtodo391Perfect Rectangle 26.00%Hardtodo295Find Median from Data Stream 26.10%Hardtodo446Arithmetic Slices II - Subsequence 26.10%Hardtodo45Jump Game II 26.20%Hardtodo591Tag Validator 26.40%Hardtodo84Largest Rectangle in Histogram 26.50%Hardtodo224Basic Calculator 26.80%Hardtodo218The Skyline Problem 26.90%Hardtodo23Merge k Sorted Lists 27.00%Hardtodo57Insert Interval 27.40%Hardtodo85Maximal Rectangle 27.50%Hardtodo600 Non-negative Integers without Consecutive Ones 27.60%Hardtodo432All O`one Data Structure 27.60%Hardtodo466Count The Repetitions 27.60%Hardtodo233Number of Digit One 28.20%Hardtodo381 Insert Delete GetRandom O(1) - Duplicates allowed 28.70%Hardtodo87Scramble String 29.00%Hardtodo123Best Time to Buy and Sell Stock III 29.10%Hardtodo164Maximum Gap 29.40%Hardtodo316Remove Duplicate Letters 29.40%Hardtodo282Expression Add Operators 29.50%Hardtodo327Count of Range Sum 29.50%Hardtodo99Recover Binary Search Tree 29.70%Hardtodo37Sudoku Solver 29.80%Hardtodo472Concatenated Words 30.00%Hardtodo552Student Attendance Record II 30.00%Hardtodo587Erect the Fence 30.10%Hardtodo25Reverse Nodes in k-Group 30.60%Hardtodo51N-Queens 30.60%Hardtodo115Distinct Subsequences 31.40%Hardtodo480Sliding Window Median 31.50%Hardtodo72Edit Distance 31.50%Hardtodo546Remove Boxes 31.60%Hardtodo499The Maze III 31.60%Hardtodo248Strobogrammatic Number III 31.60%Hardtodo358Rearrange String k Distance Apart 31.80%Hardtodo330Patching Array 31.90%Hardtodo483Smallest Good Base 31.90%Hardtodo403Frog Jump 31.90%Hardtodo354Russian Doll Envelopes 32.00%Hardtodo411Minimum Unique Word Abbreviation 32.30%Hardtodo588Design In-Memory File System 32.60%Hardtodo239Sliding Window Maximum 32.70%Hardtodo363Max Sum of Rectangle No Larger Than K 32.90%Hardtodo297Serialize and Deserialize Binary Tree 33.00%Hardtodo317Shortest Distance from All Buildings 33.70%Hardtodo315Count of Smaller Numbers After Self 34.30%Hardtodo301Remove Invalid Parentheses 35.00%Hardtodo502IPO 35.40%Hardtodo465Optimal Account Balancing 35.40%Hardtodo329Longest Increasing Path in a Matrix 36.10%Hardtodo410Split Array Largest Sum 36.30%Hardtodo42Trapping Rain Water 36.50%Hardtodo128Longest Consecutive Sequence 36.50%Hardtodo407Trapping Rain Water II 36.60%Hardtodo517Super Washing Machines 36.60%Hardtodo154Find Minimum in Rotated Sorted Array II 36.90%Hardtodo488Zuma Game 37.00%Hardtodo514Freedom Trail 37.50%Hardtodo265Paint House II 37.80%Hardtodo291Word Pattern II 37.90%Hardtodo340 Longest Substring with At Most K Distinct Characters 38.50%Hardtodo272Closest Binary Search Tree Value II 38.60%Hardtodo305Number of Islands II 38.70%Hardtodo527Word Abbreviation 38.90%Hardtodo568Maximum Vacation Days 39.80%Hardtodo145Binary Tree Postorder Traversal 39.90%Hardtodo352Data Stream as Disjoint Intervals 39.90%Hardtodo159 Longest Substring with At Most Two Distinct Characters 40.90%Hardtodo471Encode String with Shortest Length 41.60%Hardtodo425Word Squares 42.20%Hardtodo312Burst Balloons 42.40%Hardtodo52N-Queens II 44.40%Hardtodo302Smallest Rectangle Enclosing Black Pixels 45.20%Hardtodo632Smallest Range 45.30%HardDONE147Insertion Sort List 32.90%MediumDONE127 Word Ladder 19.30%MediumDONE
---------------------------------------------------------------------------------------------------
本文链接:http://blog.csdn.net/karen0310/article/details/75007343
请尊重作者的劳动成果,转载请注明出处!
---------------------------------------------------------------------------------------------------
