Dividing Array Greedy Concept

I didn’t get the question right and I didn’t get the test case given in the question,
input:
1
4
12 -3 10 0

output:
5 25

How can I approach this problem?

Hey @Kinjal
I believe this doubt is resolved now :slight_smile:
If so then please mark it as resolved :slight_smile:

Okay Bhaiya…and you’ve helped me to solve this problem. Thanks.

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.