What is the recurrence relation used in Strassen’s algorithm?

What is the recurrence relation used in Strassen’s algorithm?
A. 7T(n/2) + Theta(n$^{2}$)
B. 8T(n/2) + Theta(n$^{2}$)
C. 7T(n/2) + O(n$^{2}$)
D. 8T(n/2) + O(n$^{2}$)
 
Answer: a
Explanation: The recurrence relation used in Strassen’s algorithm is 7T(n/2) + Theta(n$^{2}$) since there are only 7 recursive multiplications and Theta(n$^{2}$) scalar additions and subtractions involved for computing the product.
 

Tìm kiếm

Back
Top