Problem 1030 · Easy

Matrix Cells in Distance Order

List every cell of a grid ordered by its distance from a chosen centre. The visual expands outward in rings of equal distance.

Open the interactive visualisation