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.
Haskell translation
The examples in the description used language-specific syntax, so I updated it to be language-agnostic.
thanks!
thanks!
Nice Kata!
But there should be some test cases with booleans outside of random cases as my solution passed all the tests with no check for booleans
approved at 7 kyu: ranking votes
I remember my first katas; they were... subpar at best. just keep up the good work, this one seems great!
done! thanks for also providing the solution!
added tests for checking duplication
This comment is hidden because it contains spoiler information about the solution
ah i see , i will add that now. Thanks!
can you please provide an example? also should i add more test cases for duplication cases?
Cases with duplication of integers are not properly tested, and solutions, which fail example tests, may actually pass main test suite.
done!
thanks!
indention to be corrected for last line of random tests.
fixed!
thanks!
Loading more items...