Algorithms, Distributed System, Machine Learning
https://leetcode.com/discuss/75014/math-solution
Lesson learnt: dig deeper!