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.
This comment is hidden because it contains spoiler information about the solution
First: when you are not sure if the problem comes from your code or from the kata, please post a question not an issue:-)
Second: nobody else than I passed the F# translation. All I can say is that I pass the tests... Morever I use nowhere "reduce". So it could be your code when you use "reduce" in your function "convertFracts".
Cheers.
Tests aren't locked anymore, so I changed the tests.
Tests are locked anyway so nothing can be changed
That is true but the only difference it would make in most of these solutions would be a conditional to check if the element being iterated on contains non-characters,
in which case a simple regex would solve the problem. So I wouldn't consider it that big of an issue.
Fixed, they're now all
1e-10
.why you think [ 1, 2, 3, 5, 6, 7, 88, 4455, 9927446 ] is incorrect?
Modified. Top-answer and second-from-top don't pass anymore. Nevertheless they are not invalidated?!
Edit: now they are.
Note to author:
JS version still has under 500 solves so it's possible to edit the tests. ;-)
Fixed.
change the function to sum_mul() while attempting