Microsoft Interview Question

The second question was a testing question about a function in which I should validate a Tic Tac Toe game. The input is a snapshot of the game and the output should be whether the game is correct or not. Answer: I could choose my ideal data structure for the snapshop so I chose 2-dimension character array. Test Cases: two players have won, either x or o has won, the game has already finished.

Interview Answer

Anonymous

Jun 3, 2012

I could choose my ideal data structure for the snapshop so I chose 2-dimension character array. Test Cases: two players have won, either x or o has won, the game has already finished.