We have a rectangle
It is divided in eight parts by three vertical and one horizontal line
so that there are 8 chambers.
Now we have numbers from 1-8 to be filled in these chambers.
Rule : No two consecutive numbers must be present either side to side
or diagonal
Invalid situation example
Given 5 at position 2 then 4 cannot occur at any of the give position.
4 5 4
_ _ _ _

4 4 4
_ _ _ _

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to