(A). When a recurrence relation has a cyclic dependency, it is impossible to use that recurrence relation (unmodified) in a correct dynamic program.
(B). Given a connected graph $G(V,E)$ if a vertex $v$ $\epsilon$ $V$ is visited during level $K$ of a breadth first search from source vertex $s$ \epsilon $V$, then every path from $s$ to $v$ has length at most $k$
(C). Every sorting Network with $n$ inputs has depth \omega(n)
(D). Both (A) & (B)
Which of the following statement is TRUE?
Argument: I dont have much idea about A, but it seems to be true. For B, with BFS tree we get the shortest path possible from source vertex. So, every other possible path should have the length of atleast 'k'. Given wording is 'atmost'. So, B should be wrong.
Given answer is D.