Two Sigma interview question

Friend circles hackerrank