148 views
0 votes
0 votes

consider the following nested recursion.

h(n)={ 0 if n=0

          n if n>4

         h(n+h(2n)) if n<=4}

What is the value of h(2) ?


The given ans is 12 I am getting 14...

1 Answer

No related questions found