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))
out =
[]
|
2 | Pass |
deck = 1:28;
n = 9;
out = [3 22 9 4 23 7 25 16 14];
assert(isequal(solitaire(deck, n),out))
out =
[]
|
1051 Solvers
1143 Solvers
Choose the best fitting dominoes
171 Solvers
401 Solvers
369 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!