Problems
Contests
Account
Problems
> Hollow Square > Editorial
Hollow Square — Solution & Editorial
Back to the Problem
A cell is border iff its row or column index is 1 or N.
Complexity:
O(N
2
) output
×
Refer Job