[Solved] What is the time complexity of the following code snippet – Assume x is a global variable and “statement” takes O(n) time?

[ad_1]

What is the time complexity of the following code snippet – Assume x is a global variable and “statement” takes O(n) time?

[ad_2]

solved What is the time complexity of the following code snippet – Assume x is a global variable and “statement” takes O(n) time?