Skip to content

Commit fe28266

Browse files
authored
Update 5.最长回文子串.go
1 parent b9bd645 commit fe28266

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

LeetCode/all/5.最长回文子串.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ func longestPalindrome(s string) string {
7272
dp[i] = make([]bool,n)
7373
dp[i][i] = true
7474
}
75-
7675
// 枚举子串长度,从 2 开始,最长为 n
7776
for L := 2;L < n + 1;L++{
7877
// 枚举左边界

0 commit comments

Comments
 (0)