Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
xyz = [3,4,2; 0,0,2; 0,1,2; 1,1,2; 1,1,20];
w_correct = 25;
assert(isequal(walked(xyz),w_correct))
|
2 | Pass |
xyz = [3,4,2; 0,0,2; 0,1,2; 1,1,2; 1,5,5];
w_correct = 12;
assert(isequal(walked(xyz),w_correct))
|
4835 Solvers
Maximum running product for a string of numbers
816 Solvers
Return the first and last character of a string
1659 Solvers
Remove the two elements next to NaN value
309 Solvers
261 Solvers