Back to the Problem
Shift each character by K mod 26 with wraparound arithmetic on the alphabet index.
Complexity: O(|S|)