Big O complexity in recursive method

前端 未结 0 1577
隐瞒了意图╮
隐瞒了意图╮ 2021-02-03 23:45

For f(n) = f(n/2) + 1 where n is power of 2 (n >= 2),

with f(1) = 1,

Is it going to be

f(n) =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题