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.
I am confuesed ? Why did you publish the same Kata twice (both of which apparently have about 50% upvotes) And have mistakes in them ?
I maybe a bit new here but I don't think that you are supposed to do that (feel free to correct me if I am wrong)
Also impressive job on the honor gain (less than 2-3 weeks and you are at 2k). Where did you go wrong with the creation of these kata's.
Awaiting an answer :)
What he means is: It's a duplicate.
Of both Combinations, which you could have translated, and Combinations ( which should have been a translation of former, but I claim youthful innocence and I didn't know Haskell at the time ).
Apart from that, description does not specify whether or not
array of number
can contain duplicates. This matters. A lot. But please don't fix it, just unpublish this duplicate.This comment is hidden because it contains spoiler information about the solution
This test case does not make logical sense - one simply cannot choose 2 items from a collection of 0 items (and therefore should be treated as an error unless otherwise stated). Since this edge case goes against intuition, it should be explicitly clarified in the Description.
Needs Random Tests.
Please use
Test.assertEquals(actual, expected, message)
instead ofTest.expect
Initial code does not match the requirement