Oh hey, I’m the 1st / 152 ^_^
Write an algorithm that analyzes and decodes a string.
The cipher works as follows: it takes the alphabet and a keyword (that shall not include duplicate letters) and builds a new string starting with the keyword and continues with the letters of the unused alphabet.
Example (the keyword in the example is KEYWORD):
– “KEYWORD” as the keyword
– String that has to be deciphered.
Output: String representing the decoded word.
For: KEYWORD and code: LXQAJI
Output is PYTHON