Design Generalized Tic-Tac-Toe
Design Generalized Tic-Tac-Toe
Implement a two-player Tic-Tac-Toe game on an arbitrary board:
class TicTacToe:
def __init__(self, m: int, n: int, k: int): ...
def move(self, row...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
