Matrix in Range – codegolf.stackexchange.com

The Challenge Given an integer n>0 output a n+1 X n+1 matrix containing all integers from 1 to 2n as shown in the test cases bellow Test Cases n=1 1 2 2 2 n=2 1 2 4 2 3 4 4 ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Matrix in Range – codegolf.stackexchange.com"