Python Simple Solution
\nclass Solution:\n    def minOperations(self, nums: List[int]) -> int:\n        c=0\n        for i in range(len(nums)-1):\n            if nums[i+1] <= nums[i]:
```\nclass Solution:\n    def minOperations(self, nums: List[int]) -> int:\n        c=0\n        for i in range(len(nums)-1):\n            if nums[i+1] <= nums[i]:\n                d = (nums[i] + 1) - nums[i+1]\n                nums[i+1] += d\n                c += d\n        return c\n```
[]