easy hai like to_string karo store karo check karo ki 1 to 9 hai by help of an arr aisa :D
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```cpp []\nclass Solution {\npublic:\n    bool isFascinating(int n) {\n        \n        int n2=2*n;\n        int n3=3*n;\n        string two=to_string(n2);\n        string three=to_string(n3);\n\n        string one=to_string(n);\n\n        string s=one+two+three;\n        int arr[10]={0};\n\n        for(int i=0;i<s.size();i++)\n        {\n            arr[s[i]-\'0\']++;\n        }\n\n        for(int i=1;i<=9;i++)\n        {\n            if(arr[i]!=1)\n               return false;\n        }\n\n        return true;\n    }\n};\n```
['C++']