Pergunta de entrevista da empresa Landis+Gyr

matrix question with shortest path having 1 value from start to end