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.
and i did a sort :(
just out of curiosity, could you mention how it is messy? the only error i understand is that the code doesn't check the each parameter fully. isn't that the only thing that needs to be corrected?
very tidy solution. Like this
respect
Clever :)
Yeah but this is messy "code" I don't understand how he gets the best practice?
This comment is hidden because it contains spoiler information about the solution
There are 6 code variations, all of them with removed lines
why didn't you remove the last two lines?
how I should know this? any suggestion on complementary material?
noooo, it's substraction, he wants to control the size of the sum..
because when 3 int params are given, they must be in the correct range, so subtraction of any two of them will not cause a overflow.
That should be some kind of tech worthy to remember.
So "rapper" beats "soprano"?
In Visual Studio, this code does not work when ending is longer than str in Debug mode.
Doesn't this read out of bounds (in front of the string) if ending is longer than str?
i don't know how people think this is not best practice but damn this was good solution as compare to me tho
Loading more items...