Can you add fractional number and negative number into test case?


  • 0
    S

    The question itself doesn't say the strings are positive integers. It was after I saw others' solution that I realize the question only aim at positive integers. But according to the statement of the question, I think it should add fractional numbers and negative numbers and cases like "+4.5".


Log in to reply
 

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