Python 5-Liner and Explanation
\nclass Solution:\n    def asteroidsDestroyed(self, mass: int, asteroids: List[int]) -> bool:\n        asteroids.sort()\n        for i in asteroids:\n          
```\nclass Solution:\n    def asteroidsDestroyed(self, mass: int, asteroids: List[int]) -> bool:\n        asteroids.sort()\n        for i in asteroids:\n            if i > mass: return False\n            mass += i\n        return True\n```\nWe start by looking at the best case scenario for the planet. The planet will be hit with the smallest asteroids available, and the asteroids progressively get bigger as the planet increases in size as well by absorbing the increasingly sized asteroids. If at any time the next asteroid is too big for the planet, we return False. This is because we have chosen the best possible scenario for the planet. If the asteroid had come any time sooner, the planet would have gotten destroyed even more since it was smaller previously.
[]