Pattern

Array

A compact view of archive entries grouped by recurring technique.

373 entries

373 entries tagged as Array.

1.11.2022

medium

Where Will The Ball Fall

This is a geometry problem, but seeing the pattern might help. We can spot that each row is an action sequence: -1 -1 -1 shifts balls left, and 1 1 1 shifts balls to the right. Corners can be formed only with -1 1 sequence.