SlideShare a Scribd company logo
1 of 23
ALGORITHM-DESIGN
The topic we’ll present >>> 
What is Algorithm ? 
What is Algorithm Design ? 
How to Design an Algorithm ? 
Graph Algorithm 
Flow Chart 
Importance of Algorithm Design 
Conclusion
 What is algorithm ? 
 An Algorithm is a Step by Step solution of a specific 
mathematical or computer related problem.
What is Algorithm-Design ? 
 Algorithm design is a specific method to create a 
mathematical process in solving problems.
How to design algorithm ??
Greedy Algorithms 
 An algorithm which always takes the best immediate 
or local solution while finding an answer. 
 Greedy algorithms will always find the overall or 
globally optimal solution for some optimization 
problems, but may find less-than-optimal solutions for 
some instances of other problems. 
Greedy algorithm for the Knapsack problem 
Minimal spanning tree
Image of greedy algorithm
 Divide and Conquer 
 Break the problems into smaller sub-problems 
 Solve each of the sub-problems 
Combine the solutions to obtain the 
solution to the original problem 
Binary search in a sorted array (recursion) 
Quick sort algorithm (recursion)
 Image of Divide and Conquer
Dynamic Programming 
 Dynamic programming is typically used to solve an 
optimization problem . 
 Dynamic Programming is a Bottom-Up Technique in 
which the smallest sub-instances are explicitly solved 
first and the results of these are used to construct 
solutions to progressively larger sub-instances. 
Fibonacci numbers computed by iteration. 
Warshall ’s algorithm implemented by iterations.
Image of Dynamic Programming
 Back Tracking 
 Backtracking is a general algorithm for finding all 
solutions to some computational problem ,that 
incrementally builds candidates to the solutions, and 
abandons each partial candidate c ("backtracks") as 
soon as it determines that c cannot possibly be 
completed to a valid solution. 
Eight queens puzzle. 
Traveling salesman problem.
Image of back tracking
 Graph Algorithm 
 A graph algorithm is an algorithm that takes one or 
more graphs as inputs. Performance constraints on 
graph algorithms are generally expressed in terms of 
the number of vertices (|V|) and the number of edges 
(|E|) in the input graph.
Image of Graph Algorithm
Flow chart 
 A flowchart is a type of diagram that 
represents an algorithm, workflow or 
process, showing the steps as boxes 
of various kinds, and their order by 
connecting them with arrows. 
 Flowcharts are used in analyzing, 
designing, documenting or 
managing a process or program in 
various fields.
Symbols of Flow Chart
Importance of algorithm design 
 It is used to store and access large 
quantities of data efficiently. 
 It is used to solve complex 
computational problems and to 
design of good programs 
 It is important to justify an 
algorithm correctness 
mathematically 
 It provides clear , simple and 
unambiguous description
 Conclusion 
 At last it may said that , the so called program name 
Algorithm – design is one of the most enforceable solution 
program that can be used to solve any complicated , 
complex , and hard program. 
 Under considering the above case the concerned authority 
included the jubilant students should prefer this program 
with great care.
Our presentation on algorithm design
Our presentation on algorithm design

More Related Content

What's hot

Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchartRabin BK
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
Algorithm Development
Algorithm DevelopmentAlgorithm Development
Algorithm DevelopmentALI RAZA
 
Unit 1-problem solving with algorithm
Unit 1-problem solving with algorithmUnit 1-problem solving with algorithm
Unit 1-problem solving with algorithmrajkumar1631010038
 
Design and analysis of algorithms
Design and analysis of algorithmsDesign and analysis of algorithms
Design and analysis of algorithmsDr Geetha Mohan
 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer Ashim Lamichhane
 
Design and Analysis of Algorithms
Design and Analysis of AlgorithmsDesign and Analysis of Algorithms
Design and Analysis of AlgorithmsSwapnil Agrawal
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners Sujith Kumar
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back trackingTech_MX
 
Discrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesDiscrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesFellowBuddy.com
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and AlgorithmDhaval Kaneria
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Fundamentals of the Analysis of Algorithm Efficiency
Fundamentals of the Analysis of Algorithm EfficiencyFundamentals of the Analysis of Algorithm Efficiency
Fundamentals of the Analysis of Algorithm EfficiencySaranya Natarajan
 

What's hot (20)

Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Algorithm Development
Algorithm DevelopmentAlgorithm Development
Algorithm Development
 
Unit 1-problem solving with algorithm
Unit 1-problem solving with algorithmUnit 1-problem solving with algorithm
Unit 1-problem solving with algorithm
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Design and analysis of algorithms
Design and analysis of algorithmsDesign and analysis of algorithms
Design and analysis of algorithms
 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
 
