Design a Tic-Tac-Toe System (k Players, n x n Board)
Asked at Google · Coding Questions · Difficulty: Medium · Last asked May 18, 2026
Implement a Tic-Tac-Toe game for `k` players on an `n x n` board. Players take turns placing marks, and a player wins by owning every cell of one row, one column, or one of the two main diagonals. The game engine must report the result of each move immediately and cheaply, even for a very large board.
Loading the problem…
More Google interview questions
- LLM conceptual questions
- Implement a Nested Tic-Tac-Toe Game Engine
- ML Fundamentals Deep Dive (AI/ML & MLE Roles)
- Design a Real-Time Product Recommendation System
- Implement Scaled Dot-Product Attention
- Design a Multi-Tenant, Multi-Region API Rate Limiter