1.

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» B. FHAM is NP hard, but DHAM is not


Discussion

No Comment Found