SlideShare a Scribd company logo
What is an algorithm?
Definition "an algorithm is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values as output.“ Introduction to Algorithms  (Second Edition) by Thomas H. Cormen, Charles E. Leiserson,  Ronald L. Rivest, Clifford Stein
Road Maps algorithms are like  road maps  for accomplishing  a given,  well-defined task. 
Instruction list Generally, an  algorithm  is a systematic list of instructions for accomplishing some task, and the task can be anything that has a recognizable end-point (or result).  Often some of the specific steps in the procedure are to be repeated until the task is done.  Normally, there are different algorithms for the same task, some better than others.
Computer program a computer program is essentially an algorithm that tells the computer:  what specific steps to perform,  in what specific order,  to carry out a specific task
Computational For any such computational process, the algorithm must be completely laid down:  the way it applies in all possible circumstances that could arise must be specified.  That is, any conditional steps must be systematically dealt with,  case-by-case;  the criteria for each case must be clear (and computable)
Precise order Because an algorithm is a precise list of precise steps, the order of operations will almost always be important.  Instructions are usually assumed to be listed explicitly, and are described as starting 'from the top' and going 'down to the bottom', an idea that can be discussed more formally in terms of  flow of control .
Defined procedure Once a formal description has been obtained, an  algorithm  is a well-defined method or procedure:  for solving a problem,  such as a problem in mathematics;  or otherwise relating to the manipulation of information.
Implementation Algorithms are implemented  as computer programs,  as electric circuits,  mechanically, or by humans.
Thank you to: Topcoder

More Related Content

PDF
Lecture Note-2: Performance analysis of Algorithms
PPSX
Ic lecture6 architecture and algo
PPTX
Data structures algorithms basics
PPT
Algorithm Design Presentation
PPTX
Architecture Algorithm Definition
PPT
Algorithm Design
PPTX
Algorithm Introduction
PPT
Fundamental of Algorithms
Lecture Note-2: Performance analysis of Algorithms
Ic lecture6 architecture and algo
Data structures algorithms basics
Algorithm Design Presentation
Architecture Algorithm Definition
Algorithm Design
Algorithm Introduction
Fundamental of Algorithms

What's hot (20)

PPT
Daa presentation 97
PDF
Design & Analysis of Algorithms Lecture Notes
PDF
Lecture 2 role of algorithms in computing
PDF
Lecture 1 objective and course plan
PDF
Fundamentals of algorithms
PPTX
Notion of an algorithm
PPT
Amortized analysis
PDF
Algorithmic problem solving
PDF
Algorithm defination, design & Implementation
PDF
Unit 1-problem solving with algorithm
PPT
Aad introduction
PDF
Design and analysis of algorithms
PPT
8.1 alogorithm & prolem solving
PPTX
#1 designandanalysis of algo
PDF
Algorithms. Basic course
PDF
ADA complete notes
PPT
Problem solving
Daa presentation 97
Design & Analysis of Algorithms Lecture Notes
Lecture 2 role of algorithms in computing
Lecture 1 objective and course plan
Fundamentals of algorithms
Notion of an algorithm
Amortized analysis
Algorithmic problem solving
Algorithm defination, design & Implementation
Unit 1-problem solving with algorithm
Aad introduction
Design and analysis of algorithms
8.1 alogorithm & prolem solving
#1 designandanalysis of algo
Algorithms. Basic course
ADA complete notes
Problem solving
Ad

Viewers also liked (11)

PDF
8/13/12 Global Product Management Talk Live From Agile 2012 With Nicholas Mul...
PDF
5/21/12 Product Requirements Management Tools w/ Leon Malalel @LeonMalalel
PDF
Dec 17: Global Product Management Talk on Competitive Intelligence
PPTX
Value Of Sponsoring The Product Summit
PDF
AIPMM Webinar: Managing the Unmanageable: Rules, Tools, and Insights for Mana...
PDF
Product-Summit-brochure_2
PPT
Lean content marketing
PPT
What is the Semantic Web?
PDF
Why Exceptional Product Managers Have Many Mentors w/ Hector Del Castillo, CP...
PDF
What is usability testing?
8/13/12 Global Product Management Talk Live From Agile 2012 With Nicholas Mul...
5/21/12 Product Requirements Management Tools w/ Leon Malalel @LeonMalalel
Dec 17: Global Product Management Talk on Competitive Intelligence
Value Of Sponsoring The Product Summit
AIPMM Webinar: Managing the Unmanageable: Rules, Tools, and Insights for Mana...
Product-Summit-brochure_2
Lean content marketing
What is the Semantic Web?
Why Exceptional Product Managers Have Many Mentors w/ Hector Del Castillo, CP...
What is usability testing?
Ad

