Google Cloud interview question

It is about graphs and trees mostly