SlideShare a Scribd company logo
Seminar on Greedy
Algorithm
PRESENTED BY: SANIKA KATOLE
CSE : B.TECH SECOND YEAR
ROLL NO. : 25
J. T. Mahajan College Of Engineering, Faizpur
Guide By
Prof. M. S. Chaudhari
Presented By
Sanika Nandkishor Katole
Department of Computer Engineering
Second Year
Contents
 Introduction
 What is Greedy Algorithm ?
 Application of Greedy Algorithm
 Advantages of Greedy Algorithm
 Disadvantages of Greedy Algorithm
 Conclusion
 Reference
Introduction
 Greedy algorithm defined as a method for
solving optimization problems by taking
decisions that result in the most evident
and immediate benefit irrespective of the
final outcome. It works for cases where
minimization or maximization leads to the
required solution.
What is Greedy Algorithm ?
 Greedy Algorithm is a simple yet
powerful algorithmic technique
that makes the locally optimal
choice at each stage with the
hope of finding a global
optimum.
Applications of Greedy Algorithm
It is used in finding the shortest path.
It is used to find the minimum spanning tree using the prim’s algorithm
or the Kruskal’s algorithm.
It is used in a job sequencing with a deadline.
 This algorithm is also used to solve the fractional knapsack problem.
Advantages of Greedy Algorithm
Simplicity – Greedy algorithms are often simple and easy to understand, making
them accessible to programmers of all skill levels.
Efficiency – Greedy algorithms can be very efficient in terms of time and space
complexity. They typically involve iterating through a problem’s inputs once, and
their solutions often have linear or logarithmic time complexity.
 Flexibility – Greedy algorithms can be applied to a wide range of problems, from
scheduling to graph traversal to data compression. They are a versatile tool that
can be used in many different contexts.
Disadvantages of Greedy Algorithm
Local Optimality – Greedy algorithms make locally optimal choices at each step,
without considering the larger context. This means that they may not always lead to the
globally optimal solution.
Lack of Backtracking – Once a greedy algorithm makes a decision, it can be difficult or
impossible to backtrack and undo that decision. This can lead to suboptimal solutions or
even incorrect results.
 Sensitivity to Input – Greedy algorithms are often sensitive to the order and structure of
the input data. Changing the input can result in significantly different output, making
it difficult to generalize the algorithm to new contexts.
Conclusion
 In conclusion, greedy algorithms offer a straightforward and efficient
approach to solving optimization problems by making locally optimal
choices at each step. Their simplicity, ease of implementation, and low
time complexity make them valuable in various applications across
different domains.
Reference
Black, Paul E. (2 February 2005). “greedy algorithm”. Dictionary of
Algorithms and Data Structures. U.S. National Institute of Standards
and Technology (NIST). Retrieved 17 August 2012.
Cormen et al. 2001, Ch. 16
 Gutin, Gregory; Yeo, Anders; Zverovich, Alexey (2002). “Traveling
salesman should not be greedy: Domination analysis of greedy-
type heuristics for the TSP”. Discrete Applied Mathematics.
Thank You

More Related Content

PDF
Lec07-Greedy Algorithms.pdf Lec07-Greedy Algorithms.pdf
PPTX
7. Algorithm Design and analysis ppt.pptx
PPT
Greedy algorithm
PPTX
Greedy Method unit-2(Design and analysis of algorithms).pptx
PPTX
Introduction to the Greedy Algorithms - primer
PPTX
Greedy Algorithms
PPTX
0 1 knapsack problem(greedy algorithm)
PPTX
Greedy method class 11
Lec07-Greedy Algorithms.pdf Lec07-Greedy Algorithms.pdf
7. Algorithm Design and analysis ppt.pptx
Greedy algorithm
Greedy Method unit-2(Design and analysis of algorithms).pptx
Introduction to the Greedy Algorithms - primer
Greedy Algorithms
0 1 knapsack problem(greedy algorithm)
Greedy method class 11

Similar to Greedy Algorithms project presentation ppt.pptx (20)

