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.
Could be usefull to make more clear description.
Can you be more specific besides dumping a whole Wikipedia article which, again, doesn't say much about the topic at hand?
"Your Solution" lists the arguments in the wrong order; it should be
function decrypt(p, n, x) {}
.The order of arguments in the starting code and your expected solution is different.
p, n, x
is expected,p, x, n
is available at the start.Leading to confusion on error like the issue below this.
This comment is hidden because it contains spoiler information about the solution
Nice work, but it needs a lot more test cases (preferably some random ones).
Otherwise it's easy to cheat by hardcoding the answer (see my solution).