Similar questions 3 more →
Other / Mixed Topics

Your answer
Answer & solution
Official answer: C
1. Kruskal sorts edges by weight and repeatedly accepts a cheapest edge that does not form a cycle. This is the greedy paradigm ii.
2. Quicksort partitions around a pivot, recursively sorts the two resulting parts, and combines their order: divide and conquer i.
3. Floyd–Warshall updates distances by allowing intermediate vertices one at a time: Dk[i,j]=min(Dk−1[i,j],Dk−1[i,k]+Dk−1[k,j]). Reused subproblem values make it dynamic programming iii. Thus C.