Several substations of SGFL Company exist in different places of the city. You have to travel from one substation to another. Write an algorithm to…

Several substations of SGFL Company exist in different places of the city. You have to travel from one substation to another. Write an algorithm to travel using the shortest path between two substations for SGFL Company.

From the SGCL Assistant General Engineer 2021 – Written (BUET) exam, question 4 of 14.

More from this paper