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
There should be a fixed test -->
1
across all languages as some solutions will have trailing lines as output (1\n
)C Translation (author inactive).
As stated in prior comment, the description suggests that only natural numbers will be passed in as arguments. Test cases show otherwise, which is confusing. It would be best to establish input expectations in the description.
Description should be language-agnostic
Invalid inputs are not being tested in the main tests.
That's not tested and some wrong solutions pass by chance. And in some other languages, correct solutions won't pass.
Ruby 3.0 should be enabled, see this to learn how to do it
Returning different data types is bad practice, consider returning
Null
or something similar for invalid valuesThis comment is hidden because it contains spoiler information about the solution
The haskell fixture doesn't test if
m
is a multiple ofn
.According to the description, it should be excluded, my solution (which does not exlude
m
) passed.This comment is hidden because it contains spoiler information about the solution
C# description says up to rather than including. Very misleading
This comment is hidden because it contains spoiler information about the solution
Loading more items...