Problem · Math
Unique Digits in Range
Learn this problemProblem statement
Given a range [a, b], count how many numbers in that range have all unique digits.
Function
countUniqueDigits(a: int, b: int) → intExamples
Example 1
a = 5b = 11return = 6^o^