SlideShare a Scribd company logo
2
Most read
5
Most read
7
Most read
ALGORITHM ANALYSIS AND
EFFICIENCY
WHAT IS ALGORITHM?
๏ถ Algorithm is a step by step instruction to solve a
given problem.
๏ถ An Algorithm must have definite end point so that
when the input has been processed and the
desired output achieved,the process stops.
๏ถ Example:To add two numbers
Accept two numbers as num1 and num2
Find the sum of two numbers
PRINT SUM
Algorithm analysis and efficiency
WHY ALGORITHM ANALYSIS?
๏ถ A problem can have solution/multiple solutions.
๏ถ To establish if a given algorithm uses a
reasonable amount of resources to solve a
problem,an analysis of algorithm is required.
ALGORITHM EFFICIENCY
๏ƒ˜ Algorithmic efficiency are properties of algorithm
which relate to amount of computational
resources used by an algorithm.
๏ƒ˜ For maximum efficiency,we wish to minimise
resource usage.
MEASURES OF ALGORITHM EFFICIENCY
๏ถ Time Complexity(how long does algorithm take to
complete)
๏ถ Space complexity(how much working memory is
needed by algorithm)
This has two aspects
1.Amount of memory needed by the code
2.Amount of memory needed for data on
which the code operates.
There are also less common measures.They are
๏ƒ˜ Transmission size :Bandwidth could be a limiting
factor.Data compression can be used to reduce
amount of data to be transmitted.
๏ƒ˜ External risk :Space needed on a disk.
๏ƒ˜ Response Time :Particularly in realtime
applications when computer system must respond
quickly to some external extent.
๏ƒ˜ Total cost of Ownership:Particularly if computer
is dedicated to one particular algorithm.
THANK YOU!!!!

More Related Content

What's hot (20)

PPTX
Kernel I/O subsystem
AtiKa Bhatti
ย 
PPTX
Operating system memory management
rprajat007
ย 
PPTX
Demand Paging in OS (Operating System): Example, Advantages, Working
DigitalThinkerHelp
ย 
PPT
Protection and Security in Operating Systems
vampugani
ย 
PPTX
Memory Management in OS
Kumar Pritam
ย 
PDF
String operation
Shakila Mahjabin
ย 
PPTX
VB.NET:An introduction to Namespaces in .NET framework
Richa Handa
ย 
PPTX
File allocation methods (1)
Dr. Jasmine Beulah Gnanadurai
ย 
PPTX
Cpu scheduling in operating System.
Ravi Kumar Patel
ย 
PDF
Multiple Access in Computer Network
Hitesh Mohapatra
ย 
PDF
Lecture 01 introduction to compiler
Iffat Anjum
ย 
PPTX
DBMS - RAID
MythiliMurugan3
ย 
PPTX
Digital & analog transmission
Jeffery Vava
ย 
PPTX
Free Space Management, Efficiency & Performance, Recovery and NFS
United International University
ย 
PPTX
Application Layer
Dr Shashikant Athawale
ย 
PPTX
MULTILEVEL QUEUE SCHEDULING
garishma bhatia
ย 
PPTX
Heap Sort in Design and Analysis of algorithms
samairaakram
ย 
PPTX
pipelining
sudhir saurav
ย 
PPTX
Virtual memory management in Operating System
Rashmi Bhat
ย 
PPT
Lecture 11 - distributed database
HoneySah
ย 
Kernel I/O subsystem
AtiKa Bhatti
ย 
Operating system memory management
rprajat007
ย 
Demand Paging in OS (Operating System): Example, Advantages, Working
DigitalThinkerHelp
ย 
Protection and Security in Operating Systems
vampugani
ย 
Memory Management in OS
Kumar Pritam
ย 
String operation
Shakila Mahjabin
ย 
VB.NET:An introduction to Namespaces in .NET framework
Richa Handa
ย 
File allocation methods (1)
Dr. Jasmine Beulah Gnanadurai
ย 
Cpu scheduling in operating System.
Ravi Kumar Patel
ย 
Multiple Access in Computer Network
Hitesh Mohapatra
ย 
Lecture 01 introduction to compiler
Iffat Anjum
ย 
DBMS - RAID
MythiliMurugan3
ย 
Digital & analog transmission
Jeffery Vava
ย 
Free Space Management, Efficiency & Performance, Recovery and NFS
United International University
ย 
Application Layer
Dr Shashikant Athawale
ย 
MULTILEVEL QUEUE SCHEDULING
garishma bhatia
ย 
Heap Sort in Design and Analysis of algorithms
samairaakram
ย 
pipelining
sudhir saurav
ย 
Virtual memory management in Operating System
Rashmi Bhat
ย 
Lecture 11 - distributed database
HoneySah
ย 

