Search⌘ K
AI Features

Confusing Number

Confusing Number asks you to rotate every digit of an integer by 180 degrees and return whether the result is valid and different from the original, ignoring leading zeros.

Statement

A confusing number is a number that, when rotated 180 degrees, produces a valid yet different number.

Digits can be rotated ...