Computational Complexity

Answer & solution
Official answer: A
Undirected-cycle detection is polynomial via DFS or union-find, so it belongs to P and therefore also NP. By definition an NP-complete decision problem belongs to NP and has a nondeterministic polynomial-time algorithm. All three statements are true, A.
DFS detects an undirected cycle in O(V+E) time by finding an already visited neighbor other than the parent, so the first claim is polynomial. Every deterministic polynomial computation is also an allowed nondeterministic polynomial computation, giving P⊆NP and claim 2. NP-completeness includes membership in NP in its definition, not only NP-hardness, so claim 3 follows. No assumption that P≠NP is needed for any of these conclusions.