The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+5 votes

Choose the correct alternatives (more than one may be correct) and write the corresponding letters only:

Which of the following problems is not $NP$-hard?

  1. Hamiltonian circuit problem
  2. The $0/1$ Knapsack problem
  3. Finding bi-connected components of a graph
  4. The graph coloring problem
asked in Algorithms by Veteran (52k points)
edited by | 933 views

2 Answers

+11 votes
Best answer
  1. Is NPC and hence NP hard.
  2. Is again NP hard (optimization version is NP hard and decision version is NPC). Ref:
  3. Is in P. See the algorithm here based on DFS:
  4. NPC and hence NP hard. 

Correct Answer: $C$

answered by Veteran (407k points)
edited by
+2 votes
Answer: C

It is in P.

A: NPC. Hence, NPH.


D: NPC. Hence, NPH.
answered by Boss (33.8k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,530 questions
54,139 answers
71,068 users