This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
str = 'a';
score = 1;
assert(isequal(scrabble_score(str),score))
|
2 | Pass |
%%
str = 'matlab';
score = 10;
assert(isequal(scrabble_score(str),score))
|
3 | Pass |
%%
str = 'quetzalcoatl';
score = 32;
assert(isequal(scrabble_score(str),score))
|
Find perfect placement of non-rotating dominoes (easier)
240 Solvers
Flip the main diagonal of a matrix
506 Solvers
Getting the absolute index from a matrix
211 Solvers
321 Solvers
2144 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!