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.
Because those are different indices, 1 and 5 (6 - 1). If you really wanted to use index 1, to the left, the sum is 1 and to the right, 9, and that's not a valid solution.
This comment is hidden because it contains spoiler information about the solution
Easy task but requires attention and some time...
Proud I was able to pull it off
I was using Javascript
This comment is hidden because it contains spoiler information about the solution
never give up!!
This one was challenging but was fun to complete!!
should be fixed
dnsvee is right, you need to nul-terminate the char array for it to be a valid string.
I'm not sure what the OP was using but I am also seeing this in Javascript
in what language?
is the function is passed a non-empty string per the description, then why does the random tests pass an array?
maybe the description should specify that the string only contains ASCII characters ? most solutions would be wrong for multibyte (Rust, C++) /UTF-16 strings (Java, JavaScript, C#...)
done
done
Loading more items...