Blackrock Interview Question
BlackrockSpring 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.