📕 FREE Guide2026 Quant Firm Tier List

Quant Interview Question

Spring Week Interview

Write a program to determine if the current configuration of a tic tac toe board will lead to a win on the next move for the 'X' player. A winning configuration is one where there is 3 'X's in a row -> 2 'X's in the same column, row or diagonal means that the 'X' player can win on the next move The program must output the coordinate of the location that will result in a win, in the format x, y

Unlock the Full Solution

Enter your email to get instant access to the complete solution, explanation, and similar practice problems.

Want to ace more quant interviews?

Get access to our comprehensive interview preparation course with hundreds of real interview questions, detailed solutions, and personalized mentorship from quants at top firms.

Start Your Prep Today