Cisco OA 2021 Master's Internship
Anonymous User
6218
Aug 27, 2021
Aug 27, 2021
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/
Comments (5)


