Leetcode 2372. Calculate the Influence of Each Salesperson | Hello Interview