Maximum Drawdown in Python
Rather than a "virtual problem" on Leetcode, calculating Maximum Drawdown(MDD) is an actual problem in reality.
Interestingly, this happens to be the "reversed" version of Leet code 121. Best Time to Buy and Sell Stock.
Key ideas
We use l(left point...
brianhu.hashnode.dev1 min read