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.
You are right, I did not mention this point.
Probably test like: "assertEquals("0", Kata.add("0", "0"));" should be added. Some java solutions return empty string with "0"+"0" and pass all the existing tests.
It does not work if a = "0" and b = "0", because sum of "0" and "0" is "0", but this function returns empty String.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hello! I did not find any explanation to this solution. Why does this work?