Pregunta de entrevista de State Farm

Formula and graph problems; study LeetCode.