Question: X = 4, y = 7 a Exercise 1. Given x = , y = , a = size(x) % 3+1, b = size(y) %

X = 4, y = 7 X = 4, y = 7 a Exercise 1. Given x =

a Exercise 1. Given x = , y = , a = size(x) % 3+1, b = size(y) % 2+2, Compute the order of growth for the following recurrent relation: T(n) = a +11 + nb-2 * log(n) Exercise 2. Knowing the value of a from exercise 1. if (a==1) then run DFS for the graph below highlighting the start and finish time for each node, together with the type (tree, back, forward, cross) of each edge; else if (a==2) then run Tarjan's algorithm computing the start time and low value for each node else if (a==3) then run Dijkstra's algorithm from node 1 highlighting at each step the current vertex extracted from the queue and the values in the array d 8 7 8 4 9 2 11 4 4 8 14 7 8 6 10 7 6 1 2 Exercise 3. Given the graph below, compute the matrices D), D(1) and D(2) used by the Floyd-Warshall algorithm. 2 10 2 2 8 6

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!