Specify adjacency lists for the undirected graph with vertices 1, 2, 3, 4, 5…

PYQ GATE 1987Modified — slightly modified from the official paper; see the solution

Specify adjacency lists for the undirected graph with vertices 1, 2, 3, 4, 5 and edges {1–2, 1–3, 1–5, 2–3, 3–4, 3–5, 4–5}.

Attempted by 2 students.

Sign up free to check your answer

Sign up free

Explore the full course: Data Structures

Loading lesson…