Ad
  • 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.