You will be given a input number (eg) x='geikm' y==1
you have to figure out the dechiper key and match it with given input and decipher it
ref=ascii(32:126); decipher_key1=[ascii(33:126) ascii(32) ]; decipher_key2=[ascii(34:126) ascii(32:33) ];
decipher_key3=[ascii(35:126) ascii(32:34) ]
output ='hello'
if y==2
input='hello'
output='geikm'
"If" and "while" are forbidden
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers9
Suggested Problems
-
Longest run of consecutive numbers
6435 Solvers
-
Generate N equally spaced intervals between -L and L
942 Solvers
-
Cell Counting: How Many Draws?
2377 Solvers
-
Remove entire row and column in the matrix containing the input values
548 Solvers
-
3385 Solvers
More from this Author33
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The problem description is not very clear, but the sequence of keys is 1,2,3,1,2,3, ... like problem #2 of this series.