https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ Best Time to Buy and Sell Stock - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com def maxProfit(self, prices: List[int]) -> int: ans = 0 tmp =0 for i in range(len(prices)) : ans = max(tmp,ans) for j in..