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
given the instructions, no negative numbers would be passed in, so that isn't a factor in this case. But you are right!
thought this will be voted most... go for the shortest version for the sake of it... damn..
This comment is hidden because it contains spoiler information about the solution
I did not know there is such a method to do that, I love your answer
when the array contains a number less than 0. the code will not work
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'm happy that there were alot of solutions like mine!
Why is it voted as best practice given there are no empty lines between functions?
Readability should count.
same
This comment is hidden because it contains spoiler information about the solution
cool, i'm not alone
@akar-0 LMAO
Loading more items...