Ad
  • Custom User Avatar

    ...whether any combination of 3 numbers sum to 0.

    You are allowed to use a number more than once, as long as you use only 3 numbers total (e.g. 0+0+1 ).

    0 + 0 + 1 is 1, not 0.

  • Custom User Avatar

    I am failing 2-5 test cases for which my solution returns the correct value on my machine and on REPLIT. I printed the return value and the log on these says false, but the result is 'expect: false, got: true'. I don't understand, why my solution always returns the correct value according to the log but a few are counted as incorrect?

  • Custom User Avatar
    • Ruby 3.0 should be enabled (Refer this & this for more detail)
  • Custom User Avatar

    Can someone approve this Python translation?

    The author has been MIA.

  • Custom User Avatar

    You are allowed to use a number more than once, as long as you use only 3 numbers total (e.g. 0+0+1 ).

    There are no solid checks on this requirement; the only case that kinda tests for it [0], which is trivial and really can't catch it.

    Please add test cases like [1,3,6,10,15,-12].