Computer Science · Data Structures and Algorithms
Given below are two statements, one labelled as Assertion (A) and the other labelled as Reason (R): Assertion (A): Both Kruskal's algorithm and Prim's algorithm always find a minimum spanning tree in a connected weighted undirected graph. Reason (R): The minimum spanning tree produced for any graph by Kruskal's algorithm and Prim's algorithm is always unique. In light of the above statements, choose the correct answer from the options given below:
- 1Both (A) and (R) are true and (R) is the correct explanation of (A)
- 2Both (A) and (R) are true but (R) is not the correct explanation of (A)
- 3(A) is true, but (R) is false✓
- 4(A) is false, but (R) is true
Correct answer
(A) is true, but (R) is false
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Structures and Algorithms?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Structures and Algorithms