All mock tests are FREE till 31 December — register to save your progress

Match List I with List II
List IList II
A. Parallel FFTI. Θ(n²)
B. Iterative FFTII. Θ(n)
C. Evaluation of polynomial at n points by Horner methodIII. Θ(lg n)
D. Product of two polynomials represented in point-value formIV. Θ(n lg n)

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

Show answer & explanation

Correct answer: C. A-III, B-IV, C-I, D-II

Explanation

Parallel FFT runs in Θ(lg n) (III). Iterative FFT is Θ(n lg n) (IV). Evaluating a polynomial at n points by Horner's rule is Θ(n²) (I). Multiplying two polynomials in point-value form is Θ(n) (II).

More Data Structures and Algorithms questions