• edited by
96 views
0 0 votes

What is the space complexity of the CYK algorithm for the $\mathrm{P}$ table, where $\mathrm{n}$ is the number of words in the sentence and $\mathrm{m}$ is the number of non terminal symbols in the grammar?

  1. $\mathrm{O}\left(\mathrm{n}^{3}\right)$
  2. $\mathrm{O}\left(\mathrm{nm}^{2}\right)$
  3. $\mathrm{O}\left(n^{2} m\right)$
  4. $\mathrm{O}\left(\mathrm{n}^{2} \mathrm{~m}^{2}\right)$

1 Answer

Answer:
Position:
Show:

Related questions

3 3 votes
1 1 answer
288
288 views
Shubham Sharma 2 asked Apr 19
288 views
Which of the following is correct solution of the given recurrence relation? $T(n)=3 T(n / 4)+n \log n$$\theta(n \log n)$$\theta\left(n^{2} \log n\right)$$\theta\left(n(\...
2 2 votes
2 2 answers
177
177 views
Shubham Sharma 2 asked Apr 19
177 views
Which of the following is correct order of increasing time complexity of algorithmsTower of Hanoi with $n$ disk.Binary search given $n$ sorted numbers.Heap sort given $n$...
0 0 votes
1 1 answer
147
147 views
Shubham Sharma 2 asked Apr 19
147 views
Match the LIST-I with LIST-IILIST-ILIST-IIA.Dynamic programmingI.Floyd Warshall Shortest pathB.GreedyII.Huffman codingC.Back trackingIII.Hamiltonian cycle problemD.Branch...
1 1 vote
0 0 answers
85
85 views
Shubham Sharma 2 asked Apr 19
85 views
Match the LIST-I with LIST-IILIST-IGrammarLIST-IIAll productions are the formA.Regular GrammarI.$\mathrm{A} \rightarrow \mathrm{aX}$, where $\mathrm{a} \in \mathrm{T}$ an...