Re: [algogeeks] The Mystery Spiral

2010-04-28 Thread Chinmay S
Yes there definitely is a fine distinctions between the two cases you mention. The program above fills the N*N numbers in spiral in decreasing order and then prints the matrix contents left to right , top to bottom. For the second program (that also prints in spiral order): http://2600hertz.wordp

[algogeeks] The Mystery Spiral

2010-04-17 Thread Chinmay S
*Problem statement:* Given a integer N, print N*N numbers in a N x N spiral. *Detailed problem description:* http://2600hertz.wordpress.com/2010/03/20/the-mystery-spiral/ *Solution:* Recently posted the following code. http://2600hertz.wordpress.com/2010/03/20/the-mystery-spiral-part2/ (managed t