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.
There're no tests which reuse the returned function, so
get_permutation
should receive both the pattern and the non-permuted list, and return a permuted list.Katas about ciphers should never be tested with
decrypt(encrypt(input))
.This is Vigenere cipher, and it's a duplicate:
https://www.codewars.com/kata/52d1bd3694d26f8d6e0000d3