Make the best use of last 5 months to CAT 2024 🥳 Upto 70% Off today on Cracku courses. Enroll now
Edit MetaData
The time complexity of the following C function is (assume n > Q):int recursive (int n) {if (n == 1)return (1);elsereturn (recursive (n -1) + recursive (n -1));}
$$O(n)$$
$$O(n \log n)$$
$$O(n^{2})$$
$$O(2^{n})$$
Create a FREE account and get:
Login to your Cracku account.
Follow us on
Incase of any issue contact support@cracku.in
Boost your Prep!
Quick, easy and effective revision