Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
count in transposed wall solution in Clear category for The Stone Wall by juestr
def stone_wall(wall):
wall_t = list(zip(*wall.strip().splitlines()))
def stones(x):
return wall_t[x].count('#')
return min(range(len(wall_t)), key=stones)
May 14, 2019