Skip to main content
Search
Search This Blog
TheLuckyBlog
Pages
Home
工作日记
刷题日记
More…
Share
Get link
Facebook
Twitter
Pinterest
Email
Other Apps
DP
Leetcode 516
construct a 2 dimensional array, dp[j][i] which hold the max length of palindromic substring from i to j, then inside the inner loop, start with i-1, remember to take care of the case where j=i-1
Comments
Popular Posts
社交技巧
认知天性学习笔记
Comments
Post a Comment