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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I don't see what makes your solution more correct when zero is definitely not the smallest integer in an empty array. ;-)
This comment is hidden because it contains spoiler information about the solution
Let us hope the efficiency will become OK with some future optimizing Java compiler.
Yes,I can`t agree more
Well it was more the fun to find a solution in as few lines as possible, seeing this is a rather simple problem. In real programmes I'd prefer your looping solution of course.
This comment is hidden because it contains spoiler information about the solution