Loading...

algogeeks@googlegroups.com
[Prev] Thread [Next]  [Prev] Date [Next]
Re: [algogeeks] Re: Longest Path in A Graph saurabh singh Wed Feb 22 18:00:37 2012
In case cycle is present in the graph then we cant have a longest path in the graph.Therefore the problem reduces to the longest path in a tree.(Assuming the graph is connected). Saurabh Singh B.Tech (Computer Science) MNNIT blog:geekinessthecoolway.blogspot.com On Wed, Feb 22, 2012 at 11:23 PM, Don <[EMAIL PROTECTED]> wrote: > Beware of cycles. > Don > > On Feb 22, 6:05 am, krishna kishore <[EMAIL PROTECTED]> wrote: > > Hi Gentle Men, Can any Please let me know How to Find a LONGEST PATH in a > > Graph ( directed or Undirected but unweighted ). > > INPUT: we have to give the Source vertex and Destination Vertex. > > OUTPUT: it should include the LENGTH OF PATH and PATH as well. > > Remember the graph should not be weighted. > > > > Any suggestions are accepted for sure. > > And Thanks in Advance. > >  > > > > *Vignesh* > >  > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [EMAIL PROTECTED] > To unsubscribe from this group, send email to > [EMAIL PROTECTED] > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > >  You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
 [algogeeks] Longest Path in A Graph krishna kishore 2012/02/22
 Re: [algogeeks] Longest Path in A Graph Dheeraj Sharma 2012/02/22
 [algogeeks] Re: Longest Path in A Graph Don 2012/02/22
 Re: [algogeeks] Re: Longest Path in A Graph saurabh singh 2012/02/22 <=
 Re: [algogeeks] Re: Longest Path in A Graph atul anand 2012/02/22
 Re: [algogeeks] Re: Longest Path in A Graph mitaksh gupta 2012/02/22
 [algogeeks] Re: Longest Path in A Graph Krishna Kishore 2012/02/23
 [algogeeks] Re: Longest Path in A Graph Don 2012/02/24
 [algogeeks] Re: Longest Path in A Graph Don 2012/02/24
 [algogeeks] Re: Longest Path in A Graph Gene 2012/02/24
 Re: [algogeeks] Re: Longest Path in A Graph Mad Coder 2012/02/29
 [algogeeks] Re: Longest Path in A Graph Gene 2012/02/29