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.
foi isso que pensei tambem
what if the sequence 'step' isn't one? what if it's increasing by 2 for example?
Whoops, gotcha.
Not my kata, check lovecraftor's (he had the same question) post below and mark your post as having spoiler content when you share a screenshot of your code like that next time, please.
I've checked the control function and also passed the kata and it works fine. I see you've solved the kata, you can check it for yourself too.
Ruby random tests are still incorrect. I submitted a solution yesterday and got errors for '11', '55', and '77'. My code returned false and the tests expected true.
This comment is hidden because it contains spoiler information about the solution
The tests for Python are ok, print the input and check why your code fails. Not a kata issue.
My code passes all the tests, except for the mysterious fourth one from the "Larger Numbers"(three total in the test suite(is that the correct term?)), that I can't see :D
Ruby tests are incorrect. The random tests expect 'Jumping!!' for numbers with identical digits. My first attempt failed '11', '55', and '77'.
According to the description, these are not jumping numbers. "Jumping number is the number that All adjacent digits in it differ by 1." None of these numbers' digits differ by 1.
Your solution modifies the input so the reference solution gets an empty array... I modified the tests to prevent people who modify the input to pass. Thanks for your post. (Note: it is considered bad practice to modify the input; if you want to modify, do it on a copy.)
The Ruby random test cases are incorrect. Every single test evaluates to an empty string.