Ad
  • Custom User Avatar
    1. Spoiler flag!!!
    2. If this is JS, there's 537 completions already, and the tests are correct. If you're timing out, it's problem with your code, and not KATA itself. (I see you're checking every number to see if it's prime, there's a faster way...)
    3. If you post code, format it properly (LINK)
  • Custom User Avatar

    If it doesn't pass, nothing is solved:-) Not an issue of the kata since 533 people passed the JS kata. Something wrong in your code?

  • Custom User Avatar

    Brute force will not work. There is a mathematical solution that you can find with basic research. Good luck!