1012. Numbers With Repeated Digits
Description
**Input:** n = 20
**Output:** 1
**Explanation:** The only positive number (<= 20) with at least 1 repeated digit is 11.**Input:** n = 100
**Output:** 10
**Explanation:** The positive numbers (<= 100) with atleast 1 repeated digit are 11, 22, 33, 44, 55, 66, 77, 88, 99, and 100.**Input:** n = 1000
**Output:** 262ac
Previous1011. Capacity To Ship Packages Within D DaysNext1013. Partition Array Into Three Parts With Equal Sum
Last updated