Software Development Interview Questions

37,027 software development interview questions shared by candidates

Solve 'Tic-Tac-Toe' Now we have a board and the game is currently proceeding. Write a function 'bool isFinished(char a, int x, int y) to decide whether game is finished when put one chess (a == 'O' or 'X') on (x, y) of the board. What data structure are you going to use? Write the whole function down on the paper If given more space, can you improve your solution?
avatar

Software Development Engineer

Interviewed at Microsoft

4
Feb 27, 2012

Solve 'Tic-Tac-Toe' Now we have a board and the game is currently proceeding. Write a function 'bool isFinished(char a, int x, int y) to decide whether game is finished when put one chess (a == 'O' or 'X') on (x, y) of the board. What data structure are you going to use? Write the whole function down on the paper If given more space, can you improve your solution?

Viewing 3451 - 3460 interview questions

Glassdoor has 37,027 interview questions and reports from Software development interviews. Prepare for your interview. Get hired. Love your job.