Negative numbers


dealing with negative numbers can be tidious … are we considerering it as well


String only contains characters, there are no such thing like negative numbers as a character in a string.
For example, a string having -4 in it will be considered having two adjacent characters ‘-’ and ‘4’. So in this question you only need to compare for ‘4’ as it is an alphanumeric character an not for ‘-’.