Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for Common Tail by kazuki.h
def common_tail(a, b):
result = None
for i, j in zip(a[::-1], b[::-1]):
if i == j: result = i
else: break
return result
Sept. 29, 2022
Comments: