Topic: Array Problem / Level: intermediate

Problem: Find the minimum number of operations required to make an array non-increasing by only decrementing elements.

Run the code to see the output here...