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.
In JavaScript, I'm failing two test cases and I'm not sure why:
Decode test case where alphabet is array of numbers and the encoding is null. The expected return value is the alphabet repeated 4 times. Why is that?
Decode test case where alphabet is very large array of numbers. First few elements of alphabet are 33,12,5,14... and first few elements of encoding are 0,2,6,8...
I must be going wrong somehwere, but could someone please help me find where?