for example, I know that the language enter image description here

isnt context free by the pumping lemma for CFLs, but how would i prove that it falls into NP and not exp. time, decidable languages, or turing recognizable?

EDIT: Did some digging, and one oversight i made is that problems in NP are those that a verifiable in polynomial time BY a Nondeterministic Turing Machine. How would I know: a: There is a verifier that exists for this language in polynomial time and b: a NDTM can recognize it

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top