Defuse the Bomb
Replace each position in a circular array with the sum of a window of neighbours, forward, backward or zero depending on a signed shift. The visual slides a highlighted window across the ring.
Replace each position in a circular array with the sum of a window of neighbours, forward, backward or zero depending on a signed shift. The visual slides a highlighted window across the ring.