Wind me a number snake! – codegolf.stackexchange.com

Given an input integer n, draw a number snake, that is, a grid measuring n x n consisting of the numbers 1 through n^2 that are wound around each other in the following fashion: Input n = 3: 7 8 9 6 ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Wind me a number snake! – codegolf.stackexchange.com"