Similar to What is an algorithm? (20)

PPTX
Design and analysis of algorithms Module-I.pptx
PDF
Lecture Note-1: Algorithm and Its Properties
PPTX
Algorithm description in data structures
PDF
Introduction to Algorithms Complexity Analysis
PPTX
FDFDRERSFDSGAGAFGGFGFGFGFGAFDGFDGFGFFAGFGGDF
PDF
Algorithm Analysis.pdf
PPTX
Introduction to algorithms
PPT
chapter 1
PDF
Daa chapter 1
PPTX
Unit 2 algorithm
PPT
Design and analysis of algorithm in Computer Science
PPTX
11 Unit 1 Problem Solving Techniques
PPTX
Introduction To Algorithms
PPTX
Chapter 1 - Introduction to data structure.pptx
PDF
01 CS316_Introduction.pdf5959695559655565
PDF
Introduction to data structure and algorithm
PPTX
Chapter 4 Algorithms and Flow Charts.pptx
PPT
Lect 3-4 Zaheer Abbas
PPTX
DAA ppt.pptx
PPTX
DAA 1 ppt.pptx
Design and analysis of algorithms Module-I.pptx
Lecture Note-1: Algorithm and Its Properties
Algorithm description in data structures
Introduction to Algorithms Complexity Analysis
FDFDRERSFDSGAGAFGGFGFGFGFGAFDGFDGFGFFAGFGGDF
Algorithm Analysis.pdf
Introduction to algorithms
chapter 1
Daa chapter 1
Unit 2 algorithm
Design and analysis of algorithm in Computer Science
11 Unit 1 Problem Solving Techniques
Introduction To Algorithms
Chapter 1 - Introduction to data structure.pptx
01 CS316_Introduction.pdf5959695559655565
Introduction to data structure and algorithm
Chapter 4 Algorithms and Flow Charts.pptx
Lect 3-4 Zaheer Abbas
DAA ppt.pptx
DAA 1 ppt.pptx

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Machine Learning_overview_presentation.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Approach and Philosophy of On baking technology
PPT
Teaching material agriculture food technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Machine learning based COVID-19 study performance prediction
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Encapsulation theory and applications.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Chapter 3 Spatial Domain Image Processing.pdf
Programs and apps: productivity, graphics, security and other tools
Machine Learning_overview_presentation.pptx
Review of recent advances in non-invasive hemoglobin estimation
Approach and Philosophy of On baking technology
Teaching material agriculture food technology
MIND Revenue Release Quarter 2 2025 Press Release
Reach Out and Touch Someone: Haptics and Empathic Computing
Machine learning based COVID-19 study performance prediction
“AI and Expert System Decision Support & Business Intelligence Systems”
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation theory and applications.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MYSQL Presentation for SQL database connectivity
Encapsulation_ Review paper, used for researhc scholars
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Building Integrated photovoltaic BIPV_UPV.pdf
Empathic Computing: Creating Shared Understanding
Chapter 3 Spatial Domain Image Processing.pdf

What is an algorithm?

  • 1. What is an algorithm?
  • 2. Definition "an algorithm is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values as output.“ Introduction to Algorithms (Second Edition) by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein
  • 3. Road Maps algorithms are like road maps for accomplishing a given, well-defined task. 
  • 4. Instruction list Generally, an  algorithm  is a systematic list of instructions for accomplishing some task, and the task can be anything that has a recognizable end-point (or result). Often some of the specific steps in the procedure are to be repeated until the task is done. Normally, there are different algorithms for the same task, some better than others.
  • 5. Computer program a computer program is essentially an algorithm that tells the computer: what specific steps to perform, in what specific order, to carry out a specific task
  • 6. Computational For any such computational process, the algorithm must be completely laid down: the way it applies in all possible circumstances that could arise must be specified. That is, any conditional steps must be systematically dealt with, case-by-case; the criteria for each case must be clear (and computable)
  • 7. Precise order Because an algorithm is a precise list of precise steps, the order of operations will almost always be important. Instructions are usually assumed to be listed explicitly, and are described as starting 'from the top' and going 'down to the bottom', an idea that can be discussed more formally in terms of  flow of control .
  • 8. Defined procedure Once a formal description has been obtained, an  algorithm  is a well-defined method or procedure: for solving a problem, such as a problem in mathematics; or otherwise relating to the manipulation of information.
  • 9. Implementation Algorithms are implemented as computer programs, as electric circuits,  mechanically, or by humans.
  • 10. Thank you to: Topcoder