...
/Is Plain Recursion Good Enough?
Is Plain Recursion Good Enough?
This lesson will argue for using dynamic programming instead of recursion to solve complex problems.
We'll cover the following...
Recursion = brute force
We saw some examples of recursion earlier in this chapter. One recurring theme (pun intended) in all those problems was high time complexity. Why was that the case? Because all those problems required a brute force ...