Frage im Vorstellungsgespräch bei CLEAR

Write java code to implement "Caesar's Cipher".

Antwort im Vorstellungsgespräch

Anonym

9. Feb. 2019

Since I didn't cheat it took me a while to figure out the key insight: create a list of letters in alphabetic order, and append it to itself (to handle case where the "shift" involved in the cipher algorithm wraps around - for example, shifting the letter "X" four places wraps around to become "B").