There are two fundamental strategy to solve a problem :
- Top-Down Approach (Recursion)
- Bottom-Up Approach (Iteration)
I am kind of Iteration type of a guy. I find it more easier to implement than Recursion. But maybe because I have always solved most of the problems using Bottom-Up strategy.
So I was wondering, what are the advantages as well as disadvantages one has over the other and vice versa ?
Also, is it possible to solve every question using both the strategy ?