leetcode开始刷题!
leetcode属于比较经典的题集了,最近的工作比较闲,因此我来刷一刷,此题的顺序是按照牛客网上的顺序,按照难度开始刷,下面开始刷题的旅程!
入门
简单
leetcode 35:populating-next-right-pointers-in-each-node
leetcode 54:unique-binary-search-trees
leetcode 74:sort-colors
leetcode 88:unique-paths
leetcode 98:n-queens-ii
中等
leetcode 14:single-number-ii
leetcode 18:clone-graph
leetcode 34:populating-next-right-pointer-in-each-node-ii
leetcode 36:distinct-sunsequence
leetcode 48:symmetric-tree
leetcode 50:recover-binary-search-tree
leetcode 51:validate-binary-search-tree
leetcode 53:unique-binary-search-trees-ii
leetcode 60:gray-code
leetcode 61:merge-sorted-array
leetcode 62:scramble-string
leetcode 63:partition-list
leetcode 65:largest-rectangle-in-histogram
leetcode 66:remove-duplicates-from-sorted-list-ii
leetcode 68:search-in-rotated-sorted-array-ii
leetcode 69:remove-duplicates-from-sorted-array-ii
leetcode 70:word-search
leetcode 71:subsets
leetcode 72:combinations
leetcode 73:minimum-window-substring
leetcode 75:search-a-2d-matrix
leetcode 77:edit-distance
leetcode 80:sqrtx
leetcode 82:plus-one
leetcode 84:add-binary
leetcode 86:minimum-path-sum
leetcode 87:unique-paths-ii
leetcode 92:length-of-last-word
leetcode 95:jump-game
leetcode 99:n-queues
leetcode 101:anagrams
leetcode 103:permutations-ii
leetcode 104:permutaions
leetcode 105:jump-game-ii
leetcode 108:trapping-rain-water
leetcode 110:combination-sum-ii
leetcode 112:count-and-say
leetcode 114:valid-sudoku
leetcode 115:search-insert-position
leetcode 116:search-for-a-range
leetcode 117:search-in-rotated-sorted-array
leetcode 119:next-permutation
leetcode 124:remove-duplicates-from-sorted-array
leetcode 125:reverse-nodes-in-k-group
leetcode 126:swap-nodes-in-pairs
leetcode 128:generate-parentheses
leetcode 129:valid-parentheses
leetcode 130:remove-nth-node-from-end-of-list
leetcode 131:letter-combinations-of-a-phone-number
leetcode 133:3sum-closetst
leetcode 135:longest-common-prefix
leetcode 139:regular-expression-matching
leetcode 143:zigzag-conversion
leetcode 146:longest-substring-without-repeating-characters
较难
leetcode 1:Minimum Depth of Binary tree
leetcode 2:evaluate-reverse-polish-notation
leetcode 4:sort-list
leetcode 5:insertion-sort-list
leetcode 8:reorder-list
leetcode 12:word-break
leetcode 16:candy
leetcode 19:palindrome-partitioning-ii
leetcode 20:palindrome-partitioning
leetcode 21:surrounded-regions
leetcode 25:word-ladder
leetcode 26:valid-palindrome
leetcode 27:binary-tree-maximum-path-sum
leetcode 28:best-time-to-buy-and-sell-stock-iii
leetcode 40:convert-sorted-list-to-binary-search-tree
leetcode 41:convert-sorted-array-to-binary-search-tree
leetcode 46:binary-tree-zigzag-level-order-traversal
leetcode 52:interleaving-string
leetcode 56:restore-ip-addresses
leetcode 57:reverse-linked-list-ii
leetcode 58:subsets-ii
leetcode 59:decode-ways
leetcode 64:maximal-rectangle
leetcode 78:simplify-path
leetcode 89:rotate-list
leetcode 90:permutation-sequence
leetcode 93:insert-interval
leetcode 94:merge-interval
leetcode 96:spiral-matrix
leetcode 100:powx-n
leetcode 106:wildcard-matching
leetcode 107:multiply-strings
leetcode 109:first-missing-positive
leetcode 111:combination-sum
leetcode 113:sudoku-solver
leetcode 118:longgest-valid-parentheses
leetcode 120:substring-with-concatenation-of-all-words
leetcode 121:divide-two-integers
leetcode 122:implement-strstr
leetcode 127:merge-k-sorted-lists
leetcode 132:4sum
leetcode 134:3sum
leetcode 141:string-to-integer-atoi
leetcode 144:longgst-palindromic-substring
leetcode 145:add-two-numbers
leetcode 147:median-of-two-sorted-arrays
leetcode 148:two-sum
困难
leetcode 3:max-points-on-a-line
leetcode 11:word-break-ii
leetcode 24:word-ladder-ii
leetcode 81:text-justification
leetcode 83:valid-number