Python 3 - Beats 100 - Super Simple
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```python3 []
class Solution:
    def isFascinating(self, n: int) -> bool:
        numMap = {}
        doubled = n * 2 
        tripled = n * 3
        stringVersion = str(n) + str(doubled) + str(tripled)
        for char in stringVersion:
            if char in numMap: 
                return False
            
            numMap[char] = True
        
        for i in range(1, 10):
            if str(i) not in numMap: 
                return False
            
        return True
        
```
['Python3']