Create Best Time to Buy and Sell Stock II_array.java