UGC NET CS 2019Data Structures and Algorithms › Selected TopicsVerified
UGC NET CS 2019 PYQ: The time complexity to multiply two polynomials of degree $n$ using Fast Fourier transform method is:
The time complexity to multiply two polynomials of degree $n$ using Fast Fourier transform method is:
- A$\theta(n \lg n)$Correct answer
- B$\theta(n^2)$
- C$\theta(n)$
- D$\theta(\lg n)$
Answer
(A) $\theta(n \lg n)$
Approach
Recall the cost of FFT-based polynomial multiplication.
Reviewed by UGC IQ Editorial Team.