Also be aware of keys greater than 26 and less than -26. There's only 26 letters in the alphabet! There's a problem, ok, but it should be better to say how we do have to handle it (ok, if you know a bit about cipher, it's evident, but not for beginners)
using key as an input name is a bad idea (that's a keyword)
Lua translation!
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/203.
Please join the discussion to help us identify duplicate kata and retire them.
This comment is hidden because it contains spoiler information about the solution
No random tests in
And input / output type should be
long
, notint
This comment is hidden because it contains spoiler information about the solution
Also be aware of keys greater than 26 and less than -26. There's only 26 letters in the alphabet!
There's a problem, ok, but it should be better to say how we do have to handle it (ok, if you know a bit about cipher, it's evident, but not for beginners)key
as an input name is a bad idea (that's a keyword)