LC: 1056. Confusing Number
Input: n = 6
Output: true
Explanation: We get 9 after rotating 6, 9 is a valid number, and 9 != 6.Input: n = 89
Output: true
Explanation: We get 68 after rotating 89, 86 is a valid number and 86 != 89.Input: n = 11
Output: false
Explanation: We get 11 after rotating 11, 11 is a valid number but the value remains the same, thus 11 is not a confusing numberPreviousLC: 1055. Shortest Way to Form StringNextLC: 1061. Lexicographically Smallest Equivalent String
Last updated



