Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assert(isequal(times2(1),2));
|
2 | Pass |
assert(isequal(times2(11),22));
|
3 | Pass |
assert(isequal(times2(-3),-6));
|
4 | Pass |
assert(isequal(times2(29),58));
|
Remove all the words that end with "ain"
1029 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
199 Solvers
243 Solvers
Given a 4x4 matrix, swap the two middle columns
300 Solvers
474 Solvers