Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
s='ThE qUiCk BrOwN fOx JuMpEd OvEr ThE lAzY dOg';
se = 'YjR wIoVl NtPeM gPc Ki<[Rf PbRt YjR ;SxU fPh';
assert(isequal(Qwerty_decode(se),s))
|
2 | Pass |
s='abcdefghijklmnopqrstuvwxyz';
se='snvfrghjokl;,mp[wtdyibecux'; % a-z
assert(isequal(Qwerty_decode(se),s))
decoded_str =
'abcdefghijklmnopqrstuvwxyz'
|
3 | Pass |
s='ABCDEFGHIJKLMNOPQRSTUVWXYZ';
se='SNVFRGHJOKL:<MP{WTDYIBECUX'; % A-Z
assert(isequal(Qwerty_decode(se),s))
decoded_str =
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
4 | Pass |
s='You miss 100 percent of the shots you never take. Gretzky';
se='Upi ,odd 100 [rtvrmy pg yjr djpyd upi mrbrt yslr. Htryxlu';
assert(isequal(Qwerty_decode(se),s))
decoded_str =
'You miss 100 percent of the shots you never take. Gretzky'
|
5 | Pass |
s='Those who believe in telekinetics raise my hand. Vonnegut';
se='Yjpdr ejp nr;orbr om yr;rlomryovd tsodr ,u jsmf. Bpmmrhiy';
assert(isequal(Qwerty_decode(se),s))
decoded_str =
'Those who believe in telekinetics raise my hand. Vonnegut'
|
Number of 1s in the Binary Representation of a Number
356 Solvers
3967 Solvers
Project Euler: Problem 5, Smallest multiple
397 Solvers
Back to basics 20 - singleton dimensions
254 Solvers
Deleting an element in a matrix
325 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!