Leetcode 1812. Determine Color of a Chessboard Square
Given a chess coordinate like "a1", determine whether the square is white or black; the color is determined by the parity of the file (a–h) combined with the rank (1–8) — return true for white and false for black.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.