1088. Confusing Number II
MathBacktracking
Hints
Hint 1
Which set of digits have the valid numbers?
Hint 2
Only 0, 1, 6, 8, 9 are the valid set of digits, do a backtracking to generate all the numbers containing this digits and check they are valid.
Preparing judge…