Consider the following recursive function which is used by dynamic programming:
T(n)= 0 ;if n<1
= 1;if n=1
=T(n-1)+T(n-2)+1 ;if n>1
Assume for every function call T(i) it checks the table first, if its value is already computed it retrieves the value from table. Otherwise it calls a recursive function call to compute its return value. Whenever a function
computes for first time its return value is stored in the table to avoid the redundant function calls. If system allocated 48 bytes for stack allocation, then the maximum value of ‘n’ so that overflow cannot occur ________. (Assume system allocate 4 byte to each stack entry which is sufficient for storing required data.)