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.
There are no sample tests or random tests.
This comment is hidden because it contains spoiler information about the solution
There are no exact duplicates, the closest is this (since you need the optimal strategy to determine who wins anyway).
isn't the kata just a duplicate? If so, we can unpublish it.
Random tests only report
XCTAssertTrue failed -
, which is unacceptable (what is the expected and actual value?)Tests are missing key components:
Duplicate.
Sample tests missing
Please update the description and sample tests.
In addition to adding sample test cases, you should add some random tests to the main test suite to keep people from just submitting special case solutions for the fixed inputs.
Also, adding a variant for Swift 4 would be very welcome.
You have no sample tests at the moment, all you have is the default test that always passes if the submitted code compiles. You should really add your current test cases to the sample tests so people attempting the problem have something to work with (though you may want to save the empty input string for the hidden tests).
Prime sieve is a duplicate to many existing katas.
Needs random tests
This comment is hidden because it contains spoiler information about the solution