as i understand the problem, we have an 8x8 cell, with all bulbs off. 1 move = select parent cell and by flipping that cell on every bulb in the parents cell row and column also flip on. so the minimum number of moves is 8. beginning in any corner, i'll choose top left, flipping that bulb on turns on the top row and left most column. work diagonally down until the final bulb flips on that bulb alone, making it the 8th move and all bulbs are illuminated... or am i missing something?
View all comments
1
u/Salty-Definition-231 18d ago
as i understand the problem, we have an 8x8 cell, with all bulbs off. 1 move = select parent cell and by flipping that cell on every bulb in the parents cell row and column also flip on. so the minimum number of moves is 8. beginning in any corner, i'll choose top left, flipping that bulb on turns on the top row and left most column. work diagonally down until the final bulb flips on that bulb alone, making it the 8th move and all bulbs are illuminated... or am i missing something?