SlideShare a Scribd company logo
Algorithm Design
Afaq Mansoor Khan
Algorithm
An algorithm is a plan, a logical step-by-step process for solving a problem.
Algorithms are normally written as a flowchart or in pseudocode.
Algorithm Design
Since modern computing uses algorithms much more frequently than at any
other point in human history, a field has grown up around their design,
analysis, and refinement.
The field of algorithm design requires a strong mathematical and computer
science background. It offers a growing number of highly compensated career
options, as the need for more sophisticated algorithms continues to increase.
From Small Tasks to Big Data
A simple task can be solved by an algorithm generated with a few minutes, or
at most a morning’s work. However, arriving at problems so complicated that
they have stymied mathematicians for years — or even centuries.
Modern computer confronts problems at this level in such areas as cyber-
security, as well as big data handling — the efficient and thorough sorting of
sets of data so large that even a standard computer would be unable to
process them in a timely fashion.
From Small Tasks to Big Data
Examples of big data might include “every article on Wikipedia,” “every
archived web page going back to 1998,” or “the last six months of online
purchases made in America.”
Understanding the Problem
Before an algorithm can be designed, it is important to check that the problem
is completely understood.
● What are the inputs into the problem?
● What will be the outputs of the problem?
● In what order do instructions need to be carried out?
● What decisions need to be made in the problem?
● Are any areas of the problem repeated?
Once these basic things are understood, it is time to design the algorithm.
Designing an Algorithm
The key to any problem-solving task is to guide your thought process. The
most useful thing to do is keep asking ‘What if we did it this way?’
Exploring different ways of solving a problem can help to find the best way to
solve it.
“When designing an algorithm, consider if there is more than one way of
solving the problem.”
Designing an Algorithm
When designing an algorithm there are two main areas to look at:
● the big picture - What is the final goal?
● the individual stages – What hurdles need to be overcome on the way to
the goal?
Flowcharts
A flowchart is a diagram that represents a set of instructions. Flowcharts
normally use standard symbols to represent the different types of instructions.
These symbols are used to construct the flowchart and show the step-by-step
solution to the problem.
Using Flowcharts
Flowcharts can be used to plan out programs. Planning a program that asks
people what the best subject they take is, would look like this as a flowchart:
Algorithm Engineering
When the design of new algorithms is applied in practical terms, the related
discipline is known as algorithm engineering.
The two functions are frequently carried out by the same people, although
larger organizations employ specialized designers and engineers, given their
level of need for new and specialized algorithms.
Algorithm Engineering
Like the design process, algorithm engineering frequently involves computer
science accreditation, with a strong background in mathematics: where they
exist as a separate, specialized profession.
Algorithm engineers take the conceptual ideas of designers and create
processes from them that a computer will understand.
“An Algorithm is like a recipe”
- Unknown
Any Questions?
Thank You! â˜ș

More Related Content

PPTX
Software Architecture Design Decisions
PPTX
Systems Analyst and Its Roles (2)
PPTX
Agile in the Software Engineering Evolution
PPT
Aad motivation
DOCX
Reference - Andrew's Discovery Question (Checklist or outline)
PDF
Exclusive Cover Focus
PPTX
IT architectures - the good, the bad and the ugly
PPTX
3 the system analyst
Software Architecture Design Decisions
Systems Analyst and Its Roles (2)
Agile in the Software Engineering Evolution
Aad motivation
Reference - Andrew's Discovery Question (Checklist or outline)
Exclusive Cover Focus
IT architectures - the good, the bad and the ugly
3 the system analyst

What's hot (8)

PPT
Lo 11
PDF
Unit 1 introduction to software
PPTX
HSC IPT 1.1) Project mangement
 
PDF
Wanderings
PPTX
PDF
Guide to end end machine learning projects
PPTX
Become a software technical architect
PPTX
Đ’ĐŸĐ»ĐŸĐŽĐžĐŒĐžŃ€ Đ”ĐŸĐČĐłĐ°ĐœĐžĐș “5 typical features that make BA mad”
 
Lo 11
Unit 1 introduction to software
HSC IPT 1.1) Project mangement
 
Wanderings
Guide to end end machine learning projects
Become a software technical architect
Đ’ĐŸĐ»ĐŸĐŽĐžĐŒĐžŃ€ Đ”ĐŸĐČĐłĐ°ĐœĐžĐș “5 typical features that make BA mad”
 
Ad

Similar to How to Design an Algorithm (20)

PPTX
Algorithmics, intro to data structures.pptx
PPTX
FDFDRERSFDSGAGAFGGFGFGFGFGAFDGFDGFGFFAGFGGDF
PPTX
Flowcharts and algorithms
PPTX
Presentation for computer studing in algorithm
PPTX
Algorithm and Flowcharts
PDF
PROGRAMMING IN C UNIT I.pdffffffffffffffffffffffffd
PDF
problem solving and design By ZAK
PPTX
Chapter 6 algorithms and flow charts
PPTX
11 Unit 1 Problem Solving Techniques
PDF
Logic Development and Algorithm.
PPTX
Concept of Algorithm.pptx
PDF
Chapter-1-Introduction-to-Aglorithms.pdf
PPTX
Binary to hexadecimal algorithmic old.pptx
PPTX
Our presentation on algorithm design
PDF
Algorithm.pdf
PPTX
flowchart & algorithms
PPTX
Algo_Lecture01.pptx
PPTX
Algorithm and flowchart with pseudo code
PPT
Chap6
PDF
QULITIES OF A GOOD ALGORITHM
Algorithmics, intro to data structures.pptx
FDFDRERSFDSGAGAFGGFGFGFGFGAFDGFDGFGFFAGFGGDF
Flowcharts and algorithms
Presentation for computer studing in algorithm
Algorithm and Flowcharts
PROGRAMMING IN C UNIT I.pdffffffffffffffffffffffffd
problem solving and design By ZAK
Chapter 6 algorithms and flow charts
11 Unit 1 Problem Solving Techniques
Logic Development and Algorithm.
Concept of Algorithm.pptx
Chapter-1-Introduction-to-Aglorithms.pdf
Binary to hexadecimal algorithmic old.pptx
Our presentation on algorithm design
Algorithm.pdf
flowchart & algorithms
Algo_Lecture01.pptx
Algorithm and flowchart with pseudo code
Chap6
QULITIES OF A GOOD ALGORITHM
Ad

