Hi all,
some times i got the idea recursively and make memorization but in this problem the memorization table is very huge so i need to compress the table. and i have no idea about compressing the table with recursion i only can make it if it's iterative.
but i can't convert recursive to iterative
so I want to ask two questions :- - is there any steps to convert from recursive to iterative ?
- is any recursive method can be converted to iterative ?
to understand what i mean this is an example
converting recursive to iterative then compress table see ahmed.abdrabo
comments in this link CLICK HERE.
thanks for help.