*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 to compress it into as few as 99 lines) Please comment on *further optimisations*(if any)... (any optimisations will do, either size OR performance) [image: spiralcode.jpg] -- 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.
