Simple code beats 100% with comments
IntuitionNo idea at firstApproachWe just check if there are zeros, duplicates, and the length is 9. If all True then return True. Else return FalseComplexity
Ti
# Intuition
No idea at first

# Approach
We just check if there are zeros, duplicates, and the length is 9. If all True then return True. Else return False 

# 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:
        """Combine the Nums"""
        num = str(n) + str(2*n) + str(3*n)

        """Setting the variables"""
        noduplicate = True
        new = []

        """if there are 2 of the same nums in the number, noduplicate = False"""
        for digit in num:
            if digit in new:
                noduplicate = False  
            new.append(digit)

        """Checks if zero is in num"""
        zero_in_num = ('0' in num) == False

        """Final if statement"""
        if len(num) == 9 and zero_in_num and noduplicate == True:
            return True
        else:
            return False

```
['Python3']