Why "0" not counted?


  • -1
    Z

    A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).

    So "0" must be that kind of number. However, it does not appear in the correct answers.


  • 0
    R

    "0" is counted, but "00","000"......should not be counted, because they are not numbers.


  • 0
    S

    But 6009 should be counted. Test case does't cover such kind of numbers


Log in to reply
 

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