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.
Also, the sample tests are having the below line:
Test.assert_equals(super_size(69),96)
But when I run the tests, it is checking for 696 and according to the assertion it should return 96. This is just one example but all the other examples are also giving the same problem.
Why is this kata saying that for input value '696' it should return '96'. I hope that's not the case as the instructions say nothing about this?
All the assertions are getting failed becuase they are removing the duplicate values and checking the final output without any duplicate digits.
Check and confirm the desired output.
I want to ask whether the function should check for the duplicate dividends or not. E.g., if the numbers array is [2, 4, 4, 5] and the divisor is 2, then should the function return [2, 4] or [2, 4, 4] ?
Can anyone clarify this doubt?