Create 2*min>max.c

trim an array of integer from start or end such that. 2*min > max property holds true for existing integer array. use minimum trims.