Leetcode 585. Investments in 2016 | Hello Interview