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.
That's something I didn't know, thanks! It's fixed now :)
.
0 could be a good idea for the beauty of solutions.
"Having a failure share representation with success can lead to failures accidentally being treated as success."
If you can treat negative length of the side as a success it means you didn't understand the task. You can't have a piece of stick of a negative length.
"If not knowing about the possible None, that is still better than not knowing about the possible -1, being forced to deal with it is the whole point."
None can be an indicaion that there occured some case that your code didn't take care of. I still opt for -1 as an indication of no square case.
"s/brake/break"
I didn't understand it. Where is it? How did you come across it?
I would like the output to remain integer.
Both 0 and -1 make equal sense to me, both indicate that there can be no square constructed.
Or just
0
(would make sense)...This comment is hidden because it contains spoiler information about the solution
approved by someone
[list] + [list]
is not tested.It allows a different implementation of
[list] + [list]
.Isn't that being tested?
Thank you very much for your feedback.
Thanks again for the help.
A translation is essentially supposed to be just a "port" of the original - if you want to be more creative then you should author a new Kata ;-)
Approved again.
Please fork, else I will mess it up. I don't know Haskell. I will approve asap.
Thanks for the feedback! I can't seem to edit the test cases, though.
The point of contention is how to deal with females in the lineage. In particular, the question is whether the presence of a female...
The random tests do not appropriately cover this (as can be seen in my solution, which terminates the search in a given branch if a female is found within the first 7 children of any given ancestor)
Loading more items...