Ad
  • Custom User Avatar

    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

    at [eval]:5:6
    

    The predefined tests all passed so I don't think it's a problem with my code. Help would be appreciated!

  • Custom User Avatar

    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.