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.
1.) Is the priorty this : first = smallest number, second = smallest I index, third = smallest J index ?
If that is true I have a test response of :
expected [ 261235, 2, 2 ] to deeply equal [ 126235, 2, 0 ].
Thanks for the help with this head scratcher.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
So I was wondering how the expected does the calculation for median.
Since my solution for median is correct but the expected was giving
values like 55.5 and 64.5 when these values didn't exist in the list of scores
and median is get the middle value.
Example :
1,3,5,7,9 = 5
1,22,33,34,35 = 33
The value most be the middle number in the list.
Could you give me a hint to what the problem in my code is ?
As far as I can see the actual matches the expected.
So why should it not be seen as a valid solution.
This comment is hidden because it contains spoiler information about the solution