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 =
[]
|
351 Solvers
Compute a dot product of two vectors x and y
750 Solvers
232 Solvers
Given a 4x4 matrix, swap the two middle columns
515 Solvers
1140 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!