Rotate a number by 180 degrees and check if it gives the same number.
Follow up:
Give the count of all such numbers for n, where n is the number of digits.
Comments (6)
Rotate a number by 180 degrees and check if it gives the same number.
Follow up:
Give the count of all such numbers for n, where n is the number of digits.