What is the solution of given recurrence relation?

T(n) = T(n/2) + c when n > 1 and T(n) = 1 when n = 1 where ‘c’ is a constant.

1
O(n)
2
O(n logn)
3
O(logn)
4
O(n2)
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation