Step 1: Statement Analysis.
- (A) In a directed graph, the total number of entries across all adjacency lists equals $|E|$. This is accurate as each edge appears precisely once in its originating vertex's adjacency list.
- (B) In an undirected graph, the sum of the lengths of all adjacency lists is $2|E|$. This holds true because each edge is represented in the adjacency lists of both its connected vertices.
- (C) For dense graphs, an adjacency matrix is the preferred representation. This is correct; dense graphs with many edges benefit from an adjacency matrix, which efficiently stores edge presence between all vertex pairs, compared to an adjacency list.
- (D) The memory usage of a graph's adjacency matrix is determined by the number of edges. This statement is incorrect. The memory footprint of an adjacency matrix is solely dependent on the number of vertices, irrespective of the edge count.
Step 2: Final Determination.
Therefore, the accurate selections are (3) (A), (B), (C), and (D).
Match List-I with List-II.
| List-I | List-II |
|---|---|
| A. Minimum Spanning Tree | I. Height balanced |
| B. Topological Sort | II. Stack |
| C. Recursion | III. Kruskal’s Algorithm |
| D. AVL Trees | IV. DFS |
Choose the correct answer from the options given below:
Match List-I with List-II.
| List-I | List-II |
|---|---|
| A. Minimum Spanning Tree | I. Height balanced |
| B. Topological Sort | II. Stack |
| C. Recursion | III. Kruskal’s Algorithm |
| D. AVL Trees | IV. DFS |
Choose the correct answer from the options given below: