Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
┗(`O´)┛ solution in Clear category for Long Non Repeat by vmiimu
from collections import Counter
from itertools import combinations as combo
non_repeat = lambda s: s if not s else max([s[b:e] for b,e in combo(range(len(s)+1),2) if max(Counter(s[b:e]).values()) == 1], key=len)
Jan. 21, 2019