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.
Kata description is a bit misleading. It should be mentioned, that the main object object's properties may also be objects (nesting!). At first I thought there would be no nesting. Moreover you should add an example.
Agreed, great kata but it would be nice to see another more general version asking to solve with 3^n bags using n guesses..
So I'm probably just being lazy but it would be nice to have a sample card set + solution provided as a test in the JS version. Other than that great kata!
Got it! :P
This comment is hidden because it contains spoiler information about the solution
dude..
I agree that the description is a bit vague and more tests should be added. It's not clear whether object keys should be replaced, or if partial substitutions should be allowed. For example, what is the result of solution({ foo: "abcdynamic123" }, "bar") ?