In Romanian Bacalaureat problems, a frequency array (vector de frecvență) is commonly used to count occurrences of values. If input integers are known to fall in the range [0, 999], what is the time complexity of checking the frequency of any specific value x?
- AO(n)
- BO(log n)
- CO(1)
- DO(n²)