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.
How repeating is Best Practice? I had this idea, but I considered it not good. The second answer with
IntStream.of(numbers).boxed().toArray()
instead is great.
I felt pretty dumb as well because I cannot believe I forgot about String.format
bravo!
This comment is hidden because it contains spoiler information about the solution
bro
realllyyyyy haha
most elegant answer .
me too
If b is large enough, it is indeed the best performant.
same here!!
I feel retarded for not thinking of this. Thank you
I think this is both clever and best practice
validation doesn't covered by the terms of this kata. It's always int array (0-9) of 10 by kata.
validation doesn't covered by the terms of this kata. It always int array (0-9) of 10 by kata.
No validation at all. What if we pass number 111 or array of different size?
Loading more items...