![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
d529365948
这个作者很懒,什么都没留下…
展开
-
LeetCode 5.Longest Palindromic Substring的DP解法
题目描述: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 翻译:给定一个string s,找出s的最大回文子串,假设字符串长度最长为1000.example:原创 2017-07-20 16:23:47 · 313 阅读 · 0 评论 -
LeetCode 11. Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two原创 2017-07-21 17:21:38 · 153 阅读 · 0 评论 -
LeetCode 17. Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephone buttons) is given below.Input:Digit st原创 2017-07-22 10:14:56 · 155 阅读 · 0 评论 -
LeetCode 36. Valid Sudoku
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with the character '.'.A partially fille转载 2017-07-25 22:08:58 · 160 阅读 · 0 评论