|
|
|
|
|
by Liru
2070 days ago
|
|
Board states, yes, but in a game of tic-tac-toe, placement order matters as well. There are a total of 9! (362880) possible (but not necessarily valid) game states. With such a low number, it's not hard to brute force the correct answer. Someone more well-versed in combinatorics could probably do it in a more efficient way. |
|
And these are the kind of questions that would (hopefully) come up in the interview!