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.
Beautiful. Remember that you can use returning arrow functions like
(x,f) => f(x)
.@guestl:
How could you solve it, if you are not clear how to do this?
Encryption: right.
Decryption: Do the encryption step by step backwards. So your second attempt is the right direction. For understanding the size of parts look at an example to encrypt a text with odd length.
This comment is hidden because it contains spoiler information about the solution
--> all chars, that were not in "Take every 2nd char". So from the example ("This is a..."): "Ti sa....".
I'm struggling to understand what is being asked? Take every 2nd char, then the rest? Not sure what is meant by "then the rest"
Thanks for your post! I wish you a good Codewars!
Enjoyed this as my first kata