The __________ running time of CYK is O(n$^{3}$ .|G|) where n is the length of the parse string and |G| is the size of the context free grammar

Nguyễn Tân

New member
The __________ running time of CYK is O(n$^{3}$ .|G|)
where n is the length of the parse string and |G| is the size of the context free grammar G.
A. worst
B. best
C. average
D. none of the mentioned
 
Answer: A
Explanation: This is the worst case running time of CYK and and this makes it one of the most efficient algorithms for recognizing general context free languages in practice.
 

Tìm kiếm

Back
Top