Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Rotate Hole by David_Jones
def rotate(state, pipe_numbers):
return [turn for turn in range(len(state))
if all(state[pipe-turn] for pipe in pipe_numbers)]
May 15, 2019