Design and Analysis of Algorithms
Design and Analysis of AlgorithmsDesign and Analysis of Algorithms
Design and Analysis of Algorithms
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
 
Discrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesDiscrete Mathematics Lecture Notes
Discrete Mathematics Lecture Notes
 
Unit 1 chapter 1 Design and Analysis of Algorithms
Unit 1   chapter 1 Design and Analysis of AlgorithmsUnit 1   chapter 1 Design and Analysis of Algorithms
Unit 1 chapter 1 Design and Analysis of Algorithms
 
Greedy Algorihm
Greedy AlgorihmGreedy Algorihm
Greedy Algorihm
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Fundamentals of the Analysis of Algorithm Efficiency
Fundamentals of the Analysis of Algorithm EfficiencyFundamentals of the Analysis of Algorithm Efficiency
Fundamentals of the Analysis of Algorithm Efficiency
 
Randomized algorithms ver 1.0
Randomized algorithms ver 1.0Randomized algorithms ver 1.0
Randomized algorithms ver 1.0
 
Daa unit 1
Daa unit 1Daa unit 1
Daa unit 1
 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann Architecture
 
Algorithm Introduction
Algorithm IntroductionAlgorithm Introduction
Algorithm Introduction
 

Viewers also liked

Introduction to Algorithms
Introduction to AlgorithmsIntroduction to Algorithms
Introduction to AlgorithmsVenkatesh Iyer
 
03 algorithm properties
03 algorithm properties03 algorithm properties
03 algorithm propertiesLincoln School
 
Lecture 2 role of algorithms in computing
Lecture 2   role of algorithms in computingLecture 2   role of algorithms in computing
Lecture 2 role of algorithms in computingjayavignesh86
 
Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2Traian Rebedea
 
Algorithm Analysis and Design Class Notes
Algorithm Analysis and Design Class NotesAlgorithm Analysis and Design Class Notes
Algorithm Analysis and Design Class NotesKumar Avinash
 
Design and Analysis of Algorithms
Design and Analysis of AlgorithmsDesign and Analysis of Algorithms
Design and Analysis of AlgorithmsArvind Krishnaa
 
NDD Project presentation
NDD Project presentationNDD Project presentation
NDD Project presentationahmedmishfaq
 
Needleman-Wunsch Algorithm
Needleman-Wunsch AlgorithmNeedleman-Wunsch Algorithm
Needleman-Wunsch AlgorithmProshantaShil
 
Introduction to the Algorithm Game
Introduction to the Algorithm GameIntroduction to the Algorithm Game
Introduction to the Algorithm GameIvan Orozco
 
Intro to advanced caching in WordPress
Intro to advanced caching in WordPressIntro to advanced caching in WordPress
Intro to advanced caching in WordPressMaor Chasen
 
Architecture Algorithm Definition
Architecture Algorithm DefinitionArchitecture Algorithm Definition
Architecture Algorithm DefinitionGaditek
 

Viewers also liked (20)

Algorithm.ppt
Algorithm.pptAlgorithm.ppt
Algorithm.ppt
 
Introduction to Algorithms
Introduction to AlgorithmsIntroduction to Algorithms
Introduction to Algorithms
 
Algorithm Design
Algorithm DesignAlgorithm Design
Algorithm Design
 
Algorithms
AlgorithmsAlgorithms
Algorithms
 
Writing algorithms
Writing algorithmsWriting algorithms
Writing algorithms
 
03 algorithm properties
03 algorithm properties03 algorithm properties
03 algorithm properties
 
Design & Analysis Of Algorithm
Design & Analysis Of AlgorithmDesign & Analysis Of Algorithm
Design & Analysis Of Algorithm
 
Lecture 2 role of algorithms in computing
Lecture 2   role of algorithms in computingLecture 2   role of algorithms in computing
Lecture 2 role of algorithms in computing
 
Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2
 
Algorithm Analysis and Design Class Notes
Algorithm Analysis and Design Class NotesAlgorithm Analysis and Design Class Notes
Algorithm Analysis and Design Class Notes
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
 
Design and Analysis of Algorithms
Design and Analysis of AlgorithmsDesign and Analysis of Algorithms
Design and Analysis of Algorithms
 
Conflict
Conflict Conflict
Conflict
 
Open-process Algorithm Design
Open-process Algorithm DesignOpen-process Algorithm Design
Open-process Algorithm Design
 
NDD Project presentation
NDD Project presentationNDD Project presentation
NDD Project presentation
 
Needleman-Wunsch Algorithm
Needleman-Wunsch AlgorithmNeedleman-Wunsch Algorithm
Needleman-Wunsch Algorithm
 
