Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hmmk
· 8y ago · 0 comments
Your solution would not work for all cases. For example, shifting "JAZZ" up by 1 should result in "KBAA" but your program would output "KB[[". You also need to handle wraparound at the ends of the alphabet.
Comments
[–]
Neist
8y ago
Hi! Yeah, you're right! This was a 1-minute quick'n'dirty solution :-)