Tuesday, December 8, 2015

Problem - Find maximal palindromic subsequence/substring of given string.

Following is one of the solution. But it is not efficient one.
It takes O(n2) for both time and space.


No comments:

Post a Comment