Luke - is fascinating solution
IntuitionApproachI used 3 int variables. One of them is the int n value, the other is n2, while the other is n3. I converted all these 3 int variables to string
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->
I used 3 int variables. One of them is the int n value, the other is n*2, while the other is n*3. I converted all these 3 int variables to strings. I combined these three strings to one string, whose variable name is answer. I declared nine more int variables in order for me to keep the number os 1s,2s,3s,4s,5s,6s,7s,8s,and 9s. If the string contains 0, return false. We check to see if there are exactly one of 1s,2s,3s,4s,5s,6s,7s,8s,and 9s.
# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->
O(n)
- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```java []
class Solution {
    public boolean isFascinating(int n) {
        int first = n;
        int second = n*2;
        int third = n*3;
        String o = Integer.toString(first);
        String t = Integer.toString(second);
        String r = Integer.toString(third);
        String answer = o+t+r;
        int ones = 0;
        int twos = 0;
        int threes = 0;
        int fours = 0;
        int fives = 0;
        int sixes = 0;
        int sevens = 0;
        int eights = 0;
        int nines = 0;
        for (int i=0; i<answer.length(); i++){
            if (answer.charAt(i) == '0'){
                return false;
            }
            else if (answer.charAt(i) == '1'){
                ones++;
            }
            else if (answer.charAt(i) == '2'){
                twos++;
            }
            else if (answer.charAt(i) == '3'){
                threes++;
            }
            else if (answer.charAt(i) == '4'){
                fours++;
            }
            else if (answer.charAt(i) == '5'){
                fives++;
            }
            else if (answer.charAt(i) == '6'){
                sixes++;
            }
            else if (answer.charAt(i) == '7'){
                sevens++;
            }
            else if (answer.charAt(i) == '8'){
                eights++;
            }
            else if (answer.charAt(i) == '9'){
                nines++;
            }
        }
        return ones == 1 && twos == 1 && threes == 1 && fours == 1 && fives == 1 && sixes == 1 && sevens == 1 && eights == 1 && nines == 1;
    }
}
```
['Java']