Pregunta de entrevista de Amazon

NDA signed but basic data structure on graph