Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Very urgent help .... regarding Pseudo code for graphs related problem

kashnexkashnex Member Posts: 1
Hi everyone!

I would appreciate if I can be given some help to solve thus riddle (my project task) to find out the solution. I really need the pseudo code for this which fully solve this problem. I am really dying to solve this problem as I have been working for last two months to solve this but can't get the answer to this.

Assuming you have a graph [italic]G[/italic] whose edges are labeled with the distance between each pair of vertices they connect. Given two vertices [italic]a[/italic] and [italic]b[/italic] in[italic] G[/italic], and a distance [italic]n[/italic] as input, write an algorithm in pseudo-code to find out if there is a path from [italic]a[/italic] to [italic]b[/italic] with cumulative distance less than [italic]n[/italic].

I will be very much thankful for any help in this regards

Sign In or Register to comment.