Test cases needed

  • 0

    As far as I know, my solution passes "6e6.5 => false" because I split the string by "e" and return false if the first item's length is 1. It is intended to detect ".e123", but happened to pass "6e6.5". I think we should add test case like "123e4.5"

  • 0

    Thanks, test case added.

Log in to reply

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