Quick Overview

A coding interview problem about detecting the winner on a 3x3 Tic-Tac-Toe board. It tests careful handling of rows, columns, diagonals, empty cells, and board states where neither player has won.

Detect a Winner on a 3x3 Tic-Tac-Toe Board

Company: Hebbia

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Onsite

Overview: A coding interview problem about detecting the winner on a 3x3 Tic-Tac-Toe board. It tests careful handling of rows, columns, diagonals, empty cells, and board states where neither player has won.

Loading…