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

Match List I with List II. List I: A. Parallel FFT, B. Iterative FFT, C. Evaluation of a polynomial at n points by Horner's method, D. Product of two polynomials represented in point-value form. List II: I. Θ(n²), II. Θ(n), III. Θ(lg n), IV. Θ(n lg n).

Figure

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

A parallel FFT circuit has depth Θ(lg n); the iterative FFT takes Θ(n lg n); Horner takes Θ(n) per point, so Θ(n²) for n points; multiplying in point-value form is pointwise, Θ(n).

More Data Structures and Algorithms questions