Problem 44764. Lights Out 10 - 5x5, with wrapping, 6 moves
Solution Stats
Problem Comments
-
4 Comments
The first test suite problem is troublesome because it requires only 3 moves, and the 3-move solution is not necessarily the first one it finds that has 6 moves or less.
...also, how does the assert(numel(moves)==6) work on the problem that has only 3 moves?
@William: the troublesome test case has been removed. Thanks for pointing that out.
some cases admit shorter solution ^^'
Problem Recent Solvers10
Suggested Problems
-
1984 Solvers
-
It dseon't mettar waht oedrr the lrettes in a wrod are.
1034 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
485 Solvers
-
The sum of the numbers in the vector
496 Solvers
-
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
895 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!