Interview Question

Software Development Engineer Intern Interview(Student Candidate) Bellevue, WA

Find if an n by n tic tac toe game has a winner in constant

  time.
Answer

Interview Answer

1 Answer

0

keep track of all the row, column, diagonal and anti diagonal sum for separate players . for every move increment /decrement corresponding sum and evaluate .

javaGirl on Apr 11, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.