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.
Not a kata issue.
Looking at your profile, I suppose the language is ruby. However, as there are 700+ successful ruby solutions, I'm pretty sure it's not an issue of the kata.
no need to post the same issue twice
Getting
TypeError: Cannot read property 'length' of undefined
at validate
at Object.handleError
at ContextifyScript.Script.runInThisContext
at Object.runInThisContext
where the .length is called on
n
which is the string taken by function. Works on my local, but seems broken hereGetting
TypeError: Cannot read property 'length' of undefined
at validate
at Object.handleError
at ContextifyScript.Script.runInThisContext
at Object.runInThisContext
When length is called on n, which is the string being taken in. The code works on my local, but seems broken here.
Same. Not really sure what that means.
Resolved Spaces Issue and added Description.
if you take n=21.5 then your test_even returns true, but this is false!
What is the point of these tests:
Expected: "More Than One Space Between Words", instead got: "More Than One Space Between Words"
Expected: " Leading Spaces", instead got: "Leading Spaces"
Expected: "Trailing Spaces ", instead got: "Trailing Spaces"
Especially when they aren't specified in the description nor shown in the initial test cases. You only see them when submitting answers. Why would the cases for leading and trailing spaces even require those spaces. The first is just silly; why would anyone put more than one space between words (unless a typo)?
Just some feedback and a need for clarification. Thanks!
For fellow code warriors that run into the same problem: I had this issue too and upon checking some edge cases soon discovered that my code indeed got stuck in a loop for one specific input.
Your proposed solution is too narrow. Imagine you had no idea what the calling functions were. All you know is that there is an input value and an array of functions. Trying to anticipate what each function is and what it does will most certainly not work.
This comment is hidden because it contains spoiler information about the solution
Awesome, I had my suspicions of that. Thank you!
Ah. A fatal flaw... you may have to write a new kata to fix it, unfortunately. Unless you can get hold of someone on the CW team. They're about. Somewhere... They should be able to discuss the situation and unlock it if necessary.
Don't worry. If others have made the translation, or completed the translated kata, then those people should be okay responding to questions for those languages.
Loading more items...