Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Rotate floor solution in Creative category for Rotate Hole by veky
def rotate(floor, balls):
import collections, operator
R, ok, floor = [], operator.itemgetter(*balls * 2), collections.deque(floor)
for i in range(len(floor)):
if all(ok(floor)):
R.append(i)
floor.rotate()
return R
July 9, 2014
Comments: