GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2023

GATE 2023 · CS · NAT · 2 marks · Algorithms › Graph Algorithms

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

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion