1_design_and_analysis_of_algorithms-ch-1.pptx

  • Uploaded by: Teena Alugula
  • 0
  • 0
  • February 2021
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 1_design_and_analysis_of_algorithms-ch-1.pptx as PDF for free.

More details

  • Words: 437
  • Pages: 31
Loading documents preview...
Design and Analysis of Algorithms S. Sridhar

Chapter 1 Introduction to Algorithms

© Oxford University Press 2014. All rights reserved.

Chapter Objectives

© Oxford University Press 2014. All rights reserved.

What is an algorithm? • An algorithm is a set of instructions to solve a given problem.

© Oxford University Press 2014. All rights reserved.

Some Examples of Algorithms in daily life

© Oxford University Press 2014. All rights reserved.

A Typical Algorithm Environment

© Oxford University Press 2014. All rights reserved.

Characteristics of an Algorithm

© Oxford University Press 2014. All rights reserved.

Characteristics of an Algorithm

© Oxford University Press 2014. All rights reserved.

Need for Efficiency • Time • Space

© Oxford University Press 2014. All rights reserved.

Stages of Problem Solving • • • • • • •

Understanding the problem Planning an algorithm Designing an algorithm Validating and verifying an algorithm Analyzing an algorithm Implementing an algorithm Performing empirical analysis (if necessary)

© Oxford University Press 2014. All rights reserved.

Computation Model Need of Computation model

© Oxford University Press 2014. All rights reserved.

Data Organization

© Oxford University Press 2014. All rights reserved.

Algorithm Design

© Oxford University Press 2014. All rights reserved.

Algorithm Specification Communication to programmer is called algorithm specification 1. Natural Language 2. Pseudocode 3. Programming language

© Oxford University Press 2014. All rights reserved.

Validating and Verification

© Oxford University Press 2014. All rights reserved.

Analysis of Algorithms

© Oxford University Press 2014. All rights reserved.

Time and Space Complexity

© Oxford University Press 2014. All rights reserved.

Comparison of Algorithms

© Oxford University Press 2014. All rights reserved.

Empirical and Post martem Analysis

© Oxford University Press 2014. All rights reserved.

Classification of Algorithms

© Oxford University Press 2014. All rights reserved.

Recursive Algorithms

© Oxford University Press 2014. All rights reserved.

Parallel and Distributed Algorithms

© Oxford University Press 2014. All rights reserved.

Exact Vs Approximation Algorithms

© Oxford University Press 2014. All rights reserved.

Deterministic Vs randomized Algorithms

© Oxford University Press 2014. All rights reserved.

Based on Design Example Greedy, dynamic programming, Brute force Techniques.

© Oxford University Press 2014. All rights reserved.

Based on Specialization     

General Algorithms Example; Searching and Sorting Domain Specific Algorithms String Algorithms Graph Algorithms

© Oxford University Press 2014. All rights reserved.

Some Interesting Problems

© Oxford University Press 2014. All rights reserved.

Based on Tractability

© Oxford University Press 2014. All rights reserved.

Example of Tractability

© Oxford University Press 2014. All rights reserved.

Glossary

© Oxford University Press 2014. All rights reserved.

Glossary

© Oxford University Press 2014. All rights reserved.

More Documents from "Teena Alugula"