We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
For those, who, like me, struggle to understand the algorithm even after googling one. It took me time, imagination and a couple of colored pens, but I figured out the pattern. Look at this image.
The pattern is that concrete elements can only be 'flipped' to certain positions. Looking at coordinates, you can always say what other elements can be placed instead of this exact element.
Flipping the Matrix
You are viewing a single comment's thread. Return to all comments →
For those, who, like me, struggle to understand the algorithm even after googling one. It took me time, imagination and a couple of colored pens, but I figured out the pattern. Look at this image.
https://drive.google.com/uc?export=view&id=1t_7fU2LD06qfyIOiFTJ51X8npx0qmcca
The pattern is that concrete elements can only be 'flipped' to certain positions. Looking at coordinates, you can always say what other elements can be placed instead of this exact element.
So what you need to do is:
And sum them up. Voila!
The general rule: