Which of the following statements are TRUE? (1) The problem of determining whether there exists a cycle in an undirected graph is in P. (2) The problem of determining whether there exists a cycle in an undirected graph is in NP. (3) If a problem A is NP-complete, there exists a non-deterministic polynomial time algorithm to solve A.
Reveal answer
Fill a bubble to check yourself