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.
Approved
Lua translation and Prolog translation
Fixed.
Self-approved :)
Added random tests to CoffeeScript
Double every other digit, scanning from right to left, starting from the second digit (from the right).
Whilst your code is doubling every digit.
Your solution is wrong and fails with inputs like
8675309
it returnstrue
instead offalse
.Not a kata issue.
You're not doing that right.
Everything is working on my end, and I am passing the test. But when I attempt, it is saying expected true to equal false and vice versa if I change.
Scala translation
Good problem!
Nice, thanks for that @hobovsky. Indeed, it's passing now.
I changed the reference solution which seemed to be buggy, and your solution passes now. Please verify and mark the issue as resolved if the problem does not occur anymore.
Should be fixed.
Could you check again?
The F# random test is wrong apparently. My code passes all the manual tests, but fails on the random. I added a printfn instruction to show what is the input and it's a big quantity of numbers.
Loading more items...