If the row index is odd, the pattern must start with Color B.
| Test Case | Expected Behavior | |-----------|------------------| | 1x1 board | Single square | | 1x5 board | Horizontal alternating pattern | | 5x1 board | Vertical alternating pattern | | 2x2 board | Top-left = dark, top-right = light, bottom-left = light, bottom-right = dark | | 10x10 board | Perfect checkerboard, no line breaks inside | 9.1.7 Checkerboard V2 Codehs
# # # # # # # # # ...