Google interview question

Not able to share.