Study
CSC-401 route
Unit 1 · Lesson 2 of 4 18 min

Input Size and the Basic Operation

You cannot measure speed in seconds, so measure something else and count it.

What this unit covers

Unit 1: Foundations of Algorithm Analysis

  1. 1 Definition of an AlgorithmA finite, unambiguous recipe that always produces the right answer, and the awkward questions that definition raises. · 17 min
  2. 2 Input Size and the Basic OperationYou cannot measure speed in seconds, so measure something else and count it. · 18 min
  3. 3 Orders of Growth and Asymptotic NotationThree symbols, four quantifiers each, and the reason a factor of a thousand does not matter. · 20 min
  4. 4 Analysing Non-Recursive AlgorithmsA loop is a sum, a nested loop is a product, and the rest is arithmetic. · 18 min