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.
Your code fails for case below when they are same number-pairs that sum together to the same total. Specifically, your logic in
checkIfExistsInArray
is wrongthat's the joke (hence the ":)")
That's not "clean", that's just way more code than necessary.
This solution is better than best one. No magic numbers
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Clean :)
This comment is hidden because it contains spoiler information about the solution
I really like your solution. Cool!
!
?.
This comment is hidden because it contains spoiler information about the solution
Loading more items...