Thursday, July 8, 2010

SPIRAL MATRIX PROBLEM

Given a positive integer n, display n2 numbers(1,2,......,n2) as

General case n=3 n=4

1 comment:

Anonymous said...

nothing