12. Checkerboard Tensor

Easy

Return an n×n integer tensor with a checkerboard of 0s and 1s (top-left is 0).

Input

8
Implement solve(...)