C++ Easy Solution
\nclass Solution {\npublic:\n    bool asteroidsDestroyed(int mass, vector<int>& v) \n    {\n        sort(v.begin(),v.end());\n\n        long long ans=mass;\n   
```\nclass Solution {\npublic:\n    bool asteroidsDestroyed(int mass, vector<int>& v) \n    {\n        sort(v.begin(),v.end());\n\n        long long ans=mass;\n        for(long long i=0;i<v.size();i++)\n        {\n            if(ans<v[i])\n                return false;\n            ans+=v[i];\n        }\n        \n        return true;\n    }\n};\n```\n***Upvote if you like the solution :)***
['Greedy', 'C', 'Sorting']