Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
∙∙∙·▫▫ᵒᴼᵒ▫ₒₒ▫ᵒᴼᵒ▫ₒₒ▫ᵒᴼᵒ☼)===> solution in 3rd party category for The Stone Wall by vmiimu
import numpy as np
def stone_wall(wall):
m = np.array([list(i) for i in filter(None, wall.split('\n'))]).T
c = [list(i).count('0') for i in m]
return c.index(max(c))
Dec. 3, 2018