Pregunta de entrevista de Amazon

Focus on Graphs and Arrays.