321 views
0 votes
0 votes
$I=$Iterative Program

$R=$ Recursive Program

$(A)$ For every program belonging to class $I$, there is an equivalent program to class $R.$

$(B)$ Every program in $R$ uses strictly more stack space compared to equivalent program in $I.$

Among $(A)$ and $(B)$ which one is correct?

1 Answer

Related questions

0 votes
0 votes
1 answer
1
tishhaagrawal asked Dec 16, 2023
345 views
Below is my approach to solving this question, can anyone please explain if I am doing it the right way?Let X = #free slotssince, m =7 and n = 3So, $4 \leqslant x\leqsla...