3 ms·
O(1) - constant time. The answer is 29. I just happen to know that. I think you need an 'n' in there before it is meaningful to ask about the runtime.
by brucedawson 7y ago
O(1) - constant time. The answer is 29. I just happen to know that.
I think you need an 'n' in there before it is meaningful to ask about the runtime.