0

network with s as a source vertex and t as a destination vertex

Question: find the total number of shortest paths between nodes s and t.

Edges doesn't have weight so we can't use dij. algo. I know how to apply bfs but unable to make count of different paths

Dominique Fortin
  • 2,212
  • 15
  • 20
pk786
  • 2,140
  • 3
  • 18
  • 24

0 Answers0