When the size of a program's input is increased by 2, the runtime increases by 8. The program is:

  • A: O(n)
  • B: O(n log n)
  • C: O(n2)
  • D: O(n3)
  • E: O(2n)

    Answer

    Prev    Next    Page+10