Ad
  • Default User Avatar

    I'm not sure what you mean by using those numbers with true. Could you maybe elaborate please?

  • Default User Avatar

    I'm not sure what you mean by using those numbers with true. Could you maybe elaborate please?

  • Default User Avatar

    I'm using a consol.log to check the test numbers and what I'm returning after each function. Several numbers are failing when they should pass.

    Ex. 6713595559444888
    true
    674299888
    true

    8136265557777771
    true
    563945557
    true

  • Default User Avatar

    I thought you were talking about javascript. I didnt do the ruby translation but it doesnt matter anyway cos you cant edit tests when more than 500 people have completed it.

  • Default User Avatar

    The amount of fails can fluctuate due to the inputs randomly changing when you run the tests. Im quite sure the tests are fine and the issue is with your code.

  • Custom User Avatar

    Yes. It is too inefficient to create each permutation.