MaxProfit, MaxDoubleSliceSum