403: Algorithms and Data Structures Asymptotic Notation Fall 2016 - - PowerPoint PPT Presentation

403 algorithms and data structures asymptotic notation
SMART_READER_LITE
LIVE PREVIEW

403: Algorithms and Data Structures Asymptotic Notation Fall 2016 - - PowerPoint PPT Presentation

403: Algorithms and Data Structures Asymptotic Notation Fall 2016 UAlbany Computer Science Assumptions All functions take non-negative values All functions are defined on non-negative integers Only such functions will be of


slide-1
SLIDE 1

403: Algorithms and Data Structures Asymptotic Notation

Fall 2016 UAlbany Computer Science

slide-2
SLIDE 2

Assumptions

  • All functions take non-negative values
  • All functions are defined on non-negative

integers

  • Only such functions will be of interest
slide-3
SLIDE 3

Overview of Asymptotic Notation

slide-4
SLIDE 4

Overview of Asymptotic Notation

  • o() is used to denote O() bound that is not asymptotically tight
  • E.g. we can verify that 2n = O(n2), but it is not tight
  • We can denote this as 2n = o(n2)
  • …however 2n2 is not o(n2)
slide-5
SLIDE 5

Properties and Relations

slide-6
SLIDE 6

Read the rest of Chapter 3

  • Comparing the growth of common functions
slide-7
SLIDE 7

Announcements

  • Read through Chapter 3
  • HW1 solutions available on BB