add a variation
O(N) DP solution for BestTimeToBuyAndSellStockIII