leetcode 序号 名称 难度 标签 答案 备注 排名 1 two-sum easy Python Java 99% 2 add-two-numbers medium Python 3 longest-substring-without-repeating-characters medium Python 4 median-of-two-sorted-arrays hard Python 5 longest-palindromic-substring medium Python 6 zigzag-conversion medium Python 7 reverse-integer medium Python 8 string-to-integer-atoi medium Python 9 palindrome-number easy Python 10 regular-expression-matching hard Python 11 container-with-most-water medium Python 12 integer-to-roman medium Python 13 roman-to-integer easy Python 14 longest-common-prefix easy Python 15 3sum medium Python 16 3sum-closest medium Python 17 letter-combinations-of-a-phone-number medium Python 18 4sum medium Python 19 remove-nth-node-from-end-of-list medium Python 20 valid-parentheses easy Python 21 merge-two-sorted-lists easy Python 22 generate-parentheses medium Python 23 merge-k-sorted-lists hard Python 24 swap-nodes-in-pairs medium Python 25 reverse-nodes-in-k-group hard Python 26 remove-duplicates-from-sorted-array easy Python 27 remove-element easy Python 28 find-the-index-of-the-first-occurrence-in-a-string medium Python 29 divide-two-integers medium Python 30 substring-with-concatenation-of-all-words hard Python 73.13% 31 next-permutation medium Python 99.45% 32 longest-valid-parentheses hard Python 94.82% 33 search-in-rotated-sorted-array medium 二分法 Python 65.84% 34 find-first-and-last-position-of-element-in-sorted-array medium 二分法 Python 33.12% 35 search-insert-position easy 二分查找 Python 73.26% 36 valid-sudoku medium Python 37 sudoku-solver hard Python 38 count-and-say medium Python 39 combination-sum medium Python 46 permutations medium Python 47 permutations-ii medium Python 53 maximum-subarray medium Python 69 sqrtx easy Python 102 binary-tree-level-order-traversal medium Python 136 single-number easy 异或运算 Python 95.55% 141 linked-list-cycle easy Python 86% 146 lru-cache medium Python 202 happy-number easy Python 206 reverse-linked-list easy Python 61.23% 300 longest-increasing-subsequence medium Python 30.35% 443 string-compression medium Python 454 4sum-ii medium Python 500 keyboard-row easy Python 771 jewels-and-stones easy N Sum Python 30.55% 807 max-increase-to-keep-city-skyline medium N Sum Python 97.58% 相关文章 二叉查找树 冒泡、选择与插入排序 求质数的几种方法 八皇后问题 汉诺塔问题 其他 若对项目组织结构感兴趣,可以使用leetcode-problems-crawler进行题目的抓取。