Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
deck = 1:28;
n = 10;
out = [3 22 9 4 23 7 25 16 14 14];
assert(isequal(solitaire(deck, n),out))
ans =
[]
|
2 | Pass |
deck = 1:28;
n = 9;
out = [3 22 9 4 23 7 25 16 14];
assert(isequal(solitaire(deck, n),out))
ans =
[]
|
Extract leading non-zero digit
967 Solvers
156 Solvers
Reverse the Words (not letters) of a String
243 Solvers
Area of an equilateral triangle
1706 Solvers
Find the dimensions of a matrix
267 Solvers