Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for Determine the Order by lechrudik
def checkio(data):
s = ''
d = {i: ''.join([x[:x.index(i)] for x in data if x.count(i)]) for i in set(''.join(data))}
while d:
for i in sorted(list(d.keys())):
if d[i] == '':
s += i
d.pop(i)
for c in d.keys():
if d[c].find(i) >= 0:
d[c] = d[c].replace(i, '')
return s
Oct. 15, 2020
Comments: