Click here to Skip to main content
15,887,821 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Given 3 nodes, a,b,c check if there are paths existing from a to b and c to b with no common vertex other than b exists

What I have tried:

I am very new to this kind of problem. So, don't know how to proceed
Posted
Updated 15-Jun-17 22:48pm
Comments
Richard MacCutchan 16-Jun-17 3:45am    
Does this have something to do with programming?

1 solution

If b is a common vertex then there is a path both from a to b and from c to b.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900