Algorithm Analysis Exercises

  Next >
  1. Properties of Growth-rate Functions
  2. Big-Oh:
    1. Determine the Big-Oh of the growth functions below:
      1. 5N + 4
      2. 9N2+ 8N - 7
      3. 2 log N
      4. 3N log 4N
      5. 6*27N
      6. 3N! + 1/2*N3
      7. 42
      8. 2*N3 + 999 * N2 + 123456789*N
      Stuck? Plug in some numbers to get a better idea.
    2. Rank the the preceding growth functions in ascending order based on their Big-Oh
  3. Common Growth Rates:
    Big-OhNamesExamples
     
     
     
     
     
     
     
     
  4. Discuss with your neighbor(s) the Big-Ohs of Sequential Search and Binary Search