Ad
  • Custom User Avatar

    I updated the assertion message so that it gives you the value of n.

  • Custom User Avatar

    IIRC, "Unhandled rejection" means simply failed assertion in JS tests. You solution passes 1165 tests, failed one assertion and then stopped. Reason for your failure is given with the assertion message, "Not an array", so probably tests expect an array and you return something else (undefined?)

  • Custom User Avatar

    ok, sounds like your code doesn't return an array when it should, for one input. If you deploy the "verify" block, in red, you should see the value of n causing that.

    Note: I just changed the upperlimit for various languages (some were easier than others) => the top value of N is 1300 in JS, now.

  • Custom User Avatar

    I guess you have a "time out" error? Then you didn't pass all tests at all, your solution is just too slow (if you passed all tests, you should see 1466 succesfull tests, in JS)