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
interpolation_coefficients
has been changed to getDecimal
values whileinterpolation_formula
still getsfloat
values.interpolation_coefficients
has to be provided by user code for tests to work, but it does the same thing asinterpolation_formula
. The latter only does the formatting. So wha are we being tested two almost identical functions?i dont understand what following lines mean in examples:
(0.52 > 0.48) => [485, 431] and 485 + 431 = 916
and(0.8 > 0.6 > 0.4 > 0.2) => [0, 1, 1, 0] and 0 + 1 + 1 + 0 = 2
.What does
(a > b > c )
mean, exactly, and how it applies to the task? What is[ 0, 1, 1, 0 ]
in the second example?This issue is not fixed.