编号 题目 类型 难度 解答 1 TwoSum 数组 哈希表 Easy Go Python 387 FirstUniqueCharacterInAString 哈希表 字符串 Easy Go Python 8 StringToIntegerAtoi 数学 字符串 Medium Go Python 115 DistinctSubsequences 字符串 动态规划 Hard Go Python 1143 LongestCommonSubsequence 字符串 动态规划 Medium Go Python 1 two-sum 数组 哈希表 Easy Go Python 387 first-unique-character-in-a-string 哈希表 字符串 Easy Go Python 8 string-to-integer-atoi 数学 字符串 Medium Go Python 541 reverse-string-ii 字符串 Easy Go Python 151 reverse-words-in-a-string 字符串 Medium Go Python 557 reverse-words-in-a-string-iii 字符串 Medium Python 917 reverse-only-letters 字符串 Medium Python 438 find-all-anagrams-in-a-string 哈希表 字符串 滑动窗口 Medium Python 5 longest-palindromic-substring 动态规划 Medium Python 680 valid-palindrome-ii 字符串 Easy Python 205 isomorphic-strings 字符串 Easy Python 32 longest-valid-parentheses 字符串 动态规划 栈 Hard Python 115 distinct-subsequences 字符串 动态规划 Hard Go 85 maximal-rectangle 栈 数组 哈希表 动态规划 Hard Python 84 largest-rectangle-in-histogram 栈 数组 动态规划 Hard Python 127 word-ladder 广度优先搜索 Medium Python 126 word-ladder-ii 广度优先搜索 数组 字符串 回溯算法 Hard Python 433 minimum-genetic-mutation 广度优先搜索 数组 字符串 回溯算法 Medium Python 1091 shortest-path-in-binary-matrix 广度优先搜索 Medium Python 733 sliding-puzzle 广度优先搜索 Medium Python 10 regular-expression-matching 字符串 动态规划 回溯算法 Hard Python 44 wildcard-matching 贪心算法 字符串 动态规划 回溯算法 Hard Python 120 triangle 数组 动态规划 Medium Python 70 triangle 数组 动态规划 Medium Python 70 ones-and-zeroes 动态规划 Medium Python