Algorithms as a Technology




CS146

Chris Pollett

Jan 29, 2014

Outline

Introduction

Constraints on Algorithms

Efficiency

Fast versus Slow Machine

Class Problem

For each of the following functions `f(n)`, and times `t`, determine the largest size of `n` of a problem that can be solved in time `t`, assuming that the algorithm to solve the problem take `f(n)` microseconds.

1 second1 hour1 day
`log n`
`n`
`n^2`
`2^n`

Algorithms and other technologies

Example Application Level Algorithms

Lower Levels Require Algorithms too