November Long Challange 2020 Ada and Dishes
**Logic - **
First I sorted the array C
a= C[n-1]
Start traversing the array from last second elemet and increase time by minimum of “a and C[i]”
and update “a=abs(C[i]-a)”
Please go through my code and help