Ad
  • Default User Avatar

    That's the same for JS
    My basic tests passes with 32ms
    and i still don't pass in the "More Challanging Cases" even tho those cases received the same parameter of another test that has passed -.-

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    RUBY:

    You really need to consider how fast the methods you use are.
    There is a ruby method to create array very fast.

    Your sample tests should run in 1-2ms if you want to avoid timeout on random tests.

    I'm a bit disappointed in this exercice.
    If you don't have one precise method you won't succeed regardless of you smart you can be.