Skip to main content

CS303: Algorithms

Page path
  • Home /
  • Courses /
  • Course Catalog /
  • Computer Science /
  • CS303: Algorithms /
  • Unit 2: Introduction to Analysis of Algorithms
Back to course 'CS303: Algorithms'
  • Unit 2: Introduction to Analysis of Algorithms

    In this unit, we explore how we can express an algorithm's efficiency as a function of its input size. The order of growth of running time of an algorithm gives a simple characterization of algorithm's efficiency and allows us to relate performance of alternative algorithms. Asymptotic analysis is based on the idea that as the problem size grows, the complexity will eventually settle down to a simple proportionality to some known function. This idea is incorporated in the "Big Oh", "Big Omega", and "Big Theta" notations for asymptotic performance. These notations are useful for expressing the complexity of an algorithm without getting lost in unnecessary detail.

    Completing this unit should take you approximately 9 hours.

    • Unit 2 Learning Outcomes Page
    • 2.1: Introduction to Algorithms

      • Massachusetts Institute of Technology: Dr. Erik Demaine's "Introduction to Algorithms" Page

        Watch this video to learn about the basics of the algorithm.

    • 2.2: Asymptotic Analysis

      • University of California, Berkeley: Dr. Jonathan Shewchuk's "Asymptotic Analysis" Page

        Watch this video to learn about the ideas behind the use of asymptotic analysis in algorithms. 

    • 2.3: Introduction to Analysis of Algorithms

      •  University of California, Berkeley: S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani's "Algorithms: Prologue" URL

        Read the Prologue of S. Dasgupta, C.H. Papadimitriou, and U.V. Vazirani's book Algorithms.

    • 2.4: Master Theorem

      •  Wikipedia: "Master Theorem" URL

        Read this article to learn about the use of Master Theorem in analyzing recursive problems.

      •  Introduction to Analysis of Algorithms Assignment URL

        Complete all questions in this assignment. There are six questions listed in two parts. The first part requires solving the problems using the Master Theorem discussed in the lectures. The second part requires solving for complexity of the algorithms using the first principles. You can check your answers against the Answer Key.

Navigation

Art History
Biology
Business Administration
Chemistry
Communication
Economics
English
History
Mathematics

Creative Commons License
© Saylor Academy 2010-2018 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See www.saylor.org/open/licensinginformation for detailed licensing information.

Saylor Academy and Saylor.org® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

Terms of Use | Privacy Policy