Pregunta de entrevista de Intel Corporation

Graph Algorithm question Smart pointers