Problem 44761. Lights Out 9 - 5x5, light-only solution? II
Lights Out is a logic game wherein all lights need to be turned off to complete each board. See the first problem in the series for an introduction.
This problem contains boards that each require any number of moves to solve. The function you write has to determine if the initial state contains a potential answer—i.e., if toggling any given subset of the starting lights is sufficient to solve the board.
Prev.: 5x5, light-only solution? I — Next: 5x5, with wrapping, 6 moves
Solution Stats
Problem Comments
-
4 Comments
It has been updated.
Test suite has crashed again plz fix
@ Nikolaos: are you sure it's the test suite and not a server error? If you get the following message, it is due to a temporary server problem, not a specific problem: "While evaluating the solution, the server encountered an error caused by temporary unavailability of MATLAB Service. Wait a few minutes for the MATLAB Service to return, and then rescore." If you are getting this error, simply try the problem again later or on a different day.
Solution Comments
Show commentsGroup

Number Manipulation IV
- 15 Problems
- 30 Finishers
- Pattern Sum
- Smallest n, for n! to have m trailing zero digits
- Still more miles to go before I sleep
- Convert from Base 10 to base 5
- Numbers on 7-segment
- Expand 10^n to Powers of 4
- Muphry's Law of MATLAB
- Lunar Arithmetic (Addition)
- Lunar Arithmetic (Multiplication)
- Permutation Via Multiplication
- The last non-zero digit of a factorial
- The number of trailing zero digit of a factorial
- Whole Number Concatenator
- Whole Number Un-Concatenator
- Smallest n, for n! to have m trailing zero digits
- Better Index Number
Problem Recent Solvers12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!