Problem 44363. Is this is a Tic Tac Toe X Win?
Solution Stats
Problem Comments
-
2 Comments
Sean de Wolski
on 17 Oct 2017
Solution 7 should be correct. The diagonal of -1s is a valid win.
Hope all is well with you, Doug!
Ned Gulley
on 17 Oct 2017
@Sean, I think Doug's got it right. He's asking only if the X side (that is +1) is in a winning position. In test 7, the O side (-1) is in a winning position. So the answer given is correct.
Solution Comments
Show commentsProblem Recent Solvers502
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15028 Solvers
-
2871 Solvers
-
Number of 1s in a binary string
7267 Solvers
-
471 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
726 Solvers
More from this Author51
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!