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.
@serendip: Use
console.log
?Also, that looks like an obsolete kata problem, so closing.
Not exactly "any amount" of arguments, but specifically "at least two arguments".
how to check the test cases ? The case failed, but can not get the case.
You must use a product of at least two factors (a product of 1 factor, well.., it is not a product)
Two things:
First, the test case
[34735, 56]
should resolve to 373, but instead expects 191.Secondly, all of the random tests give me this error.
ReferenceError: res is not defined
at sol_get_comb
at sol
at Object.Test.it
at Object.Test.describe
The predefined tests all passed so I don't think it's a problem with my code. Help would be appreciated!
I like this kata, and I am 99% sure I have a solution, but one of the tests is buggy. I logged its inputs: 15, 125, 8. These numbers have a product of 15000, the largest palindrome from which is 5. The test says it's expecting 8, which I just don't think is right. All of my other tests pass. Please give me my magic internet points!
Edit: I'm sorry, I didn't see that it should be looking for the largest palindrom from ANY AMOUNT of the arguments. My bad.