Description should be language-agnostic
Given a number, find the permutation with the smallest absolute value (no leading zeros).
What was the input value? It seems your number has indeed leading zeros.
11588 should equal 1001588
just tell me why, something wrong in this kata
No enough explanation
C translation (author gone)
approved by someone
already approved
Great kata
Thank you
Because we're looking for smallest absolute value, your result is highest one.
n = -482072 answer = -874220
Why is incorrect answer?
elaborate please?
the problem states that leading 0s aren't allowed. so 01 would be invalid
because it's not a valid number (as string)
Loading collection data...
Description should be language-agnostic
What was the input value? It seems your number has indeed leading zeros.
11588 should equal 1001588
just tell me why, something wrong in this kata
No enough explanation
C translation (author gone)
approved by someone
already approved
Great kata
Thank you
Because we're looking for smallest absolute value, your result is highest one.
n = -482072
answer = -874220
Why is incorrect answer?
elaborate please?
the problem states that leading 0s aren't allowed. so 01 would be invalid
because it's not a valid number (as string)
Loading more items...