Wrong complexity for question


#1

This loop never ends right? Since the condition is checking for n>0 and not n>1


#2

It should be i>1.
The question is wrong


#3

N = 10,
i = N,
loop 1) i > 0? Yes => i = 10/2 = 5
loop 2) i > 0? Yes => i = 5/2 = 2
loop 3) i > 0? Yes => i = 2/2 = 1
loop 4) i > 0? Yes => i = 1/2 = 0
loop 5) i > 0? No!