Google interview question

i had a question for the code i wrote, what was the time complesity for the algorithm.

Interview Answer

Anonymous

25 Nov 2024

i said O(n)