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.
Rofl :D
From C# 7.0 I guess
Did they add this recently? I can't seem to find any info about it.
genius!
Althought brackets arent necessary in this case they help to clarify the idea that lead to the solution :)
bravo!
you rock!
Wow I feel so stupid for not doing this nice one fr.
Nice!!
There's always someone with a better solution. Thought about a oneliner with IntStream but this is very elegant. Kudos for you sir!
fantastic!!!
impressive
Genius. Simple and elegant. I used an
IntStream
, but this is so much more clever.This solution fails for the following intput
{2, 100, 0, 4}
. The correct result is 106 and this solution returns 104, because it doesn't sort three numbers properly.This comment is hidden because it contains spoiler information about the solution
Loading more items...