Please read the new rule regarding the restriction on the use of AI tools. ×

find the shortest distance between the source node and destination node in an undirected weighted graph with obstacles

Revision en1, by kxx_monica, 2020-05-14 12:47:23

The obstacle nodes can be any node between 1 to n( max vertices). If no path is possible then -1 otherwise the length between the source and destination.

Tags #graphs, weighted graph

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English kxx_monica 2020-05-14 12:47:23 271 Initial revision (published)