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.
This kata was quite challenging for me! I couldn't use the methods I'm accustomed to in Visual Studio. Nonetheless, it's a good, mind-puzzling exercise. Will try and finish it when i have the time.
This comment is hidden because it contains spoiler information about the solution
Looks like a lot of people didn't expect the kata to test for input validation & edge cases with hard-to-see characters
No, they're not the same. The input here is a string. Not a kata issue.
tested on my pc, code works with this samples. here its occurs an error with the same samples
This comment is hidden because it contains spoiler information about the solution
yes i have the same problem
No, there's a newline after the third digit: "123\n".
That's why the closing quote is below the digits.
Your code should be able to handle edge cases like the stated above.
You accidentally edited the edge cases to have a space.
This comment is hidden because it contains spoiler information about the solution
for the test '123
'
your code returned
true
but it was expected that your code should return
false
for that testtake note that at the end of the test input, there is a newline
(
'123\n'
)should handle all edge cases
Wrong output for '123
': expected true to equal false
what does it mean??
does that mean the input have space like this "123 " ??
Nice kata :) Good explanation and nice examples.
See where the closing quote is.
Loading more items...