[Solved] What is the running time of this algorithm? [closed]


Clearly, O(n) time-complexity, as i iterates from 0 to n-1.

solved What is the running time of this algorithm? [closed]