DP Fundamentals

Recurrences, base cases, and optimizations.


1. DP is useful when a problem has:
2. Climbing stairs recurrence for dp[i]?
3. For Coin Change (min coins), initialize dp with:
4. House Robber chooses max of:
5. Space optimization that keeps only the last few states is called:
6. In the O(n log n) LIS algorithm, what does the `tails` array represent?