Credit Karma interview question

Leetcode question about graphs and behavioral questions