Computer Science EngineeringHard

For a fixed grammar in Chomsky normal form, the CYK algorithm decides membership of a string of length n in time

  1. A. O(n)
  2. B. O(n^2)
  3. C. O(n log n)
  4. D. O(n^3)

Correct answer: D. O(n^3)

It fills an O(n^2) table with O(n) split points per cell.

More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions

Exams that ask this topic