Any solution for this????

On Fri, Jan 21, 2011 at 1:56 PM, Gaurav_K_Singh <[email protected]>wrote:

> *
>
> Place N number from 1 to N, in 2N positions in such a way so that there
> are
>
> Exactly “a” number of cells between two placed locations of number “a”.
> Write a program to display numbers placed in this way.
>
>
>
> Example:-
>
> (1) One of the possible placement for 7 numbers in 14 positions is :
>
> 5 7 2 3 6 2 5 3 4 7 1 6 1 4
>
> There are exactly five other numbers between two occurrences of 5, exactly
> seven other numbers between two occurrences of number 7 and the same is
> true for all other number placements.
> *
> --
> Only G!!
>
> --
> 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.
>



-- 
Thank You
Rajeev Kumar

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