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
OP solved it, closing
Thanks I will try that
ok thanks, I will try that
This is one of my first kata in haskell, I am not sure if this is a problem with the way the test is written or it is a limitation of the language, but each test should be it's own. I have spent several hours trying to understand why my code was failing in the first test when actually it was passing it and failing the second(-1)
Start by commenting out lines from bottom to top, and make sure each step really does what the comment says.
This comment is hidden because it contains spoiler information about the solution
perhaps this can help: js for loop
thanks for the help. I still get unexpected token. Do you know what could fix it by any chance?
The center portion of the for loop should compare that
i
persists in being less than thearrayLength
.This comment is hidden because it contains spoiler information about the solution
Stuck how? What language?
Thanks for the help
That's because your loop won't run when
a > b
.Loading more items...