Lights are placed in N x N grid. Each of them can be ON (1) or OFF (0). When a light is toggled, from ON to OFF or OFF to ON,so are its horizontal and vertical neighbors – if any of them exists. Find a way to switch off all lights and print one possible sequence. The number of moves in this sequence is minimum. Display the light states in each move, until all lights are OFF.
-
Notifications
You must be signed in to change notification settings - Fork 0
etnk125/Lights-Out-Puzzle
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Solving Lights Out Puzzle with Java
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published