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.
Factor: “Should return f for valid parentheses” should read “Should return f for invalid parentheses” in tests and sample tests.
Factor translation:
typo: occured -> occurred
typo: Seperated -> Separated
The methods probably shouldn't have trailing () in the description.
Description says "You are given an array with positive numbers […]".
Factor: In the random tests, non-positive results become 1. Also, why are there negative numbers in the arrays in the first place?
I mean the ! part. ! is always read as a comment for me.
Edit: Oh, wait, that isn't a regular !. nvm
How does that even work? Does it only work in 0.98?
Haha, you're right. I didn't think of flipping it that way.
In Factor the fixed tests expect an array, the random tests expect a vector.
This comment is hidden because it contains spoiler information about the solution
In Factor the tests for lists of 10 elements often fail with my solution. I don't know what's wrong here.