I was trying out a different approach to 8-Queen's problem. I
visualized each cell [that has a coordinate from (0,0) to (7,7) as
a single number 10x + y. So you would have sort of an octal number
set from 0 to 77. Each column would be 0-7, 10-17, 20-27 etc and so
on till 70-77.
Each row would be 0-70, 1 to 71 etc, in increments of 10.
7 17 27 37 47 57 67 77
6 16 26 36 46 56 66 76
5 15 25 35 45 55 65 75
4 14 24 34 44 54 64 74
3 13 23 33 43 53 63 73
2 12 22 32 42 52 62 721 11 21...