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.
should be fixed
Random tests have been added by latest fork
Kata forked and updated here:
https://www.codewars.com/kumite/656fb6c4f926c71e2819f269
Notes:
Kata author inactive, would appreciate review/approval
Enjoyed this kata, nothing over indulged in the backworkings of obscure language properties. Just a straight problem that can be solved a variety of different ways. Well done
No random tests, making it very easy to hardcode a solution.
I understand by reading the discussion that all tiles need to make a consecutive sequence of pairs starting from 1. The description does not state clearly this. Moreover most tests return 'passed' with incorrect arrays (incorrect length or incorrect content) and tests messages are not informative enaugh.
Hi, it's not very clear.
I had to see the tests cases in order to finish the kata.
I didn't get any points :/
The 7th test isn't really useful.
This comment is hidden because it contains spoiler information about the solution
Fails due to the duplicate couples. I will change the description to make this clear.
Fails due to lack of sequence. The numbers should start with 1-1, 2-2, 3-3 ..... n/2-n/2
Any idea, why this fails:
[ 1, 16, 19, 19, 9, 14, 4, 9, 16, 19, 7, 9, 14, 4, 19, 1, 1, 9, 7, 1 ]
Is it not random enough (because of duplicates)? Then the description should be clearer
Same with (no duplicates):
[ 9, 2, 3, 6, 2, 16, 14, 18, 8, 8, 3, 7, 14, 6, 9, 10, 18, 7, 16, 10 ]
Both fail on 7th test:
The array is not correct :(
Happy to help! ^^
Thanks! Better than the one I just wrote :) I will use your instead.
Here's a quick explanation you can use if you wish:
Loading more items...