This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assert(isequal(odd_idx([1, 2, 3;4, 5, 6;7, 8, 9]),[1, 3;7, 9]))
|
2 | Pass |
assert(isequal(odd_idx([16 2 3 13;5 11 10 8;9 7 6 12;4 14 15 1]),[16, 3;9, 6]))
|
Increment a number, given its digits
505 Solvers
274 Solvers
151 Solvers
395 Solvers
123 Solvers