Processing math: 100%

Suppose that it takes 3109 seconds to examine each key in a list. If there are n keys and we search through them in order until we find the right one, find

  1. the worst-case complexity

Worst case is n3109 seconds

  1. the average-case complexity

Average case is n+123109 seconds