Why are constants ignored in Big-O analysis?

  • AThey are irrelevant for large input sizes
  • BThey are always zero
  • CThey depend on memory
  • DThey improve performance
Show answerHide answer

Correct answer A

Big-O notation measures the growth rate of an algorithm as input size increases. Constants do not affect growth rate for large inputs, so they are ignored. For example, O(3n) is simplified to O(n) in Big-O terms. This helps focus on scalability rather than exact runtime.