Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Rotate Hole by kdim
def rotate(state, pipe_numbers):
l = len(state)
return [n for n in range(l) if all(state[(i - n) % l] for i in pipe_numbers)]
Aug. 13, 2023
Comments: