GATE 2023 Computer Science and Information Technology question: Let U = \ 1, 2, 3\ . Let 2 U denote the powerset of U. Consider an undirected graph G…
Let . Let denote the powerset of . Consider an undirected graph whose vertex set is . For any , is an edge in if and only if (i) , and (ii) either or . For any vertex in , the set of all possible orderings in which the vertices of can be visited in a Breadth First Search (BFS) starting from is denoted by .
If denotes the empty set, then the cardinality of is ______.
Show answer
Official answer: 5040