its not a recursive prblm so can we use top down approach here
Max subarray sum
@deepakjumani09
bottom up approach explained in the video is the best suited here, so you should use this one itself, but if you want to and are able to do it using top-down, then you can give it a try.
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.