Skip to content

Instantly share code, notes, and snippets.

Yannick Roehlly yannick1974

Block or report user

Report or block yannick1974

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:7334581
import numpy as np
from matplotlib import pyplot as plt
def waterfill(walls):
land = np.zeros((len(walls), max(walls)), dtype=int)
# Put the walls
for index, value in enumerate(walls):
You can’t perform that action at this time.