"Coding is just like talking to a unknown girl. Once you talked to her with guts, the next time you'll never afraid",Really? Yes , try it Now !!!
Everything here is for education and learning purpose only , individual holds rights on outer posts/links etc.
Team Cracking The Code
About Me
▼
Wednesday, January 18, 2012
Place N number from 1 to N, in 2N positions in such a way so that there are Exactly “n” number of cells between two placed locations of number “n”
Write a program to display numbers placed in this way.
Example:-
(1) One of the possible placement
for 7 numbers in 14 positions is :
No comments:
Post a Comment
Hi thanks , we will get back to you shortly !!!