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.
You're using two for loops that go all the way to n.
You simply have to either get rid of one of the for loops or at least minimize which tests you look at.
I had the same issue and I chose to get rid of one of the for loops, although that meant I had to deal with floating point errors.
This comment is hidden because it contains spoiler information about the solution
Further adding to the confusion, when I just attempted this a moment ago it asked me for the "highest sequence of TWO NUMBERS in a row", and I failed the test because there's still a unit test in there checking for 5 consecutive numbers. wtf?!
This comment is hidden because it contains spoiler information about the solution
Great, you got it! Made minor alteration to my code and it now passes.
PS: There's a hidden message in my previous response.
I'll let you know you're not the first person to produce those exact results and then space out on what's wrong with the output.