All mock tests are FREE till 31 December — register to save your progress
Unit 7 · Data Structures and Algorithms Paper 2 CS · December 2019

The time complexity to multiply two polynomials of degree n using Fast Fourier transform method is :

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. θ(n lg n)

Explanation

FFT evaluation, pointwise multiplication and inverse FFT take Θ(n lg n).

More Data Structures and Algorithms questions