** Initialize your data structure here. */
(n int)
| 11 | |
| 12 | /** Initialize your data structure here. */ |
| 13 | func Constructor(n int) TicTacToe { |
| 14 | return TicTacToe{ |
| 15 | rowCounts: make([]int, n), |
| 16 | colCounts: make([]int, n), |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | /** Player {player} makes a move at ({row}, {col}). |
| 21 | @param row The row of the board. |
no outgoing calls