Pergunta de entrevista da empresa Amazon

Coding on Graph question which is medium level.