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.
Using
Test.expect
without any error message provided is unacceptable.This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/162.
Please join the discussion to help us identify duplicate kata and retire them.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/162.
Please join the discussion to help us identify duplicate kata and retire them.
Could use tag
probability
Description should be language-agnostic
warning:
STDERR
assertSimilar is deprecated, use assertDeepEquals
JS Node 14. should be enabled
Python new test framework should be used (Refer this & this for more detail)
Ruby 3.0 should be enabled (Refer this & this for more detail)
Swift Translation plz accept :)
Ruby 3.0 should be enabled, see this to learn how to do it
needs random tests
(interesting concept, btw, thx)
Note: might be good to not rely on the external links, about the description.
needs random tests
The random tests are so weak there are practically no random tests.
Not to mention that the function used are fixed and has a very easy explicit inverse function.
This sentence looks ambiguous to me. It says that the given
y
has exactly one inverse in the range, but othery
values may be associated to two or morex
.Looking at the given functions, it could be better to say that "
f
has one-to-one correspondence within the given region".@buttonupbub: do tell ..