PPTX
Dynamic programming, Branch and bound algorithm & Greedy algorithms
PPTX
esign and Analysis of Algorithms Presentation.pptx
PDF
6-GreedyAlgorithm.pdf ssssssssssssssssss
PDF
Analysis and Design of Algorithms notes
PPTX
data structure and algorithm (Advanced algorithm Stretegies)
PPT
Greedymethod
PPTX
Module 3_DAA (2).pptx
PPTX
Greedy aproach towards problem solution
PPTX
Greedy algorithms -Making change-Knapsack-Prim's-Kruskal's
PDF
Mastering Greedy Algorithms: Optimizing Solutions for Efficiency"
PPT
Greedy algorithms
PPTX
Algorithms Design Patterns
PPTX
Applied Algorithms Introduction to Algorithms.pptx
PDF
heuristic search Techniques and game playing.pdf
PDF
Unit 3 - Greedy Method
PDF
Unit 3 greedy method
PPT
Greedy Algoritham
PPT
Greedy Algorihm
PDF
Greedy is Good
PPT
Greedy_Backtracking graph coloring.ppt
Dynamic programming, Branch and bound algorithm & Greedy algorithms
esign and Analysis of Algorithms Presentation.pptx
6-GreedyAlgorithm.pdf ssssssssssssssssss
Analysis and Design of Algorithms notes
data structure and algorithm (Advanced algorithm Stretegies)
Greedymethod
Module 3_DAA (2).pptx
Greedy aproach towards problem solution
Greedy algorithms -Making change-Knapsack-Prim's-Kruskal's
Mastering Greedy Algorithms: Optimizing Solutions for Efficiency"
Greedy algorithms
Algorithms Design Patterns
Applied Algorithms Introduction to Algorithms.pptx
heuristic search Techniques and game playing.pdf
Unit 3 - Greedy Method
Unit 3 greedy method
Greedy Algoritham
Greedy Algorihm
Greedy is Good
Greedy_Backtracking graph coloring.ppt
Ad

Recently uploaded (20)

PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPT
Project quality management in manufacturing
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
web development for engineering and engineering
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Welding lecture in detail for understanding
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
UNIT 4 Total Quality Management .pptx
DOCX
573137875-Attendance-Management-System-original
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
OOP with Java - Java Introduction (Basics)
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Project quality management in manufacturing
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
web development for engineering and engineering
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Welding lecture in detail for understanding
CYBER-CRIMES AND SECURITY A guide to understanding
UNIT 4 Total Quality Management .pptx
573137875-Attendance-Management-System-original
R24 SURVEYING LAB MANUAL for civil enggi
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Ad

Greedy Algorithms project presentation ppt.pptx

  • 1. Seminar on Greedy Algorithm PRESENTED BY: SANIKA KATOLE CSE : B.TECH SECOND YEAR ROLL NO. : 25
  • 2. J. T. Mahajan College Of Engineering, Faizpur Guide By Prof. M. S. Chaudhari Presented By Sanika Nandkishor Katole Department of Computer Engineering Second Year
  • 3. Contents  Introduction  What is Greedy Algorithm ?  Application of Greedy Algorithm  Advantages of Greedy Algorithm  Disadvantages of Greedy Algorithm  Conclusion  Reference
  • 4. Introduction  Greedy algorithm defined as a method for solving optimization problems by taking decisions that result in the most evident and immediate benefit irrespective of the final outcome. It works for cases where minimization or maximization leads to the required solution.
  • 5. What is Greedy Algorithm ?  Greedy Algorithm is a simple yet powerful algorithmic technique that makes the locally optimal choice at each stage with the hope of finding a global optimum.
  • 6. Applications of Greedy Algorithm It is used in finding the shortest path. It is used to find the minimum spanning tree using the prim’s algorithm or the Kruskal’s algorithm. It is used in a job sequencing with a deadline.  This algorithm is also used to solve the fractional knapsack problem.
  • 7. Advantages of Greedy Algorithm Simplicity – Greedy algorithms are often simple and easy to understand, making them accessible to programmers of all skill levels. Efficiency – Greedy algorithms can be very efficient in terms of time and space complexity. They typically involve iterating through a problem’s inputs once, and their solutions often have linear or logarithmic time complexity.  Flexibility – Greedy algorithms can be applied to a wide range of problems, from scheduling to graph traversal to data compression. They are a versatile tool that can be used in many different contexts.
  • 8. Disadvantages of Greedy Algorithm Local Optimality – Greedy algorithms make locally optimal choices at each step, without considering the larger context. This means that they may not always lead to the globally optimal solution. Lack of Backtracking – Once a greedy algorithm makes a decision, it can be difficult or impossible to backtrack and undo that decision. This can lead to suboptimal solutions or even incorrect results.  Sensitivity to Input – Greedy algorithms are often sensitive to the order and structure of the input data. Changing the input can result in significantly different output, making it difficult to generalize the algorithm to new contexts.
  • 9. Conclusion  In conclusion, greedy algorithms offer a straightforward and efficient approach to solving optimization problems by making locally optimal choices at each step. Their simplicity, ease of implementation, and low time complexity make them valuable in various applications across different domains.
  • 10. Reference Black, Paul E. (2 February 2005). “greedy algorithm”. Dictionary of Algorithms and Data Structures. U.S. National Institute of Standards and Technology (NIST). Retrieved 17 August 2012. Cormen et al. 2001, Ch. 16  Gutin, Gregory; Yeo, Anders; Zverovich, Alexey (2002). “Traveling salesman should not be greedy: Domination analysis of greedy- type heuristics for the TSP”. Discrete Applied Mathematics.