Skip to main content
title reflects the key part of the question
Link

Time complexity of min() and max() on a list of constant size?

Question Protected by CommunityBot
Became Hot Network Question
edited title
Link
anshur
  • 145
  • 1
  • 1
  • 3

Min Time complexity of min() and max() question?

Source Link
anshur
  • 145
  • 1
  • 1
  • 3

Min() and max() question

If you use min() or max() on a constant sized list, even in a loop, is the time complexity O(1)?