Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
inStr = 'doug';
shift = 10;
outStr = 'nyeq';
assert(isequal(cypher(inStr, shift),outStr))
|
2 | Pass |
inStr = 'thequickbrownfox';
shift = 5;
outStr = 'ymjvznhpgwtbsktc';
assert(isequal(cypher(inStr, shift),outStr))
|
3 | Pass |
inStr = 'thecrowfliesatmidnight';
shift = 22;
outStr = 'pdaynksbheaowpiezjecdp';
assert(isequal(cypher(inStr, shift),outStr))
|
Calculate the Levenshtein distance between two strings
456 Solvers
199 Solvers
Are all the three given point in the same line?
270 Solvers
Create matrix of replicated elements
321 Solvers
321 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!