More from Afaq Mansoor Khan (20)

PPTX
Feature Selection - Natural Language Processing
PPTX
WiFi vs LiFi - A Comparison
PPTX
Role of Electronic Media in Pakistan
PPTX
Agile Testing - Approach and Strategies
PPTX
Ethical Hacking - An Overview
PPTX
Software Quality Qssurance, Scrum and Linkedin
PPTX
Quick sort
PPTX
.Physics presentation - Asteroids
PPTX
Graph Data Structure
PPTX
AVL Tree Data Structure
PPTX
Binary tree
PPTX
Queue Data Structure
PPTX
Prefix, Infix and Post-fix Notations
PPTX
Stack Data Structure
PPTX
Doubly & Circular Linked Lists
PPTX
Linked List - Insertion & Deletion
PPTX
Dynamic Memory & Linked Lists
PPTX
Sorting Algorithms
PPTX
Recursion and Sorting Algorithms
PPTX
Searching Algorithms
Feature Selection - Natural Language Processing
WiFi vs LiFi - A Comparison
Role of Electronic Media in Pakistan
Agile Testing - Approach and Strategies
Ethical Hacking - An Overview
Software Quality Qssurance, Scrum and Linkedin
Quick sort
.Physics presentation - Asteroids
Graph Data Structure
AVL Tree Data Structure
Binary tree
Queue Data Structure
Prefix, Infix and Post-fix Notations
Stack Data Structure
Doubly & Circular Linked Lists
Linked List - Insertion & Deletion
Dynamic Memory & Linked Lists
Sorting Algorithms
Recursion and Sorting Algorithms
Searching Algorithms

Recently uploaded (20)

PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
ai tools demonstartion for schools and inter college
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
AI in Product Development-omnex systems
PPTX
L1 - Introduction to python Backend.pptx
Wondershare Filmora 15 Crack With Activation Key [2025
How Creative Agencies Leverage Project Management Software.pdf
Design an Analysis of Algorithms I-SECS-1021-03
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Operating system designcfffgfgggggggvggggggggg
How to Choose the Right IT Partner for Your Business in Malaysia
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
ai tools demonstartion for schools and inter college
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Odoo POS Development Services by CandidRoot Solutions
Internet Downloader Manager (IDM) Crack 6.42 Build 41
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
AI in Product Development-omnex systems
L1 - Introduction to python Backend.pptx

How to Design an Algorithm

  • 2. Algorithm An algorithm is a plan, a logical step-by-step process for solving a problem. Algorithms are normally written as a flowchart or in pseudocode.
  • 3. Algorithm Design Since modern computing uses algorithms much more frequently than at any other point in human history, a field has grown up around their design, analysis, and refinement. The field of algorithm design requires a strong mathematical and computer science background. It offers a growing number of highly compensated career options, as the need for more sophisticated algorithms continues to increase.
  • 4. From Small Tasks to Big Data A simple task can be solved by an algorithm generated with a few minutes, or at most a morning’s work. However, arriving at problems so complicated that they have stymied mathematicians for years — or even centuries. Modern computer confronts problems at this level in such areas as cyber- security, as well as big data handling — the efficient and thorough sorting of sets of data so large that even a standard computer would be unable to process them in a timely fashion.
  • 5. From Small Tasks to Big Data Examples of big data might include “every article on Wikipedia,” “every archived web page going back to 1998,” or “the last six months of online purchases made in America.”
  • 6. Understanding the Problem Before an algorithm can be designed, it is important to check that the problem is completely understood. ● What are the inputs into the problem? ● What will be the outputs of the problem? ● In what order do instructions need to be carried out? ● What decisions need to be made in the problem? ● Are any areas of the problem repeated? Once these basic things are understood, it is time to design the algorithm.
  • 7. Designing an Algorithm The key to any problem-solving task is to guide your thought process. The most useful thing to do is keep asking ‘What if we did it this way?’ Exploring different ways of solving a problem can help to find the best way to solve it. “When designing an algorithm, consider if there is more than one way of solving the problem.”
  • 8. Designing an Algorithm When designing an algorithm there are two main areas to look at: ● the big picture - What is the final goal? ● the individual stages – What hurdles need to be overcome on the way to the goal?
  • 9. Flowcharts A flowchart is a diagram that represents a set of instructions. Flowcharts normally use standard symbols to represent the different types of instructions. These symbols are used to construct the flowchart and show the step-by-step solution to the problem.
  • 10. Using Flowcharts Flowcharts can be used to plan out programs. Planning a program that asks people what the best subject they take is, would look like this as a flowchart:
  • 11. Algorithm Engineering When the design of new algorithms is applied in practical terms, the related discipline is known as algorithm engineering. The two functions are frequently carried out by the same people, although larger organizations employ specialized designers and engineers, given their level of need for new and specialized algorithms.
  • 12. Algorithm Engineering Like the design process, algorithm engineering frequently involves computer science accreditation, with a strong background in mathematics: where they exist as a separate, specialized profession. Algorithm engineers take the conceptual ideas of designers and create processes from them that a computer will understand.
  • 13. “An Algorithm is like a recipe” - Unknown