Introduction to the Algorithm Game
Introduction to the Algorithm GameIntroduction to the Algorithm Game
Introduction to the Algorithm Game
 
Intro to advanced caching in WordPress
Intro to advanced caching in WordPressIntro to advanced caching in WordPress
Intro to advanced caching in WordPress
 
Architecture Algorithm Definition
Architecture Algorithm DefinitionArchitecture Algorithm Definition
Architecture Algorithm Definition
 
#1 designandanalysis of algo
#1 designandanalysis of algo#1 designandanalysis of algo
#1 designandanalysis of algo
 

Similar to Our presentation on algorithm design

AOA Week 01.ppt
AOA Week 01.pptAOA Week 01.ppt
AOA Week 01.pptINAM352782
 
complexity analysis.pdf
complexity analysis.pdfcomplexity analysis.pdf
complexity analysis.pdfpasinduneshan
 
Types of Algorithms.ppt
Types of Algorithms.pptTypes of Algorithms.ppt
Types of Algorithms.pptALIZAIB KHAN
 
CH-1.1 Introduction (1).pptx
CH-1.1 Introduction (1).pptxCH-1.1 Introduction (1).pptx
CH-1.1 Introduction (1).pptxsatvikkushwaha1
 
Data Structures and Algorithms Unit 01
Data Structures and Algorithms Unit 01Data Structures and Algorithms Unit 01
Data Structures and Algorithms Unit 01Prashanth Shivakumar
 
Lecture 01-2.ppt
Lecture 01-2.pptLecture 01-2.ppt
Lecture 01-2.pptRaoHamza24
 
Algorithm and flowchart2010
Algorithm and flowchart2010Algorithm and flowchart2010
Algorithm and flowchart2010Jordan Delacruz
 
L01 intro-daa - ppt1
L01 intro-daa - ppt1L01 intro-daa - ppt1
L01 intro-daa - ppt1sankaran L
 
Lecture Note-2: Performance analysis of Algorithms
Lecture Note-2: Performance analysis of AlgorithmsLecture Note-2: Performance analysis of Algorithms
Lecture Note-2: Performance analysis of AlgorithmsRajesh K Shukla
 
Lecture Note-1: Algorithm and Its Properties
Lecture Note-1: Algorithm and Its PropertiesLecture Note-1: Algorithm and Its Properties
Lecture Note-1: Algorithm and Its PropertiesRajesh K Shukla
 
11 Unit 1 Problem Solving Techniques
11  Unit 1 Problem Solving Techniques11  Unit 1 Problem Solving Techniques
11 Unit 1 Problem Solving TechniquesPraveen M Jigajinni
 
Introduction to Algorithms Complexity Analysis
Introduction to Algorithms Complexity Analysis Introduction to Algorithms Complexity Analysis
Introduction to Algorithms Complexity Analysis Dr. Pankaj Agarwal
 
PRESENTATION 0N SCHEDULING ALGORITHM.pptx
PRESENTATION 0N SCHEDULING ALGORITHM.pptxPRESENTATION 0N SCHEDULING ALGORITHM.pptx
PRESENTATION 0N SCHEDULING ALGORITHM.pptxbkumar2974
 
Data Structures and Algorithm Analysis
Data Structures  and  Algorithm AnalysisData Structures  and  Algorithm Analysis
Data Structures and Algorithm AnalysisMary Margarat
 

Similar to Our presentation on algorithm design (20)

chapter 1
chapter 1chapter 1
chapter 1
 
How to Design an Algorithm
How to Design an AlgorithmHow to Design an Algorithm
How to Design an Algorithm
 
AOA Week 01.ppt
AOA Week 01.pptAOA Week 01.ppt
AOA Week 01.ppt
 
Flowcharting and Algorithm
Flowcharting and Algorithm Flowcharting and Algorithm
Flowcharting and Algorithm
 
complexity analysis.pdf
complexity analysis.pdfcomplexity analysis.pdf
complexity analysis.pdf
 
Types of Algorithms.ppt
Types of Algorithms.pptTypes of Algorithms.ppt
Types of Algorithms.ppt
 
CH-1.1 Introduction (1).pptx
CH-1.1 Introduction (1).pptxCH-1.1 Introduction (1).pptx
CH-1.1 Introduction (1).pptx
 
Chap6
Chap6Chap6
Chap6
 
Data Structures and Algorithms Unit 01
Data Structures and Algorithms Unit 01Data Structures and Algorithms Unit 01
Data Structures and Algorithms Unit 01
 
Lecture 01-2.ppt
Lecture 01-2.pptLecture 01-2.ppt
Lecture 01-2.ppt
 
