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.
Also I'm raising the issue because of two things:
length = 3
may be deceptive because you may think that you should sort either by 1's or by 0's, while it's stated you should do it by 1's. I thought about the 2nd variant at first, so I made two solutions, the second one was made after realising you need to do ONLY sorting by 1's. I think example test forlength = 4
should clarify the task better, so the people like should work only with 1's.Apparently the description for this kata is a little janky, because I thought about another side of the solution (if you know, you know) and that didn't work.
Maybe you should add an example for
length=5
for more clarifiyng, I think?Also, that's between 'meh' and 'like', but this time I round it up. Hope someone will fix that issue. Cheers :)
Duplicate
Hi,
In the random tests, I generate things like below, which seems consistent with the description (edit: rather "with the example"), but I get errors in the random tests:
Thinking about it, I believe I found my problem, but considering this solution passes all the fixed tests, that means your example in the description is a bit misleading and moreover that your fixed tests are not sufficient (both sample tests and test cases).