Question

Algorithm by auntyellow