In case this is not closed as a hoax, from my answer in the previous question:
To solve equations of the form
X 1 = NOT X 3
X 5 = NOT X 2
etc.
Create a graph with nodes like X i and connect X i and X j if the equation is X i = NOT X j .
Now try a 2-color plot using the first width search.
Aryabhatta
source share