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.
He meant the logic of solution would not be valid anymore, but still genius as it has 0.5 =)
If the water consumption rate was changed, any method would have to be rewritten. The rate is not provided as a parameter here, thus we have no choice but to perform a calculation based on a constant in the code. I suppose it could be assigned to a variable for ease of changing later, but that is not a requirement of this kata.