Asterisk spiral – codegolf.stackexchange.com

Given the radius of size S and the step N, output the "square" S*S spiral having N asterisks, built from the outer to inner radius clockwise. Test cases (examples) below. Input: 4 3 Output: *** ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Asterisk spiral – codegolf.stackexchange.com"