-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
https://joke-lin.top/2018/10/01/2018-10-01-manacher/
leetcode5:https://leetcode-cn.com/problems/longest-palindromic-substring/description/
可以自己提交看看对不对
暴力搜索
这个应该是最容易的方法了,但是一看复杂度O(n3),还是放弃好了。
但是这个方法也是遍历所有字符串字串的一种方法。下面是暴力搜索的代码:
Reactions are currently unavailable