Pregunta de entrevista de Flatiron Health

about graph implementation, didn't get it