http://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock/