Wells Fargo interview question

Design a Tic-tac-toe program for manual play (no artificial-intelligence).

Interview Answer

Anonymous

Oct 6, 2015

Used a 3x3 array for storing marked status/ownership of each square in the grid. Every time a user makes a move, the array is updated accordingly and the win/loss conditions are checked.

1