Course Solutions Uncategorized (Solved) : Given Directed Graph N Vertices M Edges M N Edge E Color C E 1 K 1 Describe Algorithm Fa Q36418389 . . . .

(Solved) : Given Directed Graph N Vertices M Edges M N Edge E Color C E 1 K 1 Describe Algorithm Fa Q36418389 . . . .

 

We are given a directed graph with n vertices and m edges(m>=n), where each edge e has a color c(e) from {1,….,k}.

1) describe an algorithm, as fast as possible, to decide whetherthere exists a closed walk that uses all k colors. (In a closedwalk, we start and end at the same vertex).

2) Assume that there are only 3 colors. (k=3). Describe analgorithm, as fast as possible, to decide whether there exists awalk that uses all 3 colors.( the start and end vertex may bedifferent).

Can you guys help me out with above question 1 and 2?

Expert Answer


An answer

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post