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.
Good call. I've also added an easy way to print the list so people can debug it more easily.
I think the better solution is to do it in place, but it is not important. The only thing that is not allowed (per the way the Node is coded) you cannot swap values around.
This comment is hidden because it contains spoiler information about the solution
The random tests are now replacing mapped characters correctly.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I have addressed this by adding more tests (including the example you provided). I have also updated the kata description to be slightly more instructive. I would be curious to know what edge cases you found that could randomly pass even if they were wrong. Those probably indicate that my description of the requirements was incomplete.
Thanks for the feedback!
Good catch! I have unpublished this kata while I explore the additional tests. I have a feeling that I may have to update my solution as well. Thanks for the feedback :)