Not sure this is an issue or I am just dumb.
Can someone please verify output of following (random) input: [JavaScript]
Input [82730, 3117, 3, 61]
results in
Expected: 310070013, instead got: 9513159
and I am not sure if this test result is correct.

Thanks for the kata! I used numpy to calculate the products, which introduced roundoff errors that were hard to spot. Numpy is expecting a large data set more than large individual numbers. I switched to an obvious homegrown, (and not very efficient), function for the products, which fixed it.

I get "414 should equal 868" for the test (numeric_palindrome(48,9,3,67),868). However when I run my code on my machine I get the right answer.
I have created a list called palindrome which stores all the possible palindromes and my function returns max(palindrome) which is clearly 868.
Any ideas welcome.

iheshi, because 105881 doesn't have 2 '5's and '0's in it to make the number 105501. The largest palindrome possible is when you arrange it as 081518, then drop the leading 0.

if you look at the characters of 1875, the biggest symmetrical number in it is simply 8 because every character is unique.
since 8 is the biggest character, it is also the biggest palindrome.

Thanks found the problem.

it is correct ;)

Not sure this is an issue or I am just dumb.

Can someone please verify output of following (random) input: [JavaScript]

Input [82730, 3117, 3, 61]

results in

Expected: 310070013, instead got: 9513159

and I am not sure if this test result is correct.

Many thanks

@serendip: Use

`console.log`

?Also, that looks like an obsolete kata problem, so closing.

IMO the descriptions are okay. Closing.

I think this question should have more aggressive constraints for performance.

Thanks for the kata! I used numpy to calculate the products, which introduced roundoff errors that were hard to spot. Numpy is expecting a large data set more than large individual numbers. I switched to an obvious homegrown, (and not very efficient), function for the products, which fixed it.

I get "414 should equal 868" for the test (numeric_palindrome(48,9,3,67),868). However when I run my code on my machine I get the right answer.

I have created a list called palindrome which stores all the possible palindromes and my function returns max(palindrome) which is clearly 868.

Any ideas welcome.

Is it me or is it a bug?

[ 15, 125, 8 ]

product = 15000

pairs = { '0': 1 }

singles = ['0', '1', '5' ]

highest single = 5

result = 050

= 5

✘ Expected: 8, instead got: 5

If you're going to make a nonsense kata, at least make it only one nonsense task.

This should be two kata.

i) find all possible product combinations of arguments

ii) find largest palindromic number from this jumble of digits

Combining the two is just painful and stupid.

iheshi, because 105881 doesn't have 2 '5's and '0's in it to make the number 105501. The largest palindrome possible is when you arrange it as 081518, then drop the leading 0.

Still can't understand.

As 937 * 113 = 105881 and the largest palindromic number that can be arranged from this result is: 81518.

Why it's not 105501? Why it's 81518?

Not exactly "any amount" of arguments, but specifically "at least two arguments".

This comment is hidden because it contains spoiler information about the solution

if you look at the characters of 1875, the biggest symmetrical number in it is simply 8 because every character is unique.

since 8 is the biggest character, it is also the biggest palindrome.

## Loading more items...