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.
Added performance tests to ruby and python, js is still lacking.
Hey, just had time to take a look at it. The spec makes sense. Awesome!
I also updated JS and CS translations now, so this suggestion is fully implemented, from my perspective. Marking this as resolved. Thank you.
I updated Ruby Example Tests, please try it and tell me if you find it okay like this.
That makes sense. I've added a case with custom k-factor algorithm to Python:
But I'm no Rubist, so I would be thankful if somebody translates that into Ruby. Don't have much time at the moment, so I did not touch JS and CS yet as well, let's put it into todo-list.
This comment is hidden because it contains spoiler information about the solution
I am sorry for not being clear enough. I mean the sample tests, not the full suite of tests.
This comment is hidden because it contains spoiler information about the solution
What do you mean by that? I look at Ruby test suite and I can see several packs with custom K factor algos actually there. Please explain what you want.
Ruby test cases would save some headache if they included at least one k_factor being passed along
This comment is hidden because it contains spoiler information about the solution
I think this question should have more aggressive constraints for performance.
Just a reminder:
The return type is a dict rather than a struct for Python, if you are new to Python and it confused you...
for Python:
should support finding peaks, despite the plateau
✘ {'pos': [2, 3], 'peaks': [3, 2]} should equal {'pos': [2], 'peaks': [3]}
I feel like I'm missing something, but I have no idea what exactly... is the algorithm supposed to ignore all plateaus if a certain parameter is given? If so the description doesn't mention this requirement at all. This test case is very vague and I can't decipher it's meaning or purpose.
Right now I feel like this is impossible to finish without the proper info.
This comment is hidden because it contains spoiler information about the solution
Loading more items...