First Republic interview question

Graph problem based on six degrees of separation.