295 views
0 votes
0 votes

Consider the following problem:
Problem: Find longest path from a given vertex s to a given vertex t in weighted directed acyclic graph with edge weight may be negative or positive.
Which of the following technique suits to solve above problem efficiently?

A) Divide and Conquer

B) Greedy Technique

C) Dynamic Approach

D) Any of the above

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
Ray Tomlinson asked Aug 9, 2023
272 views
what they want to tell and it is true or false?
0 votes
0 votes
1 answer
3
Ray Tomlinson asked Aug 9, 2023
461 views
How many times is the comparison $i >= n$ performed in the following program?int i = 200 n = 80; main() { while (i >= n) { i = i - 2 n = n + 1 } }