Skip to content

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 ______

  1. A
    23
  2. B
    99
  3. C
    4
  4. D
    7
    Correct 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.