Greedy+Array--Best Time to Buy and Sell Stock II--unlimited transactions+find locally optimal