GATE CS 2023 | Question 56
Discrete Mathematics › Graph Theory · NAT · 2 marks · Answer: 5040
- Question 56Discrete Mathematicsnat2 marks, has vertex set ; is an edge iff and ( or ). is the set of BFS visit orderings from . The cardinality of is __________
Answer: 5040
Solution
Answer: 5040 Starting BFS from (which is a subset of every other set, so is adjacent to all 7 other vertices), all 7 remaining vertices are at BFS level 1 and can be visited in any order. The number of orderings is .
More GATE PYQ on Graph Theory
All GATE CS Discrete Mathematics PYQ →Attempt GATE CS 2023 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →