Problems > The Letter X > Editorial

The Letter X — Solution & Editorial

Back to the Problem

Cell (i, j) is starred iff i = j or i + j = N−1.

Complexity: O(N2) output