Algorithms, Distributed System, Machine Learning
What a classic DP problem..
https://leetcode.com/discuss/72216/share-some-analysis-and-explanations