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.
OP solved it, closing
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
intresting
Yes, but
6
and7
are incorrect, because the next correct number after1
is2
, which doesn't appear. Therefore, all that comes after1
is missplaced and should be included in the returned list. I changed the description to "Incorrect page numbers may appear next to each other".The recursion stops when the parameter becomes 0. It is falsy so will return 0, then rollback :)
Duplicate issue of
no sample tests
belowFrom the description:
"The sequence will always be 10 numbers long and we know that the base is going to be between 2 and 10 inclusive"
"When sorted, the sequence is made up of consecutive numbers."
Ten consecutive numbers always contain all available digits in bases < 10
Language?
yeah, just use 3.8. It effectively times out in 3.6.
I'll try to update the kata this evening (the tests are "old fashion", for now)
edit: done
I just tried the current version of the tests and everything is ok, even with an empty code on the user side... => ?
(tried with 3.8)
We don't always get what we want. @Blind4Basics could you take a look at it?
There is an open (in fact there are 2) issue about that, there is no need to open another. Closing.
Loading more items...