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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Great catch. All are corrected. Could you help bring it out of beta? Thanks a lot!
Hi, This beta kata is now "Awaiting moderator approval". Is your ranking high enough to be a moderator? Could you help approve it? Thanks.
If you click "test", it would fail for the provided template. That's because you need to provide test cases.
From the problem description:
"Your function should do all the calls to the count_ballot() function needed to obtain full statement coverage for this function as listed below."
Which language were you working on? I can give you more detailed info if I know which version of the kata you were referring to. Thanks.
Thank you for the encouragement. Yes, doing testing is very different. I'm not sure if CodeWars is the right platform for unit tests but it's worth a try.
This comment is hidden because it contains spoiler information about the solution
Sounds reasonable to me. I'm very familiar with Haskell, though. Thanks for taking care of this.
It's best for the test code to ignore the order of the subsequences. Different approaches naturally yield subsequences (combinations) in different orders.
When there's only one subsequence, a single-item list of a list should be accepted so that the code is more concise.
Could you share the link of that kata? Thanks.
This comment is hidden because it contains spoiler information about the solution
Loading more items...