#SquareMatrix
#APLQuest 2017-10: Write a function that will reshape a given array into the smallest square matrix that will contain all the elements of the argument, padding with additional elements if necessary (see apl.quest/2017/10/ to test your solution and view ours).

#APL #SquareMatrix #ArrayReshaping
APL Quest 2017-10: Squaring Off
Write a function that will reshape a given array into the smallest square matrix that will contain all the elements of the argument, padding with additional elements if necessary.
apl.quest
September 14, 2026 at 1:18 PM