Super Easy C++ Solution
Code\n\nclass Solution \n{\npublic:\n    bool isFascinating(int n) \n    {\n        int n2=2*n;\n        int n3=3*n;\n        string s=to_string(n)+to_string(n2
# Code\n```\nclass Solution \n{\npublic:\n    bool isFascinating(int n) \n    {\n        int n2=2*n;\n        int n3=3*n;\n        string s=to_string(n)+to_string(n2)+to_string(n3);\n        set<char> st;\n        for(auto ch: s) \n        {\n            if(ch==\'0\') return false;\n            st.insert(ch);\n        }\n        return st.size()==9 && s.size()==9;\n    }\n};\n```
['C++']