btw no need to solve this problem using hit and trial...

idea here is from 1-8 , 1 and 8 are only number whose adjacent elements are
1(1 adjacent 2 , 8 has adjacent 7).
whereas rest of the element has 2 adjacent element
so it would be best to keep 1,8 bcozz they are the only elements who has
only 1 adjacent element and center elements are surrounded by 4 boxes.

once done then you have reduced the permutation to large extent , after
this little logic will solve this problem.

On Tue, Jan 17, 2012 at 10:30 PM, Anika Jain <[email protected]> wrote:

> @atul: yes i agree with you.. hmm..
>
>
> On Tue, Jan 17, 2012 at 10:21 PM, atul anand <[email protected]>wrote:
>
>> @anika : i guess.....if your concern is allowed then i dont think so we
>> can solve this problem.
>>
>>
>> On Tue, Jan 17, 2012 at 9:59 PM, Anika Jain <[email protected]>wrote:
>>
>>> hey, does the question allows a consecutive number to lie at non
>>> adjacent vertical/horizontal/diagonal position??
>>>
>>>
>>> On Tue, Jan 17, 2012 at 9:26 PM, atul anand <[email protected]>wrote:
>>>
>>>>     -----
>>>>     |    |
>>>>     | 7  |
>>>>  -------------
>>>>  |4 |    |  3 |
>>>>  |  | 1  |    |
>>>>  --------------
>>>>  |  |    |    |
>>>>  |6 | 8  | 5  |
>>>>  --------------
>>>>     | 2  |
>>>>     |    |
>>>>
>>>>
>>>> On Tue, Jan 17, 2012 at 6:20 PM, Ashish Goel <[email protected]> wrote:
>>>>
>>>>>
>>>>>
>>>>>     -----
>>>>>     |    |
>>>>>     |    |
>>>>>  -------------
>>>>>  |  |    |    |
>>>>>  |  |    |    |
>>>>>  --------------
>>>>>  |  |    |    |
>>>>>  |  |    |    |
>>>>>  --------------
>>>>>     |    |
>>>>>     |    |
>>>>>     ------
>>>>>
>>>>> Set 1-8 in these 8 boxese such that consecutive numbers wont intersect 
>>>>> vertically/horizontally or diagonally
>>>>>
>>>>> Set 1-8 in th
>>>>>
>>>>>
>>>>> Best Regards
>>>>> Ashish Goel
>>>>> "Think positive and find fuel in failure"
>>>>> +919985813081
>>>>> +919966006652
>>>>>
>>>>> --
>>>>> 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.
>>>>>
>>>>
>>>>  --
>>>> 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.
>>>>
>>>
>>>
>>>
>>> --
>>> Regards
>>> Anika Jain
>>>
>>>  --
>>> 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.
>>>
>>
>>  --
>> 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.
>>
>
>
>
> --
> Regards
> Anika Jain
>
>  --
> 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.
>

-- 
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