Daa chapter 1
Daa chapter 1Daa chapter 1
Daa chapter 1
 
Algorithm and flowchart2010
Algorithm and flowchart2010Algorithm and flowchart2010
Algorithm and flowchart2010
 
L01 intro-daa - ppt1
L01 intro-daa - ppt1L01 intro-daa - ppt1
L01 intro-daa - ppt1
 
Lecture Note-2: Performance analysis of Algorithms
Lecture Note-2: Performance analysis of AlgorithmsLecture Note-2: Performance analysis of Algorithms
Lecture Note-2: Performance analysis of Algorithms
 
Lecture Note-1: Algorithm and Its Properties
Lecture Note-1: Algorithm and Its PropertiesLecture Note-1: Algorithm and Its Properties
Lecture Note-1: Algorithm and Its Properties
 
11 Unit 1 Problem Solving Techniques
11  Unit 1 Problem Solving Techniques11  Unit 1 Problem Solving Techniques
11 Unit 1 Problem Solving Techniques
 
Introduction to Algorithms Complexity Analysis
Introduction to Algorithms Complexity Analysis Introduction to Algorithms Complexity Analysis
Introduction to Algorithms Complexity Analysis
 
Chapter one
Chapter oneChapter one
Chapter one
 
PRESENTATION 0N SCHEDULING ALGORITHM.pptx
PRESENTATION 0N SCHEDULING ALGORITHM.pptxPRESENTATION 0N SCHEDULING ALGORITHM.pptx
PRESENTATION 0N SCHEDULING ALGORITHM.pptx
 
Data Structures and Algorithm Analysis
Data Structures  and  Algorithm AnalysisData Structures  and  Algorithm Analysis
Data Structures and Algorithm Analysis
 

Our presentation on algorithm design

  • 1.
  • 2.
  • 4. The topic we’ll present >>> What is Algorithm ? What is Algorithm Design ? How to Design an Algorithm ? Graph Algorithm Flow Chart Importance of Algorithm Design Conclusion
  • 5.  What is algorithm ?  An Algorithm is a Step by Step solution of a specific mathematical or computer related problem.
  • 6. What is Algorithm-Design ?  Algorithm design is a specific method to create a mathematical process in solving problems.
  • 7. How to design algorithm ??
  • 8. Greedy Algorithms  An algorithm which always takes the best immediate or local solution while finding an answer.  Greedy algorithms will always find the overall or globally optimal solution for some optimization problems, but may find less-than-optimal solutions for some instances of other problems. Greedy algorithm for the Knapsack problem Minimal spanning tree
  • 9. Image of greedy algorithm
  • 10.  Divide and Conquer  Break the problems into smaller sub-problems  Solve each of the sub-problems Combine the solutions to obtain the solution to the original problem Binary search in a sorted array (recursion) Quick sort algorithm (recursion)
  • 11.  Image of Divide and Conquer
  • 12. Dynamic Programming  Dynamic programming is typically used to solve an optimization problem .  Dynamic Programming is a Bottom-Up Technique in which the smallest sub-instances are explicitly solved first and the results of these are used to construct solutions to progressively larger sub-instances. Fibonacci numbers computed by iteration. Warshall ’s algorithm implemented by iterations.
  • 13. Image of Dynamic Programming
  • 14.  Back Tracking  Backtracking is a general algorithm for finding all solutions to some computational problem ,that incrementally builds candidates to the solutions, and abandons each partial candidate c ("backtracks") as soon as it determines that c cannot possibly be completed to a valid solution. Eight queens puzzle. Traveling salesman problem.
  • 15. Image of back tracking
  • 16.  Graph Algorithm  A graph algorithm is an algorithm that takes one or more graphs as inputs. Performance constraints on graph algorithms are generally expressed in terms of the number of vertices (|V|) and the number of edges (|E|) in the input graph.
  • 17. Image of Graph Algorithm
  • 18. Flow chart  A flowchart is a type of diagram that represents an algorithm, workflow or process, showing the steps as boxes of various kinds, and their order by connecting them with arrows.  Flowcharts are used in analyzing, designing, documenting or managing a process or program in various fields.
  • 20. Importance of algorithm design  It is used to store and access large quantities of data efficiently.  It is used to solve complex computational problems and to design of good programs  It is important to justify an algorithm correctness mathematically  It provides clear , simple and unambiguous description
  • 21.  Conclusion  At last it may said that , the so called program name Algorithm – design is one of the most enforceable solution program that can be used to solve any complicated , complex , and hard program.  Under considering the above case the concerned authority included the jubilant students should prefer this program with great care.