DAA Assignment-4 & 5
DAA Assignment-4 & 5
12. Given a weighted directed graph G = (V, E) with Source “1” and weight function W:E → R, then write an
algorithm to solve a Single Source Shortest path problem whose complexity is O(VE). Apply the same on the
following graph.
(KCS-503.3,K4)
G. L. Bajaj Institute of Technology and Management, Greater NoidaDepartment
of Computer Science & Engineering
Assignment-5 (Unit-5)