Add a O(n2) solution of Best Time to Buy and Sell Stock.