in Computer Networks edited by
1,372 views
2 votes
2 votes

in Computer Networks edited by
1.4k views

4 Comments

Yes, there is a shortcut.

Take each Edge (Not node ) and see there is an Alternative better path available for that edge or not. If available then mark that otherwise mark chosen Edge.Finally, count the Unmarked Edge.
1
1
for each node check each of its neighbour if you get any other shorter path for that neighbour node rather than the adjacent edge .You can remove that edge .

Here the answer will  be 3

AG

GC

EF
0
0
I think it will be

BC

GC

EF
1
1

2 Answers

0 votes
0 votes
the answer is 2 paths- BC, CG only are unused
0 votes
0 votes

BC , GC , EF = 3

Related questions

1 vote
1 vote
1 answer
4