Use Backtracking for this problem.

Sanju
:)



On Sun, Sep 11, 2011 at 3:24 AM, parag khanna <[email protected]>wrote:

>  output :
>>
>
>
>>  1234
>> 127
>> 136
>> 145
>> 19
>> 235
>> 28
>> 37
>> 46
>>
>
>
> --
> Parag Khanna
> B.tech Final Year
> NIT,Kurukshetra
>
> --
> 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