top down approaxh always takes extra space of stack as compare to botoom up approach so why we use top down approach
Dynamic programming
@deepakjumani09
You are right
Bottom up is the best way for DP in every sense
And thats why preferred way to implement algorithms
Top Down approach is just like another way of looking at a problem that’s all
You should just know all ways to make a problem work so Top Down is also discussed
If your doubt is resolved please close it
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.