Palindrome Number


  • 0
    A

    Negative Numbers are also palindrome numbers then why palindrome question in leetcode assumes negative numbers not as palindrome.

    Example

    -22 is a palindrome but in leetcode it assumes it to be not a palindrome.


Log in to reply
 

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