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.
Yes, but my point was that this isn't best practice.. just clever.
the description says the input will be all positive integers
Good, but if they were to pass negative numbers as an input and it would fail..
This comment is hidden because it contains spoiler information about the solution
Darn it, i didn't need the else! nice code
(m <= 0 || n <= 0) no?
When I was trying to use this method it said me that it's wrong. WTF? 🤬
More concise than #1! Way to go!
agreed.
Question asks to solve when "given an array of minimum 4 POSITIVE integers"
I mean, the answer literally is in the desciption.
This comment is hidden because it contains spoiler information about the solution
it does not solve if there are negative or non-integer numbers in the array
why do we need to subtract a-b i dont understand its meaning or what it does
This comment is hidden because it contains spoiler information about the solution
Loading more items...