Leetcode 782. Transform to Chessboard | Hello Interview