Dynamic Programming approach

I have been trying out various DP problems on LC for the past few weeks. I have noticed that the recursive solutions come to me more naturally than an iterative top-down or bottom-up approach. Is it fine or something that I should work on?

Are there some clear advantages of iterative method other than the fact that it takes up lesser overhead space?

Comments (0)