UGC NET CS 2020Discrete Structures and Optimization › Graph TheoryVerified
UGC NET CS 2020 PYQ: Let $G$ be a directed graph whose vertex set is the set of numbers from 1 to 100. There is an edge from a…
Let $G$ be a directed graph whose vertex set is the set of numbers from 1 to 100. There is an edge from a vertex $i$ to a vertex $j$ if and only if either $j=i+1$ or $j=3i$. The minimum number of edges in a path in $G$ from vertex 1 to vertex 100 is ______
- A23
- B99
- C4
- D7Correct answer
Answer
(D) 7
Approach
Shortest path in a directed graph, found by working backwards from 100 using reverse moves.
Reviewed by UGC IQ Editorial Team.