Search
⌘K

Leetcode 1056. Confusing Number

Check whether a given positive integer becomes a different valid number when rotated 180 degrees — using digit mappings 0→0,1→1,6→9,8→8,9→6 (digits 2,3,4,5,7 are invalid). Return true if the rotated number is valid and not equal to the original.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.