Ad
  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Hmmm. Any guidance to share? Tried another method, same result __

  • Custom User Avatar

    [JavaScript] - The JS tests seem to go extremely high, web Repl's think it's in an infinite loop.. is this just failing because the servers stop executing? I've optimized a lot.

    Passed: 19 Failed: 1 Errors: 1
    Test Results:
    Test Passed: Value == 30
    Test Passed: Value == 9
    Test Passed: Value == 495
    Test Passed: Value == 0
    Test Passed: Value == 3025
    Test Passed: Value == 3025
    Test Passed: Value == 3025
    Test Passed: Value == -10
    Test Passed: Value == 0
    Test Passed: Value == 5
    Test Passed: Value == -5
    Test Passed: Value == 0
    Test Passed: Value == 65650
    Test Passed: Value == 66963
    Test Passed: Value == 6506500
    Test Passed: Value == 650065000
    Test Passed: Value == 65000650000
    Test Passed: Value == 6500006500000
    Test Passed: Value == 650000065000000
    Things begin to get really big, try console.log(max) - Expected: 65000000650000000, instead got: 65000000699999980

    I've tried both reduce and forEach variants.

  • Custom User Avatar

    Was wondering how to do this with REGEX, thanks! Great soluiton.

  • Custom User Avatar

    The initial tests pass, but are the extended test suite broken for this question?

    Testing for [[44, -2], [61, 15], [27, 20], [44, 8], [40, -1], [43, 24], [44, 18]]
    Log
    ["Open", "Senior", "Open", "Open", "Open", "Open", "Open"]
    #<ArgumentError: comparison of String with 55 failed>
    >=' block in solOOS'
    each' solOOS'
    block (3 levels) in <main>' block (2 levels) in '
    `times'