2 ms·
ITYM "O(1)". "O(0)" is pretty much meaningless.
by jwilk 10y ago
ITYM "O(1)".
"O(0)" is pretty much meaningless.
- gravypod 10y agoI mean O(0) because no operation occured. The only operation that will occur is parsing the data which is not the problem specified. When looking at the loop, and just the loop, O(0) is the correct answer for this.