Can you check my code

hello @aasif2364

once check ur shared link . it is empty

in ur minimum time function u need to keep track of the sum of time take by cook.
check this->

also e should be initilised with ( p*(p+1)/2 )*any value from array