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.
Strange case. Do you still need a solution? Which language you train?
The tests are fine (in Python anyway). 600+ people would agree with me.
A bit of humility usually proves useful when you suspect something might be wrong, "lol". In any case, your feedback would at least be semi-constructive if you stated what language you were using and which test input/output gave the wrong results.
couldn't have said it better myself
couldn't have said it better myself
couldn't have said it better myself
Yes, reworded description.
What language version are you trying to solve? I guess it's C or C++, right? If it is indeed C or C++, your process probably crashed and it's not easy to exactly tell why. You can share your code (remember abour spoiler flag!) and we will take a look.
The error is:
Cannot read property 'toUpperCase' of undefined
and it's your code's fault. You're trying to access the 0 position of an empty string and usetoUpperCase
with it. Next time, mark your post as having spoiler content please. You can see the input your code is failing because it's the third sample test.Are you sure it's not your fault? What's the error? You're probably not using
String.prototype
or using it wrong.