Generalize your solution to Problem 52 - Give the state of the game at nth step for any size board.
Note: This problem uses the MATLAB convention for indexing (t=1 is the initial state).
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers30
Suggested Problems
-
Return the 3n+1 sequence for n
8513 Solvers
-
Find the alphabetic word product
3469 Solvers
-
Given a window, how many subsets of a vector sum positive
873 Solvers
-
Penny flipping - calculate winning probability (easy)
198 Solvers
-
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
961 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The link for the problem 52 is wrong. https://www.mathworks.com/matlabcentral/cody/problems/52
The link has been fixed.