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.
Obsolete / out-dated issue. As of now, Ruby random tests work fine, closing
OP solved it, closing
BTW I've tried your code and it fails. Please use backticks when pasting code here so it get's fotmatted.
It should be because I'm not a native English speaker
Because "their digits are in increasing order (the numbers may have two or more equal contiguous digits)"
And '1 < 0 < 9'
And '9 < 0 < 1'
are false~
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
names
is an array, not a string. Your first if does nothing.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution