Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
min of dict of enumerate of zip of splitlines of strip by count of columns of argument of key of min solution in Clear category for The Stone Wall by veky
def stone_wall(wall):
columns = dict(enumerate(zip(*wall.strip().splitlines())))
return min(columns, key=lambda i: columns[i].count('#'))
Sept. 7, 2018
Comments: