Learn AP Comp Sci

Problem of the Day

Wednesday, June 3, 2026


Problem:

A computer model of cell growth over time is developed, with the data produced by the model given here.

Time (days)Cell population count
01
12
24
38
416
532
664
7128

This model demonstrates what kind of function?

  1. linear increase
  2. linear decrease
  3. quadratic increase
  4. exponential increase
  5. exponential decay

Show solution:

The correct answer is d. The increase in the population is going up as a function of the power of time, which corresponds to an exponential increase.

If this were an algorithm and we were looking at performance time as a function of input size, the algorithm would have a Big-O performance of O(2n).