Ad
  • Default User Avatar

    Saying that 471 people have completed this question in JavaScript it is very likely your code is incorrect.
    Also since there are random tests on this kata you will find that the passed/failed amount will vary.

  • Custom User Avatar

    Hi Dimas_Day, unfortunately you have not passed all the tests, just the sample tests. The Fixed and random tests contain larger numbers, so you're getting a JavaScript heap out of memory error because you're trying to use more heap than is there to use to calculate from them. The javascript tests do not need to be fixed, you need to optimize your code to use less memory... (also make sure it's optimized for time) Good luck!

  • Default User Avatar

    Please post your code and tick the box Mark as having spoiler content.