Pregunta de entrevista de Credit Karma

Leetcode question about graphs and behavioral questions