SlideShare a Scribd company logo
3
Most read
4
Most read
5
Most read
Topic- NP Complete Problems
Submitted To:-
Mr. Jitendra Gora
Submitted By:-
Nikhil Joshi
Contents-
 NP-complete problems
Reduction
NP-Hard
NP-complete problems
 What is NP-Complete?
 A problem X that is in NP is also in NP-
Complete if and only if every other problem in
NP can be quickly (i.e. in polynomial time)
transformed into X. In other words:
1. X is in NP (X NP)
2. Every problem in NP is reducible to x
Reduction
• A problem R can be reduced to another problem Q if
any instance of R can be rephrased to an instance of
Q, the solution to which provides a solution to the
instance of R
• This rephrasing is called a transformation
• Intuitively: If R reduces in polynomial time to Q, R is
“no harder to solve” than Q
Q R
NP-Hard
• What is NP-Hard?
• NP-Hard are problems that are at least as hard
as the hardest problems in NP. Note that NP-
Complete problems are also NP-hard.
However not all NP-hard problems are NP
– If all problems R  NP are polynomial-time
reducible to Q, then Q is NP-Hard
– We say Q is NP-Complete if Q is NP-Hard
and Q  NP
• We can say NP-Hard problem Pi when all the
problems of NP Class is to be reduced under
polynomial time.
NP Pi
NP Hard
Polynomial Time
NP-Complete
• NP Complete Problems are those Problems
which are reducible to polynomial problem
but the NP-Hard problem which comes Under
NP or resides under NP class .
Thank You

More Related Content

PDF
9. chapter 8 np hard and np complete problems
PPTX
NP completeness
PPTX
Performance analysis(Time & Space Complexity)
PPTX
Pumping lemma
DOC
Branch and bound
PPT
PPT
Recursion tree method
PPTX
Time space trade off
9. chapter 8 np hard and np complete problems
NP completeness
Performance analysis(Time & Space Complexity)
Pumping lemma
Branch and bound
Recursion tree method
Time space trade off

What's hot (20)

PPTX
serializability in dbms
DOCX
Multiversion Concurrency Control Techniques
PPTX
Regular expressions
PPTX
Types of grammer - TOC
PPT
5.1 greedy
PDF
P, NP, NP-Complete, and NP-Hard
PPTX
Problem solving agents
PPTX
Knapsack problem using greedy approach
PPT
BackTracking Algorithm: Technique and Examples
PPTX
Asymptotic Notation
PPTX
Merge sort and quick sort
PPT
Scheduling algorithms
PPT
Algorithm analysis
PPTX
Analysis of algorithm
PPTX
Propositional logic
PPT
Intro automata theory
PPTX
Lecture optimal binary search tree
PPTX
Travelling salesman dynamic programming
PPTX
Np hard
PDF
UNIT-V.pdf daa unit material 5 th unit ppt
serializability in dbms
Multiversion Concurrency Control Techniques
Regular expressions
Types of grammer - TOC
5.1 greedy
P, NP, NP-Complete, and NP-Hard
Problem solving agents
Knapsack problem using greedy approach
BackTracking Algorithm: Technique and Examples
Asymptotic Notation
Merge sort and quick sort
Scheduling algorithms
Algorithm analysis
Analysis of algorithm
Propositional logic
Intro automata theory
Lecture optimal binary search tree
Travelling salesman dynamic programming
Np hard
UNIT-V.pdf daa unit material 5 th unit ppt
Ad

Similar to NP Complete Problems (20)

PPT
lecture 28
PDF
P, NP, NP-Hard & NP-complete problems, Optimization
PDF
NP Problems in design and analysis of alogorithm
PPTX
Presentation.pptxhfhjjfhhjjghjhhghhhfhgf
PPTX
Presentationhjhfthfdgghfghhggghhgghggghg
PPTX
PPTX
NP-Completeness-myppt.pptx
PPT
lecture 29
PPTX
Np Completeness
PPTX
PPTX
PNP.pptx
PPT
np complete.ppt
PPT
class23.ppt
PDF
np hard, np complete, polynomial and non polynomial
PPTX
Np completeness-Design and Analysis of Algorithms
PPTX
np complete
DOCX
DOCX
Ca notes
lecture 28
P, NP, NP-Hard & NP-complete problems, Optimization
NP Problems in design and analysis of alogorithm
Presentation.pptxhfhjjfhhjjghjhhghhhfhgf
Presentationhjhfthfdgghfghhggghhgghggghg
NP-Completeness-myppt.pptx
lecture 29
Np Completeness
PNP.pptx
np complete.ppt
class23.ppt
np hard, np complete, polynomial and non polynomial
Np completeness-Design and Analysis of Algorithms
np complete
Ca notes
Ad

Recently uploaded (20)

PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Digital Logic Computer Design lecture notes
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
web development for engineering and engineering
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPT
Project quality management in manufacturing
PPTX
additive manufacturing of ss316l using mig welding
PPTX
bas. eng. economics group 4 presentation 1.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
Internet of Things (IOT) - A guide to understanding
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Automation-in-Manufacturing-Chapter-Introduction.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Digital Logic Computer Design lecture notes
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Mechanical Engineering MATERIALS Selection
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
web development for engineering and engineering
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Project quality management in manufacturing
additive manufacturing of ss316l using mig welding
bas. eng. economics group 4 presentation 1.pptx

NP Complete Problems

  • 1. Topic- NP Complete Problems Submitted To:- Mr. Jitendra Gora Submitted By:- Nikhil Joshi
  • 3. NP-complete problems  What is NP-Complete?  A problem X that is in NP is also in NP- Complete if and only if every other problem in NP can be quickly (i.e. in polynomial time) transformed into X. In other words: 1. X is in NP (X NP) 2. Every problem in NP is reducible to x
  • 4. Reduction • A problem R can be reduced to another problem Q if any instance of R can be rephrased to an instance of Q, the solution to which provides a solution to the instance of R • This rephrasing is called a transformation • Intuitively: If R reduces in polynomial time to Q, R is “no harder to solve” than Q Q R
  • 5. NP-Hard • What is NP-Hard? • NP-Hard are problems that are at least as hard as the hardest problems in NP. Note that NP- Complete problems are also NP-hard. However not all NP-hard problems are NP – If all problems R  NP are polynomial-time reducible to Q, then Q is NP-Hard – We say Q is NP-Complete if Q is NP-Hard and Q  NP
  • 6. • We can say NP-Hard problem Pi when all the problems of NP Class is to be reduced under polynomial time. NP Pi NP Hard Polynomial Time
  • 7. NP-Complete • NP Complete Problems are those Problems which are reducible to polynomial problem but the NP-Hard problem which comes Under NP or resides under NP class .