Why "000" is not considered as a test case?


  • 0
    E

    Obviously, "000" is also a string that meets additive number requirements. However, it is not shown up in the test cases.
    My code gives a false result for this specific case which would be true by default. But my code could still pass all test cases. I think someone should add it into test cases.


  • 0
    W

    Good point.
    This could reveal a bug but the test case set is not including this one.


  • 0

    Thanks, this test case was just added.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.