Count 3 Sister Numbers
From Meta interviews: Count the number of three-digit integers in a given range [left, right] (100–999) where all three digits are distinct. Given left and right, report how many such numbers fall within the inclusive bounds. A concise coding interview problem and interview question on digit uniqueness and range constraints.
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Input Variables
Execution Result:
