0
How many times will be the statement be executed?
https://code.sololearn.com/crQyCq8Wsy4w/?ref=app I am getting log(n) + 1 but answer is log(n)
4 odpowiedzi
+ 1
The code will not compile, type of variable <p> and <i> is unknown, also <n> is undeclared.
+ 1
Just assume all the necessary things are present
+ 1
I don't know how many times the code will run since variables aren't declared.
+ 1
Just assume it a pseudocode written to understand a topic and not a full fledged prohram