Pregunta de entrevista de American Family Insurance

One leetcode easy problem, and several behaviorals.