Any solution for this
On Fri, Jan 21, 2011 at 1:56 PM, Gaurav_K_Singh 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 wa
*
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