Viewers also liked (9)

PPT
Algorithmic Notations
Muhammad Muzammal
ย 
PPT
8.1 alogorithm & prolem solving
Khan Yousafzai
ย 
PDF
Sample Pattern Analysis Algorithm Technique
Index Strategy Advisors
ย 
PPT
DESIGN AND ANALYSIS OF ALGORITHM (DAA)
m.kumarasamy college of engineering
ย 
PDF
Big o
Thanhvinh Vo
ย 
PDF
Algorithm Analysis and Design Class Notes
Kumar Avinash
ย 
PDF
ADA complete notes
Vinay Kumar C
ย 
PPTX
Design and Analysis of Algorithms
Arvind Krishnaa
ย 
DOC
Time and space complexity
Ankit Katiyar
ย 
Algorithmic Notations
Muhammad Muzammal
ย 
8.1 alogorithm & prolem solving
Khan Yousafzai
ย 
Sample Pattern Analysis Algorithm Technique
Index Strategy Advisors
ย 
DESIGN AND ANALYSIS OF ALGORITHM (DAA)
m.kumarasamy college of engineering
ย 
Big o
Thanhvinh Vo
ย 
Algorithm Analysis and Design Class Notes
Kumar Avinash
ย 
ADA complete notes
Vinay Kumar C
ย 
Design and Analysis of Algorithms
Arvind Krishnaa
ย 
Time and space complexity
Ankit Katiyar
ย 
Ad

Similar to Algorithm analysis and efficiency (20)

PPT
Daa presentation 97
Garima Verma
ย 
PPTX
DA lecture 3.pptx
SayanSen36
ย 
PPTX
Algorithm - Introduction
Madhu Bala
ย 
PPTX
Chapter 1 Data structure.pptx
wondmhunegn
ย 
PPTX
Algorithm description in data structures
ananya195642
ย 
PDF
12200223054_SrijanGho;sh_DAA_19.pdfkmkmm
arijitghosal14
ย 
PPTX
design analysis of algorithmaa unit 1.pptx
rajesshs31r
ย 
PPTX
daa18d8d-d333-4398-94dd-a46802d88d79.pptx
yvtinsane
ย 
PDF
Python algorithm
Prof. Dr. K. Adisesha
ย 
PPTX
2. Introduction to Algorithm.pptx
RahikAhmed1
ย 
PPTX
Data structure introduction
NavneetSandhu0
ย 
PPTX
Chapter 09 design and analysis of algorithms
Praveen M Jigajinni
ย 
PDF
ADA Unit-1 Algorithmic Foundations Analysis, Design, and Efficiency.pdf
RGPV De Bunkers
ย 
PPTX
Unit 1, ADA.pptx
jinkhatima
ย 
PPTX
Algorithm.pptx
Koteswari Kasireddy
ย 
PPTX
Algorithm.pptx
Koteswari Kasireddy
ย 
PPTX
Design and Analysis of Algorithm ppt for unit one
ssuserb7c8b8
ย 
PPTX
Introduction to algorithms
Madishetty Prathibha
ย 
PPTX
Introduction to Algorithms Introduction to Algorithms.pptx
ArjayBalberan1
ย 
PPTX
Algo analysis for computational programmingpptx
ashima967262
ย 
Daa presentation 97
Garima Verma
ย 
DA lecture 3.pptx
SayanSen36
ย 
Algorithm - Introduction
Madhu Bala
ย 
Chapter 1 Data structure.pptx
wondmhunegn
ย 
Algorithm description in data structures
ananya195642
ย 
12200223054_SrijanGho;sh_DAA_19.pdfkmkmm
arijitghosal14
ย 
design analysis of algorithmaa unit 1.pptx
rajesshs31r
ย 
daa18d8d-d333-4398-94dd-a46802d88d79.pptx
yvtinsane
ย 
Python algorithm
Prof. Dr. K. Adisesha
ย 
2. Introduction to Algorithm.pptx
RahikAhmed1
ย 
Data structure introduction
NavneetSandhu0
ย 
Chapter 09 design and analysis of algorithms
Praveen M Jigajinni
ย 
ADA Unit-1 Algorithmic Foundations Analysis, Design, and Efficiency.pdf
RGPV De Bunkers
ย 
Unit 1, ADA.pptx
jinkhatima
ย 
Algorithm.pptx
Koteswari Kasireddy
ย 
Algorithm.pptx
Koteswari Kasireddy
ย 
Design and Analysis of Algorithm ppt for unit one
ssuserb7c8b8
ย 
Introduction to algorithms
Madishetty Prathibha
ย 
Introduction to Algorithms Introduction to Algorithms.pptx
ArjayBalberan1
ย 
Algo analysis for computational programmingpptx
ashima967262
ย 
Ad

