Problems
Contests
Account
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(N
2
) output
×
Refer Job