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.
Hi,
I approved your translation but somehow ref. sol failed with your fork (with many other solutions). That's why I modified the fork during that time. You can open this issue again.
No, latest fork removed all edge cases.
Now it shoould be fixed.
I´m in agree, some solutions only works if elements in the list has len <= 3
java translation for revision
Addressed by latest fork
Fixed by latest fork of saudiGuy
Tests are too weak, almost all python solutions are wrong.
Python fork with stronger fixed and random tests: https://www.codewars.com/kumite/641b52e1e725e8014ef88d9a?sel=641b52e1e725e8014ef88d9a
Extra edge cases:
This comment is hidden because it contains spoiler information about the solution
I had another onstance of this, one (I assume random), test fails. But if I try again and don't get that test I pass. The test that catches my code is:
['69', '83', '53', '62', '52', '10', '79', '30', '33', '89', '26', '45', '75', '51', '25', '73', '52', '100', '82', '6', '20']
'101002025263033455152525362669737579828389' should equal '100102025263033455152525362669737579828389'
The test ['10','100'] causes my code to fail.
onlyonekenobie,
Hey first: nice name, haha. Second: I had this same error for a while, and figured out that a value was indeed duplicating. It must be that two sequences or something add up to this specific value or something, not entirely sure, but my fix was to check for duplicates, and just removed the duplicate then I had an accurate count.
Hopefully this helps!
Did you ever come right with this? I have a similar issue in that I have more palindromes for very large numbers than are expected. I've checked, and don't see any duplicates
Test results are correct - im guessing same number has been counted twice.
Do you know by any chance why I am not able to edit the tests then by myself? I think I should be able to contribute from 5000 points?
Done Ruby Translation
I've included an explanation of array lengths tested. I hope it's helpfull.
Loading more items...