More from ppts123456 (13)

PPTX
Anypointconnectordevkit 160816041722
ppts123456
ย 
PPTX
Muleesbcomponents1 160625154208
ppts123456
ย 
PPTX
Flowsinmule 160517130818
ppts123456
ย 
PPTX
Mulefundamentals 160503050909
ppts123456
ย 
PPT
4 150915033746-lva1-app6892
ppts123456
ย 
PPTX
Mulehdfsconnector 160810122655
ppts123456
ย 
PPT
Mulethenewtechnology 12549172699166-phpapp03-160421133841
ppts123456
ย 
PPTX
Deployingmuleapplications 160903085602
ppts123456
ย 
PPTX
Mulesoftanypointplatformintro
ppts123456
ย 
PPT
Mule overview
ppts123456
ย 
PPT
Wsdl
ppts123456
ย 
PPTX
2016 08-08 ecology and environment
ppts123456
ย 
PPT
E procureppt
ppts123456
ย 
Anypointconnectordevkit 160816041722
ppts123456
ย 
Muleesbcomponents1 160625154208
ppts123456
ย 
Flowsinmule 160517130818
ppts123456
ย 
Mulefundamentals 160503050909
ppts123456
ย 
4 150915033746-lva1-app6892
ppts123456
ย 
Mulehdfsconnector 160810122655
ppts123456
ย 
Mulethenewtechnology 12549172699166-phpapp03-160421133841
ppts123456
ย 
Deployingmuleapplications 160903085602
ppts123456
ย 
Mulesoftanypointplatformintro
ppts123456
ย 
Mule overview
ppts123456
ย 
Wsdl
ppts123456
ย 
2016 08-08 ecology and environment
ppts123456
ย 
E procureppt
ppts123456
ย 

Recently uploaded (20)

