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 is missing a whole lot of cases, no?
Here's a few:
Description mentions "Several guys" but I don't see the word "and" used anywhere in the test code at a glance. That'll cause people to write code for this - except it.. isn't part of the task?
Sample tests are missing the imports for test framework and solutions
Description does not mention whether a middle name will be expected, should have mentioned what constitutes a name and its form, which in this case is
${firstname} ${lastname}
onlyAlso these tasks have been done to death (Similar ones listed below) --> Basic string parsing with direct solution giveaway just by reading the description !
You know what else is free too? --> Authoring katas on CW in any spoken language of your choice (The rules prohibit this but not the system ^^)
The whole design of this kata is flawed. Mixing different data type for expected output is a bad practice, let alone needing to explicitly handle the case when only 1 combination is found!
As of 21/1/2025, there are a total of 323 submissions, so revamp of tests to expect only an array of arrays / a list of lists can still be done with minimal tradeoff with all solutions being invalidated ! (This also adds the compatibility of the kata to be translated across strongly typed languages)
Why not just return
[]
for this case? Since an empty array literally represents nothing to process in the first place !!!Why not just return
[[]]
for this case ? Since an array consistng of only an empty array represents after processing the array, no combination was foundDescription does not mention we need to just return the first combination, not the entire array. Though the first example implies this, it is no where stated clearly in written words...
OTOH, the explicit handling of 1 combination mentioned above increases the number of data types for the expected output -> an array. So, such requirement should not be there in the first place !
Node 18. should be enabled
Test.expect
should be abortedAssertions that do not test anything should be removed, like this one:
Description should be language-agnostic
should be
JS Node 18. should be enabled
Golfed reference solution should be ungolfed
JS Node 18. should be enabled
Description has unnecessary
<p>
and<select>
tag, should be removed.Node 18. should be enabled
Description should be language-agnostic
done
The input given can be
null
, so you should explicitly handle that first before filtering the arrayIt simply means to find the unique combination with a size of
m
wherebym
is the lowest frequency of an element in the array of digits.suggestion on how to solve it != kata suggestion
Loading more items...