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.
I'm having the same issue. What is the extra instruction for the sort function?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks. yea, I figured that out
It's something wrong with the Codewars environment in which the code is run (probably) as its sort mechanism behaves differently. At this point all you need is addingd an extra instruction to your sort function.
there has to be something wrong. All my tests pass and match the kata test cases in my ide but here, when I test it, I get different (wrong) results
An interesting kata to solve BUT feels more like 6 kyu at least.
Nothing wrong with the Kata
I keep getting valid results for random tests on repl.it for JS language but not here, the frequency stays only the order of digits with same frequency is random, like instead got: [27, 27, 0, 0, 47, 47, 44, 44, 7, 7, 11, 11, 39, 39, 37, 37, 26, 26, 17, 17, 24, 24, 21, 21, 48, 48, 19, 16, 1, 28, 29, 31, 32, 34, 18, 14, 13, 40, 41, 5, 45, 46, 4, 36] though right order stays for the very same input on repl.it, can I have a suggestion pls?
This was helpful, solved my issue, Thanks a lot!
Some details on Error 137: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#i-get-max-buffer-size-reached-15-mib
Maybe the amount of low fractions is not the problem for you?
How far does the testing go? I keep getting valid results but at the end I get the exit code 137 Max Buffer Size Reached (1.5 MB) as it seemingly tries to calculate and add up more and more insanely low fractions. Any Suggestions? Thanks in advance.