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
MAJDABDALLAH3
 
PPTX
7. Algorithm Design and analysis ppt.pptx
deivasigamani9
 
PPT
Greedy algorithm
CHANDAN KUMAR
 
PPTX
Greedy Method unit-2(Design and analysis of algorithms).pptx
shivani366010
 
PPTX
Greedy Algorithms
Amrinder Arora
 
PPTX
0 1 knapsack problem(greedy algorithm)
SwatiRani13
 
PPTX
Greedy method class 11
Kumar
 
PPTX
Dynamic programming, Branch and bound algorithm & Greedy algorithms
Dr. SURBHI SAROHA
 
Lec07-Greedy Algorithms.pdf Lec07-Greedy Algorithms.pdf
MAJDABDALLAH3
 
7. Algorithm Design and analysis ppt.pptx
deivasigamani9
 
Greedy algorithm
CHANDAN KUMAR
 
Greedy Method unit-2(Design and analysis of algorithms).pptx
shivani366010
 
Greedy Algorithms
Amrinder Arora
 
0 1 knapsack problem(greedy algorithm)
SwatiRani13
 
Greedy method class 11
Kumar
 
Dynamic programming, Branch and bound algorithm & Greedy algorithms
Dr. SURBHI SAROHA
 

Similar to Greedy algorithm presentations final year.pptx (20)

PPTX
esign and Analysis of Algorithms Presentation.pptx
Niraj759370
 
PDF
6-GreedyAlgorithm.pdf ssssssssssssssssss
trinh123profc
 
PDF
Analysis and Design of Algorithms notes
Prof. Dr. K. Adisesha
 
PPTX
data structure and algorithm (Advanced algorithm Stretegies)
shahghanikhan
 
PPT
Greedymethod
Bansari Shah
 
PPTX
Module 3_DAA (2).pptx
AnkitaVerma776806
 
PPTX
Greedy aproach towards problem solution
Rashid Ansari
 
PPTX
Greedy algorithms -Making change-Knapsack-Prim's-Kruskal's
Jay Patel
 
PDF
Mastering Greedy Algorithms: Optimizing Solutions for Efficiency"
22bcs058
 
PPT
Greedy algorithms
Md. Shafiuzzaman Hira
 
PPTX
Algorithms Design Patterns
Ashwin Shiv
 
PPTX
Applied Algorithms Introduction to Algorithms.pptx
nishankarsathiyamoha
 
PDF
heuristic search Techniques and game playing.pdf
vijeta3feb
 
PDF
Unit 3 - Greedy Method
MaryJacob24
 
PDF
Unit 3 greedy method
MaryJacob24
 
PPT
Greedy Algoritham
RJ Mehul Gadhiya
 
PPT
Greedy Algorihm
Muhammad Amjad Rana
 
PDF
Greedy is Good
skku_npc
 
PPT
Greedy_Backtracking graph coloring.ppt
SeethaDinesh
 
PPS
Greedy Algorithms with examples' b-18298
LGS, GBHS&IC, University Of South-Asia, TARA-Technologies
 
esign and Analysis of Algorithms Presentation.pptx
Niraj759370
 
6-GreedyAlgorithm.pdf ssssssssssssssssss
trinh123profc
 
Analysis and Design of Algorithms notes
Prof. Dr. K. Adisesha
 
data structure and algorithm (Advanced algorithm Stretegies)
shahghanikhan
 
Greedymethod
Bansari Shah
 
Module 3_DAA (2).pptx
AnkitaVerma776806
 
Greedy aproach towards problem solution
Rashid Ansari
 
Greedy algorithms -Making change-Knapsack-Prim's-Kruskal's
Jay Patel
 
Mastering Greedy Algorithms: Optimizing Solutions for Efficiency"
22bcs058
 
Greedy algorithms
Md. Shafiuzzaman Hira
 
Algorithms Design Patterns
Ashwin Shiv
 
Applied Algorithms Introduction to Algorithms.pptx
nishankarsathiyamoha
 
heuristic search Techniques and game playing.pdf
vijeta3feb
 
Unit 3 - Greedy Method
MaryJacob24
 
Unit 3 greedy method
MaryJacob24
 
Greedy Algoritham
RJ Mehul Gadhiya
 
Greedy Algorihm
Muhammad Amjad Rana
 
Greedy is Good
skku_npc
 
Greedy_Backtracking graph coloring.ppt
SeethaDinesh
 
Greedy Algorithms with examples' b-18298
LGS, GBHS&IC, University Of South-Asia, TARA-Technologies
 
Ad

Recently uploaded (20)

PDF
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
PPT
Understanding the Key Components and Parts of a Drone System.ppt
Siva Reddy
 
PDF
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPT
1. SYSTEMS, ROLES, AND DEVELOPMENT METHODOLOGIES.ppt
zilow058
 
PDF
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
PPTX
Tunnel Ventilation System in Kanpur Metro
220105053
 
PDF
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
PPTX
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
PPTX
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
PPTX
Inventory management chapter in automation and robotics.
atisht0104
 
PPTX
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
PDF
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
PPTX
Online Cab Booking and Management System.pptx
diptipaneri80
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PPTX
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
Understanding the Key Components and Parts of a Drone System.ppt
Siva Reddy
 
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
1. SYSTEMS, ROLES, AND DEVELOPMENT METHODOLOGIES.ppt
zilow058
 
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
Tunnel Ventilation System in Kanpur Metro
220105053
 
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
Inventory management chapter in automation and robotics.
atisht0104
 
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
Online Cab Booking and Management System.pptx
diptipaneri80
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
Ad

Greedy algorithm presentations final year.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.