*One possible solution is:

|4|6|3|5|
|2|8|1|7|

*Regards,
Janani

On Thu, Nov 11, 2010 at 1:26 PM, Amod <[email protected]> wrote:

> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
Janani T

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

Reply via email to