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
I can't see this error. Can you post your solution so we can try to reproduce it?
This comment is hidden because it contains spoiler information about the solution
I've added the picture that describes adjacent cells better.
I think it is described good enough, could you be more concrete about details should be added?
I agree, in an interview type situation you can't look up the value of a character. Cleaner, even though there is a '+1' in there because of it.
Loading more items...