Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
re.findall solution in Clear category for Double Substring by gyahun_dash
from re import findall
def double_substring(line):
return max(len(ss) for ss in findall(r'(?=(.*).*\1)', line))
March 21, 2018