Pregunta de entrevista de SAP

In Djikstra' algorithm ,situation was modified and asked to make new algorithm .