You are given a game board as a 2D string array, board, where board[r][c] is the tile at row r, column c. Every tile is a 2-character string: the first character is an uppercase letter identifying its terrain type, and the second character is a digit from 0 to 9 representing its crown count.
Ask AI Assistant

Ask AI Assistant
Ask me anything about this coding question!
Test Cases
Input
Output
Expected