PDF
IObit Uninstaller Pro 14.3.1.8 Crack for Windows Latest
utfefguu
ย 
PDF
Telemedicine App Development_ Key Factors to Consider for Your Healthcare Ven...
Mobilityinfotech
ย 
PPTX
IObit Driver Booster Pro Crack Download Latest Version
chaudhryakashoo065
ย 
PDF
capitulando la keynote de GrafanaCON 2025 - Madrid
Imma Valls Bernaus
ย 
PDF
IDM Crack with Internet Download Manager 6.42 Build 41
utfefguu
ย 
PDF
Rewards and Recognition (2).pdf
ethan Talor
ย 
PPTX
For my supp to finally picking supp that work
necas19388
ย 
PDF
AWS Consulting Services: Empowering Digital Transformation with Nlineaxis
Nlineaxis IT Solutions Pvt Ltd
ย 
PDF
AI Software Development Process, Strategies and Challenges
Net-Craft.com
ย 
PDF
Automated Testing and Safety Analysis of Deep Neural Networks
Lionel Briand
ย 
PDF
>Nitro Pro Crack 14.36.1.0 + Keygen Free Download [Latest]
utfefguu
ย 
PDF
Code Once; Run Everywhere - A Beginnerโ€™s Journey with React Native
Hasitha Walpola
ย 
PPTX
IObit Driver Booster Pro 12.4-12.5 license keys 2025-2026
chaudhryakashoo065
ย 
PDF
Automated Test Case Repair Using Language Models
Lionel Briand
ย 
PDF
The Rise of Sustainable Mobile App Solutions by New York Development Firms
ostechnologies16
ย 
PPTX
Iobit Driver Booster Pro 12 Crack Free Download
chaudhryakashoo065
ย 
PPTX
Android Notifications-A Guide to User-Facing Alerts in Android .pptx
Nabin Dhakal
ย 
PDF
Difference Between Kubernetes and Docker .pdf
Kindlebit Solutions
ย 
PDF
LPS25 - Operationalizing MLOps in GEP - Terradue.pdf
terradue
ย 
PDF
Alur Perkembangan Software dan Jaringan Komputer
ssuser754303
ย 
IObit Uninstaller Pro 14.3.1.8 Crack for Windows Latest
utfefguu
ย 
Telemedicine App Development_ Key Factors to Consider for Your Healthcare Ven...
Mobilityinfotech
ย 
IObit Driver Booster Pro Crack Download Latest Version
chaudhryakashoo065
ย 
capitulando la keynote de GrafanaCON 2025 - Madrid
Imma Valls Bernaus
ย 
IDM Crack with Internet Download Manager 6.42 Build 41
utfefguu
ย 
Rewards and Recognition (2).pdf
ethan Talor
ย 
For my supp to finally picking supp that work
necas19388
ย 
AWS Consulting Services: Empowering Digital Transformation with Nlineaxis
Nlineaxis IT Solutions Pvt Ltd
ย 
AI Software Development Process, Strategies and Challenges
Net-Craft.com
ย 
Automated Testing and Safety Analysis of Deep Neural Networks
Lionel Briand
ย 
>Nitro Pro Crack 14.36.1.0 + Keygen Free Download [Latest]
utfefguu
ย 
Code Once; Run Everywhere - A Beginnerโ€™s Journey with React Native
Hasitha Walpola
ย 
IObit Driver Booster Pro 12.4-12.5 license keys 2025-2026
chaudhryakashoo065
ย 
Automated Test Case Repair Using Language Models
Lionel Briand
ย 
The Rise of Sustainable Mobile App Solutions by New York Development Firms
ostechnologies16
ย 
Iobit Driver Booster Pro 12 Crack Free Download
chaudhryakashoo065
ย 
Android Notifications-A Guide to User-Facing Alerts in Android .pptx
Nabin Dhakal
ย 
Difference Between Kubernetes and Docker .pdf
Kindlebit Solutions
ย 
LPS25 - Operationalizing MLOps in GEP - Terradue.pdf
terradue
ย 
Alur Perkembangan Software dan Jaringan Komputer
ssuser754303
ย 

Algorithm analysis and efficiency

  • 2. WHAT IS ALGORITHM? ๏ถ Algorithm is a step by step instruction to solve a given problem. ๏ถ An Algorithm must have definite end point so that when the input has been processed and the desired output achieved,the process stops. ๏ถ Example:To add two numbers Accept two numbers as num1 and num2 Find the sum of two numbers PRINT SUM
  • 4. WHY ALGORITHM ANALYSIS? ๏ถ A problem can have solution/multiple solutions. ๏ถ To establish if a given algorithm uses a reasonable amount of resources to solve a problem,an analysis of algorithm is required.
  • 5. ALGORITHM EFFICIENCY ๏ƒ˜ Algorithmic efficiency are properties of algorithm which relate to amount of computational resources used by an algorithm. ๏ƒ˜ For maximum efficiency,we wish to minimise resource usage.
  • 6. MEASURES OF ALGORITHM EFFICIENCY ๏ถ Time Complexity(how long does algorithm take to complete) ๏ถ Space complexity(how much working memory is needed by algorithm) This has two aspects 1.Amount of memory needed by the code 2.Amount of memory needed for data on which the code operates.
  • 7. There are also less common measures.They are ๏ƒ˜ Transmission size :Bandwidth could be a limiting factor.Data compression can be used to reduce amount of data to be transmitted. ๏ƒ˜ External risk :Space needed on a disk. ๏ƒ˜ Response Time :Particularly in realtime applications when computer system must respond quickly to some external extent. ๏ƒ˜ Total cost of Ownership:Particularly if computer is dedicated to one particular algorithm.