Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Break Rings by thibault.dereu
from itertools import product
def break_rings(rings):
p = product(*rings)
return min(len(set(r)) for r in p)
Dec. 29, 2015
Comments: