- 博客(2)
- 收藏
- 关注
原创 Leetcode 72. Edit Distance
用动态规划思想解决 For Example: word1="abb", word2="abccb" 1) Initialize the DP matrix as below: "" a b c c b "" 0 1 2 3 4
2018-11-19 14:44:12 61
原创 Leetcode 5. Longest Palindromic Substring
Leetcode 5. Longest Palindromic Substring 1. 题目 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: “babad” Output: “b...
2018-11-19 10:55:28 176
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人