LeetCode

Best Time to Buy and Sell Stock with Transaction Fee

Click here for an explanation.