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.
I have copy pasted your function and it still throws that error. Then I have deleted all the code before it (a class and two functions) and now the function is found. I still can't figure what can be wrong as long on my PC everything work as expected.
LE: I let my entire code there in case you can look at it. That class is the problem. If I delete the class, the function is found but the class doesn't. If I add the class, the function is not found.
LE2: Maybe I should make this an issue not a question.
LE3: I can rewrite my solution without using classes, solving the kata, avoiding this
error but the problem will still lurking on the site. :) Please help me to help you. :)
LE4 (final):
I used "objects" made by arrays with references to them instead of classes and I have passed the test.
This comment is hidden because it contains spoiler information about the solution
Most precisely, A to Z is uppercase only.
I see. Thank you! Now, should I let this suggestion here or should I delete it? (Not sure yet if I can delete it :) .)
This comment is hidden because it contains spoiler information about the solution
If I'll ever resolve this I will give it a negative review. After all I am here for programming not guessing. Good the fact I decided to read here. Now I know that it is not about the solution but about the question. The difficulty must be in programming not in guessing what funny someone wants.
I have two questions.
Thank you!
That last element is missing only on your site. I tried that input on my system and the last element is there. Because tle last element on my system is in the output I can't "debug". But, without changing the code, I tried again and again the "Attempt" button and my solution was accepted. Because I did not changed anything in code, I still think the problem is with tests or site. But not a problem of me anymore. Anyway, good kata. Thanks.
I think it is a problem with managing test cases. For the same input on my machine outputs the correct answer but on this site don't. Look three of them. Usually passes more than 100 tests but one or two. Again, on my machine the output is the same as "Expected" on your site.
[ -29804, -4209, -28265, -72769, -31744 ];
[ 107, 158, 204, 100, 118, 123, 126, 110, 116, 100 ];
[ 151, 182, 124, 49, 4, 90, 74, -64, 191, 158, 144, 104, -35, -93 ];
There is a problem with this kata beyond me. For the same input, on my machine passes the test. Exactly same code. On your machine the output array lacks one element. Please repair this kata! I worked hard for it, I want to pass it.