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.
what of beauty did you find there ? A regular code innit ?
Yes I looked up 'character to int' and of course ended up with the character code not the number value, seemed to be working but maybe due to odd and even being preserved.
No, it will when Node version >= 11
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Does CodeWars not support the .flat method?
Reads logically and simply. Wow.
Can you explain more than just repeating what is asked? What does name mean?
I only had 4 tests
This comment is hidden because it contains spoiler information about the solution
Mutating the array you're looping through is always a bad idea. You're deleting the wrong values like that.
You can see your function returns the wrong values in a case like this one, where are the other
2
s and18
s?Can't you just fix the test?
This comment is hidden because it contains spoiler information about the solution
I am not passing one under random arrays:
Expected: 29, instead got: 14
Is it possible one element can be the greatest out of the consecutive sums??
Please advise what this array looks like.
Update: Looks like it! Passed!
Added python 3 support
Loading more items...