Closed
Description
Wording of complexity requirements is inconsistent in a couple of ways.
Noun-phrase or sentence?
"Exactly N applications of f
."
vs.
"Applies f
exactly N times.`"
vs.
"It takes approximately N comparisons."
The first form seems to be the most common.
Time or space complexity, or both?
It is not always made explicit whether the requirement is referring to time or space complexity, or both.
"Linear time." vs. "Linear."
"Constant time." vs. "Constant."
17.5.1.4 says that the Complexity: element specifies "the time and/or space complexity of the function", so being explicit about this would be good.
N log N vs. N log(N)
This is minor, but N \log(N)
, N \log N
and N \log{N}
are all used.