Java easy solution
\nclass Solution {\n    public boolean isFascinating(int n) {\n        String str = String.valueOf(n) + String.valueOf(2*n) + String.valueOf(3*n);\n        Hash
```\nclass Solution {\n    public boolean isFascinating(int n) {\n        String str = String.valueOf(n) + String.valueOf(2*n) + String.valueOf(3*n);\n        HashSet<Integer> set = new HashSet<>();\n        System.out.println(str);\n        for(int i=0;i<str.length();i++){\n            int ch = str.charAt(i)-\'0\';      \n            if(ch == 0){   \n                return false;\n            }else{\n                if(set.contains(ch)){\n                    return false;\n                }else{\n                    set.add(ch);\n                if(set.size()==9) return true;\n                }\n            }\n            \n        }\n        return false;\n    }\n}\n```
['Java']