#1812

Determine Color of a Chessboard Square

newbie · 175 · lc easy +15 · failed · 79.8% accepted · 901 likes · top 91%

Description

Given coordinates representing a chessboard square (letter then digit), return true if the square is white and false if it is black.

Code

1
2
3