Which of the following is the correct recurrence relation for Strassen\’s matrix algorithm?
(A) T(n) = 8T(n/2) + 4(n/2) 2
(B) T(n) = 8T(n/2) + 18(n/2) 2
(C) T(n) = 7T(n/2) + 18(n/2) 2
(D) T(n) = 7T(n/2) + 4.5*(n/2)2
Answer: (C)
Explanation: According to Strassen\’s matrix algorithm recurrence relation for matrix:
T(n) = 7T(n/2) + 18*(n/2) 2
T(n) = 7T(n/2) + 4.5*n2
So, option (C) is correct.
Quiz of this Question
Share your thoughts in the comments
Please Login to comment...