There are multiple routes to reach from node 1 to node 2, as shown in the…

PYQ GATE 2020

There are multiple routes to reach from node 1 to node 2, as shown in the network.

The cost of travel on an edge between two nodes is given in rupees. Nodes ‘a’, ‘b’, ‘c’, ‘d’, ‘e’, and ‘f’ are toll booths. The toll price at toll booths marked ‘a’ and ‘e’ is Rs. 200, and is Rs. 100 for the other toll booths. Which is the cheapest route from node 1 to node 2 ?

  1. A.

    1−a−c−2

  2. B.

    1−f−b−2

  3. C.

    1−b−2

  4. D.

    1−f−e−2

Attempted by 202 students.

Sign up free to check your answer

Sign up free

Explore the full course: Algorithms

Loading lesson…