Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Common Words by Szymon.Jankowski
def checkio(first, second):
x={}
l1=first.split(',')
l2=second.split(',')
for i in l1:
x[i]=0
for i in l2:
x[i]=0
for i in l1:
x[i]+=1
for i in l2:
x[i]+=1
y = sorted(x, key=x.__getitem__, reverse=True)
if x[y[0]]==1 and x[y[-1]]==1:
return ""
i=0
z=[y[0]]
while ((x[y[i]]==x[y[i+1]]) and i
Nov. 18, 2018