min = prices[0] #the most minimum value we can achieve, init to first val profit = 0 #the largest profit we can receive ...