This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 5;
y_correct = [25 24 23 22 21;10 9 8 7 20;11 2 1 6 19;12 3 4 5 18;13 14 15 16 17];
assert(isequal(your_fcn_name(n),y_correct))
|
3418 Solvers
299 Solvers
Magic is simple (for beginners)
1112 Solvers
193 Solvers
111 Solvers