Google interview question

They asked a question on Graph