3 questions. 90 minutes.
Write a function that prints a chessboard pattern, with 'W' being white square and 'B' being black. Input is an integer that is the number of squares on the board. Output is a 2D char array. For example,
input:
2
Output:
W B
B W
The topmost left square is always 'W'.
LC medium - Decode ways: https://leetcode.com/problems/decode-ways/
LC hard - Word Search II: https://leetcode.com/problems/word-search-ii/