C++ EASIEST SOLUTION
\nclass Solution {\npublic:\n    bool asteroidsDestroyed(int mass, vector<int>& ass) {\n        long long m = mass;\n        sort(ass.begin(),ass.end());\n     
```\nclass Solution {\npublic:\n    bool asteroidsDestroyed(int mass, vector<int>& ass) {\n        long long m = mass;\n        sort(ass.begin(),ass.end());\n        for(auto i: ass)\n        {\n            if(i<=m)\n                m += i;\n            else\n                return false; \n        }\n        return true;\n    }\n};\n```
['Array', 'Sorting', 'C++']