Suppose you have an N by M chessboard with black and white squares. You can choose a rectangle, and all colors within it will change to the other (white to black and vice-versa).
1. What is the minimum number of rectangles you would need to invert to make the whole chessboard a single color?
2. What is the minimum number of rectangles you would need to invert to make the whole chessboard a specified color (white or black)?
3. Under what conditions are the answers to (1) and (2) equal?
Question
EventHorizon
Suppose you have an N by M chessboard with black and white squares. You can choose a rectangle, and all colors within it will change to the other (white to black and vice-versa).
1. What is the minimum number of rectangles you would need to invert to make the whole chessboard a single color?
2. What is the minimum number of rectangles you would need to invert to make the whole chessboard a specified color (white or black)?
3. Under what conditions are the answers to (1) and (2) equal?
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.