Question & Answer: Request solve the undermentioned problem on Alogrithms…..

Request solve the undermentioned problem on Alogrithms

b) Suppose the CONNECTED-COMPONENTS is run on the undirected graph G- (V,E), where v (1.2.3.4, 5,6, 7, 8,9) and the edges in E(V)-(e,-(1,3),e--(2.4),e3-(3,6),e4 (7,8),es (2.5),e6 = (3,9),e7 = (4,7),es (3,8)) are processed in the order fe1,e2,es,e4,e6,es,e7,es. List the vertices in each connected component after each iteration of lines 3-5 in the CONNECTED-COMPONENTS.

Suppose the CONNECTED-COMPONENTS is run on the undirected graph G = (V, E), where V = {1, 2, 3, 4, 5, 6, 7, 8, 9} and the edges in E(V) = {e_1 = (1, 3), e_2 = (2, 4), e_3 = (3, 6), e_4 = (7, 8), e_5 = (2.5), e_6 = (3.9), e_7 = (4, 7), e_8 = (3, 8)} are processed in the order {e_1, e_2, e_3, e_4, e_5, e_6, e_7, e_8}. List the vertices in each connected component after each iteration of lines 3-5 in the CONNECTED-COMPONENTS.

Expert Answer

 

Still stressed from student homework?
Get quality assistance from academic writers!