ICT
February 27, 2025DSSSB PGT 2021
February 27, 2025BFS-and-DFS
|
Question 3
|
Let U = {1, 2, 3}. Let 2U denote the powerset of U. Consider an undirected graph G whose vertex set is 2U . For any A, B ε 2U , (A, B) is an edge in G if and only if
For any vertex A in G, the set of all possible orderings in which the vertices of G can be visited in a Breadth First Search (BFS) starting from A is denoted by B(A). If ∅ denotes the empty set, then the cardinality of B(∅) is ______?
For any vertex A in G, the set of all possible orderings in which the vertices of G can be visited in a Breadth First Search (BFS) starting from A is denoted by B(A). If ∅ denotes the empty set, then the cardinality of B(∅) is ______?
|
5040
|
Correct Answer: A
