Question 4[10]. You are given a graph G, and the problem is to test whether there is a cycle of length at most 1000 or n
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 4[10]. You are given a graph G, and the problem is to test whether there is a cycle of length at most 1000 or n
Question 4[10]. You are given a graph G, and the problem is to test whether there is a cycle of length at most 1000 or not. Is the problem in P or in NP? Give a formal proof for your answer. A 'Yes' or 'No' answer is not sufficient to get a non-zero mark on this question.