Spring Intern Interview Questions

2,765 spring intern interview questions shared by candidates

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
avatar

Spring Week

Interviewed at BlackRock

3.8
Oct 29, 2024

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

Viewing 2641 - 2650 interview questions

Glassdoor has 2,765 interview questions and reports from Spring intern interviews. Prepare for your interview. Get hired. Love your job.