Skip to content

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:

  1. A
    $\theta(n \lg n)$
    Correct answer
  2. B
    $\theta(n^2)$
  3. C
    $\theta(n)$
  4. 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.