Find the longest palindrome in a string
Reverse the string, and use suffix tree O(n) or dp O(n^2) to find longest common substring
this is not right!!!
longest common substring is not longest palindrome in a string
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment