Back to the 2022 paper

Module 1: Introduction

20227m

Solve the following recurrence by successive substitution method:
f(1)=1if n=1f(1) = 1 \quad \text{if } n=1
f(n)=3f(n/2)+6if n>1f(n) = 3f(n/2) + 6 \quad \text{if } n > 1

Similar questions