Leetcode 3562. Maximum Profit from Trading Stocks with Discounts | Hello Interview