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.
Hi,
Unfortunately, this has already been done: https://www.codewars.com/kata/5b05867c87566a947a00001c => Unpublishing.
Cheers
All answers in JavaScript are now required to be returned using BigInt.
Argument names have been changed in the description to match the ones in the code.
Thanks a lot, random generator range has been fixed :)
Thanks very much for all the advice! I sincerely did not notice these errors but have (hopefully) fixed them all.
0
in the array is not tested.Random tests only contains positive integers.
Python: Argument name is
l, n
instead ofa, b
. It should be aligned to the description.In the given input range the maximum possible return value in JS is
100 ** 10
, which is way over the floating point limit.You need to use
BigInt
s instead of normal numbers in JS.