Finding the longest palindromic substring
Finding the longest palindromic substring
Given a string, find the longest palindromic contiguous substring. If there are more than one with the maximum length, return any one.
via /r/programming and /r/compsci [reddit]