Correct Solution but Exceeded Time Limit
This solution will give correct answer but will exceed time limit:\n```\nclass Solution:\n    def numDupDigitsAtMostN(self, N: int) -> int:\n        countRepeat
This solution will give correct answer but will exceed time limit:\n```\nclass Solution:\n    def numDupDigitsAtMostN(self, N: int) -> int:\n        countRepeat = 0\n        for x in range(1, N+1):\n            intList = [char for char in str(x)]\n            if len(str(x)) != len(list(set(intList))):\n                countRepeat += 1\n        return countRepeat
['Python', 'Python3']