Design & Analysis of Algorithms (CS-3444) : Husnain Iqbal
Design & Analysis of Algorithms (CS-3444) : Husnain Iqbal
(CS-3444 )
Husnain Iqbal
Agenda
• Textbook and Other Resources
• Tentative Grading Distribution and Policy
• Introduction to Algorithms:
• Why we study Algorithms?
• What is an Algorithm?
• Time Complexity & Space Complexity
• Various types of Time Complexity
• How to calculate Running Time of an Algorithm?
• Various Functions in asymptotic notation
Textbook and Other Resources
• Text Book:
1. T. H. Cormen, C. E. Leiserson and R. L. Rivest, Introduction to Algorithms, (3rd
Edition)
• Other Resources:
1. Algorithms –Sanjoy Das Gupta, Christos Papadimitriou, Umesh Vazirani
2. Internet Resources
Tentative Grading
Distribution and Policy
Why we study “Algorithms”?
• Because they are applied to a vast variety of fields in Computer Science
including:
• Operating Systems
• Artificial Intelligence
• Machine Learning
• Data Science
• Data Mining
• Information Retrieval etc.
What is an Algorithm?
• Definition:
“A step by step procedure to solve a problem” Divide x by y
• Example: Calculate the x % y; where x and y are
user-inputs Store answer and the
remainder values