Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Recursion solution in Clear category for The Longest Palindromic by MrPod
longest_palindromic = lambda t: max(sorted((longest_palindromic(t[1:]), longest_palindromic(t[:-1:]))), key=len) if t != t[::-1] else t
Jan. 27, 2018