Nice n EZ Python Solution :D
Complexity\n- Time complexity:\n O(n)\n\n- Space complexity:\nO(1)\n# Code\npython3 []\nclass Solution:\n    def minElements(self, nums: list[int], limit: int, 
# Complexity\n- Time complexity:\n $$O(n)$$\n\n- Space complexity:\n$$O(1)$$\n# Code\n```python3 []\nclass Solution:\n    def minElements(self, nums: list[int], limit: int, goal: int) -> int:\n        return ceil(abs(goal-sum(nums))/limit)\n```
['Python3']