Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You have two cases for each alpha character:
1.) Is the location of the letter odd or even? Go to lowercase or uppercase respectively.
2.) After 'Z', we must loop back to 'A' (or 'z' to 'a')
What happens if the original string has a 'Y' in a location that is odd?
Example:
AYE AYE CAPTAIN!!
1.) AyE AyE CaPtAiN!! -> Alternate case
2.) CaG CaG EcRvCkP!! -> Shift by 2
You can see that 'Y' in this specific case goes to 'a'.
Where did you view that Y? The transformation depends on where it is in a word or sentence. Read again description and examples.
This comment is hidden because it contains spoiler information about the solution
Sorry, it's java
Please give the language and the sentence you are speaking of.
I do not understand why the 'Y' + 2 can become 'a', please explain it to me