0788. Rotated Digits
Description
**Input:** n = 10
**Output:** 4
**Explanation:** There are four good numbers in the range [1, 10] : 2, 5, 6, 9.
Note that 1 and 10 are not good numbers, since they remain unchanged after rotating.**Input:** n = 1
**Output:** 0ac
Last updated