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.
maybe Character.digit(s.charAt(i), 10) is better?
This comment is hidden because it contains spoiler information about the solution
sorry I was upset on not getting to work another solution and committed this dumb solution.
In Java, variables are passed by reference, but references are passed by value (bend your mind around that for a minute).
Practically speaking, this means you can't change input parameters by assignment, you end up only changing the local reference of the parameter to a different value. In other words: