Question 81
In Longest Common Subsequence of strings X and Y, which operations are performed during table filling?
All 4 statements accurately describe the LCS DP table construction.
In Longest Common Subsequence of strings X and Y, which operations are performed during table filling?
All 4 statements accurately describe the LCS DP table construction.
Which statements regarding Floyd-Warshall Algorithm are CORRECT?
Floyd-Warshall runs in O($V^3)$ time, not O($V^2)$. All other statements are correct.
Which of the following problems can be solved using Dynamic Programming?
Coin Change, Rod Cutting, and Edit Distance are DP problems. MST is solved via Greedy algorithms (Kruskal/Prim).
Which of the following recurrences represent standard Dynamic Programming formulations?
Options 1, 2, 3 are standard DP recurrences. Quick Sort recurrence is Divide and Conquer.
Which of the following statements regarding Bellman-Ford algorithm are CORRECT?
Bellman-Ford CAN detect negative weight cycles on the V-th iteration pass. Statements 1, 2, 3 are correct.