By [newSolution.py](https://github.com/LetMeFly666/LeetCode/blob/1dd82f716dfd4b91df8dc0aabac26eee23ee6b58/newSolution.py) using GH on MacOS | [3562.折扣价交易股票的最大利润](https://leetcode.cn/problems/maximum-profit-from-trading-stocks-with-discounts)