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.
The kata doesn't make it clear enough that this kata is about reversing an arbitrary, supposedly random bit swapping mapping, not reverse engineering the implementation of
encrypt
. These two directions are vastly different; taking the latter path is completely fruitless, and means wasting a lot of meaningless time.This comment is hidden because it contains spoiler information about the solution
There are
10000+
length messages in the random tests. If bits are rearranged in the message, that means a search space of size2 ** 5000
, which can never be solved on CodeWars ( or in the actual Universe ).Or I read something wrong in the description. For which I blame the description, actually.
What am I missing?