This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
inString1 = 'I am ready to try it - with punctuation and CAPS!';
outString1a = 'F xj obxav ql qov fq - tfqe mrkzqrxqflk xka ZXMP!';
assert(isequal(simpleDecoderRing(inString1,-3),outString1a ));
s =
'F xj obxav ql qov fq - tfqe mrkzqrxqflk xka ZXMP!'
|
2 | Pass |
inString1 = 'I am ready to try it - with punctuation and CAPS!';
outString1b = 'L dp uhdgb wr wub lw - zlwk sxqfwxdwlrq dqg FDSV!';
assert(isequal(simpleDecoderRing(inString1,3),outString1b ));
s =
'L dp uhdgb wr wub lw - zlwk sxqfwxdwlrq dqg FDSV!'
|
3 | Pass |
inString2 = 'Dick Tracy is often associated with decoder rings.';
outString2a = 'Lqks Bzikg qa wnbmv iaawkqibml eqbp lmkwlmz zqvoa.';
assert(isequal(simpleDecoderRing(inString2,-18),outString2a ));
s =
'Lqks Bzikg qa wnbmv iaawkqibml eqbp lmkwlmz zqvoa.'
|
4 | Pass |
inString2 = 'Dick Tracy is often associated with decoder rings.';
outString2b = 'Zeyg Pnwyu eo kbpaj wookyewpaz sepd zaykzan nejco.';
assert(isequal(simpleDecoderRing(inString2,22),outString2b ));
s =
'Zeyg Pnwyu eo kbpaj wookyewpaz sepd zaykzan nejco.'
|
Return a list sorted by number of occurrences
1225 Solvers
116 Solvers
Rotate input square matrix 90 degrees CCW without rot90
304 Solvers
Getting the indices from a matrice
265 Solvers
Test if two numbers have the same digits
154 Solvers