Q.

Let FHAM be the problem of finding a Hamiltonian cycle in a graph G and DHAM be the problem of determining if a Hamiltonial cycle exists in a graph. Which one of the following is TRUE?

A. Both FHAM and DHAM are NP-hard
B. FHAM is NP hard, but DHAM is not
C. DHAM is NP hard, but FHAM is not
D. Neither FHAM nor DHAM is NP hard
Answer» A. Both FHAM and DHAM are NP-hard
1.6k
0
Do you find this helpful?
8

View all MCQs in

Theory of Computation

Discussion

No comments yet

Related MCQs