The Algo Blog
Blog on algorithms, puzzles, programming .... musings of a computer engineer.
Longest Panlindrome in a string
Write a function that returns the longest palindrome in a given string. e.g "ccddcc" in the string "abaccddccefe"
Answer (select to see):
Use Suffix trees (http://www.allisons.org/ll/AlgDS/Tree/Suffix/)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment