Can you check my code
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
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