Python 1-line solution using ceil
\n    def minElements(self, nums: List[int], limit: int, goal: int) -> int:\n        return math.ceil( abs(goal - sum(nums)) / limit) \n
```\n    def minElements(self, nums: List[int], limit: int, goal: int) -> int:\n        return math.ceil( abs(goal - sum(nums)) / limit) \n```
[]