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.wordpress.com/2010/03/20/the-mystery-spiral-part2/ GoodLUCK!! -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.